pub struct PaymentagentTransferRequest {
pub amount: String,
pub currency: String,
pub description: Option<String>,
pub dry_run: Option<DryRun>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub paymentagent_transfer: i64,
pub req_id: Option<i64>,
pub transfer_to: String,
}
Expand description
Payment Agent Transfer - this call is available only to accounts that are approved Payment Agents.
Fields§
§amount: String
The amount to transfer.\n
currency: String
Currency code.\n
description: Option<String>
[Optional] Remarks about the transfer.\n
dry_run: Option<DryRun>
[Optional] If set to 1
, just do validation.\n
loginid: Option<String>
[Optional] The login id of the user. Mandatory when multiple tokens were provided during authorize.\n
passthrough: Option<Value>
[Optional] Used to pass data through the websocket, which may be retrieved via the echo_req
output field.\n
paymentagent_transfer: i64
Must be 1
\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
transfer_to: String
The loginid of the recipient account.\n
Trait Implementations§
Source§impl Clone for PaymentagentTransferRequest
impl Clone for PaymentagentTransferRequest
Source§fn clone(&self) -> PaymentagentTransferRequest
fn clone(&self) -> PaymentagentTransferRequest
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PaymentagentTransferRequest
impl Debug for PaymentagentTransferRequest
Source§impl<'de> Deserialize<'de> for PaymentagentTransferRequest
impl<'de> Deserialize<'de> for PaymentagentTransferRequest
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PaymentagentTransferRequest
impl RefUnwindSafe for PaymentagentTransferRequest
impl Send for PaymentagentTransferRequest
impl Sync for PaymentagentTransferRequest
impl Unpin for PaymentagentTransferRequest
impl UnwindSafe for PaymentagentTransferRequest
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more