pub struct PaymentMethodDetailsCardWallet {
pub amex_express_checkout: Option<PaymentMethodDetailsCardWalletAmexExpressCheckout>,
pub apple_pay: Option<PaymentMethodDetailsCardWalletApplePay>,
pub dynamic_last4: Option<String>,
pub google_pay: Option<PaymentMethodDetailsCardWalletGooglePay>,
pub link: Option<PaymentMethodDetailsCardWalletLink>,
pub masterpass: Option<PaymentMethodDetailsCardWalletMasterpass>,
pub samsung_pay: Option<PaymentMethodDetailsCardWalletSamsungPay>,
pub type_: PaymentMethodDetailsCardWalletType,
pub visa_checkout: Option<PaymentMethodDetailsCardWalletVisaCheckout>,
}
Fields§
§amex_express_checkout: Option<PaymentMethodDetailsCardWalletAmexExpressCheckout>
§apple_pay: Option<PaymentMethodDetailsCardWalletApplePay>
§dynamic_last4: Option<String>
(For tokenized numbers only.) The last four digits of the device account number.
google_pay: Option<PaymentMethodDetailsCardWalletGooglePay>
§link: Option<PaymentMethodDetailsCardWalletLink>
§masterpass: Option<PaymentMethodDetailsCardWalletMasterpass>
§samsung_pay: Option<PaymentMethodDetailsCardWalletSamsungPay>
§type_: PaymentMethodDetailsCardWalletType
The type of the card wallet, one of amex_express_checkout
, apple_pay
, google_pay
, masterpass
, samsung_pay
, visa_checkout
, or link
.
An additional hash is included on the Wallet subhash with a name matching this value. It contains additional information specific to the card wallet type.
visa_checkout: Option<PaymentMethodDetailsCardWalletVisaCheckout>
Trait Implementations§
source§impl Clone for PaymentMethodDetailsCardWallet
impl Clone for PaymentMethodDetailsCardWallet
source§fn clone(&self) -> PaymentMethodDetailsCardWallet
fn clone(&self) -> PaymentMethodDetailsCardWallet
Returns a copy 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 Default for PaymentMethodDetailsCardWallet
impl Default for PaymentMethodDetailsCardWallet
source§fn default() -> PaymentMethodDetailsCardWallet
fn default() -> PaymentMethodDetailsCardWallet
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PaymentMethodDetailsCardWallet
impl<'de> Deserialize<'de> for PaymentMethodDetailsCardWallet
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 RefUnwindSafe for PaymentMethodDetailsCardWallet
impl Send for PaymentMethodDetailsCardWallet
impl Sync for PaymentMethodDetailsCardWallet
impl Unpin for PaymentMethodDetailsCardWallet
impl UnwindSafe for PaymentMethodDetailsCardWallet
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