Struct paypal_rs::orders::PaymentMethod [−][src]
pub struct PaymentMethod { pub payer_selected: Option<String>, pub payee_preferred: Option<PayeePreferred>, }
Expand description
A payment method.
Fields
payer_selected: Option<String>
The customer-selected payment method on the merchant site.
payee_preferred: Option<PayeePreferred>
The merchant-preferred payment sources.
Trait Implementations
Returns the “default value” for a type. Read more
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 RefUnwindSafe for PaymentMethod
impl Send for PaymentMethod
impl Sync for PaymentMethod
impl Unpin for PaymentMethod
impl UnwindSafe for PaymentMethod