pub struct PaymentMethodsRequest {
pub country: Option<String>,
pub loginid: Option<String>,
pub passthrough: Option<Value>,
pub payment_methods: Value,
pub req_id: Option<i64>,
}
Expand description
Will return a list payment methods available for the given country. If the request is authenticated the client’s residence country will be used.
Fields§
§country: Option<String>
[Optional] 2-letter country code (ISO standard).\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
payment_methods: Value
Field ‘payment_methods’ mapped to Value due to complexity/potential issues.\n
req_id: Option<i64>
[Optional] Used to map request to response.\n
Trait Implementations§
Source§impl Clone for PaymentMethodsRequest
impl Clone for PaymentMethodsRequest
Source§fn clone(&self) -> PaymentMethodsRequest
fn clone(&self) -> PaymentMethodsRequest
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 PaymentMethodsRequest
impl Debug for PaymentMethodsRequest
Source§impl<'de> Deserialize<'de> for PaymentMethodsRequest
impl<'de> Deserialize<'de> for PaymentMethodsRequest
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 PaymentMethodsRequest
impl RefUnwindSafe for PaymentMethodsRequest
impl Send for PaymentMethodsRequest
impl Sync for PaymentMethodsRequest
impl Unpin for PaymentMethodsRequest
impl UnwindSafe for PaymentMethodsRequest
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