pub struct PaymentagentWithdrawRequest {
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_loginid: String,
pub paymentagent_withdraw: i64,
pub req_id: Option<i64>,
pub verification_code: String,
}
Expand description
Initiate a withdrawal to an approved Payment Agent.
Fields§
§amount: String
The amount to withdraw to the payment agent.\n
currency: String
The currency code.\n
description: Option<String>
[Optional] Remarks about the withdraw. Only letters, numbers, space, period, comma, - ’ are allowed.\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_loginid: String
The payment agent loginid received from the paymentagent_list
call.\n
paymentagent_withdraw: i64
Must be 1
\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
verification_code: String
Email verification code (received from a verify_email
call, which must be done first)\n
Trait Implementations§
Source§impl Clone for PaymentagentWithdrawRequest
impl Clone for PaymentagentWithdrawRequest
Source§fn clone(&self) -> PaymentagentWithdrawRequest
fn clone(&self) -> PaymentagentWithdrawRequest
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 PaymentagentWithdrawRequest
impl Debug for PaymentagentWithdrawRequest
Source§impl<'de> Deserialize<'de> for PaymentagentWithdrawRequest
impl<'de> Deserialize<'de> for PaymentagentWithdrawRequest
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 PaymentagentWithdrawRequest
impl RefUnwindSafe for PaymentagentWithdrawRequest
impl Send for PaymentagentWithdrawRequest
impl Sync for PaymentagentWithdrawRequest
impl Unpin for PaymentagentWithdrawRequest
impl UnwindSafe for PaymentagentWithdrawRequest
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