pub struct PaymentagentListRequest {
pub currency: Option<String>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub paymentagent_list: String,
pub req_id: Option<i64>,
}
Expand description
Will return a list of Payment Agents for a given country for a given currency. Payment agents allow users to deposit and withdraw funds using local payment methods that might not be available via the main website’s cashier system.
Fields§
§currency: Option<String>
[Optional] If specified, only payment agents that supports that currency will be returned (obtained from payout_currencies
call).\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_list: String
Client’s 2-letter country code (obtained from residence_list
call).\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for PaymentagentListRequest
impl Clone for PaymentagentListRequest
Source§fn clone(&self) -> PaymentagentListRequest
fn clone(&self) -> PaymentagentListRequest
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 PaymentagentListRequest
impl Debug for PaymentagentListRequest
Source§impl<'de> Deserialize<'de> for PaymentagentListRequest
impl<'de> Deserialize<'de> for PaymentagentListRequest
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 PaymentagentListRequest
impl RefUnwindSafe for PaymentagentListRequest
impl Send for PaymentagentListRequest
impl Sync for PaymentagentListRequest
impl Unpin for PaymentagentListRequest
impl UnwindSafe for PaymentagentListRequest
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