Struct stripe::WalletDetails [−][src]
pub struct WalletDetails {
pub amex_express_checkout: Option<Box<WalletAmexExpressCheckout>>,
pub apple_pay: Option<Box<WalletApplePay>>,
pub dynamic_last4: Option<Box<String>>,
pub google_pay: Option<Box<WalletGooglePay>>,
pub masterpass: Option<Box<WalletMasterpass>>,
pub samsung_pay: Option<Box<WalletSamsungPay>>,
pub type_: WalletDetailsType,
pub visa_checkout: Option<Box<WalletVisaCheckout>>,
}
Fields
amex_express_checkout: Option<Box<WalletAmexExpressCheckout>>
apple_pay: Option<Box<WalletApplePay>>
dynamic_last4: Option<Box<String>>
(For tokenized numbers only.) The last four digits of the device account number.
google_pay: Option<Box<WalletGooglePay>>
masterpass: Option<Box<WalletMasterpass>>
samsung_pay: Option<Box<WalletSamsungPay>>
type_: WalletDetailsType
The type of the card wallet, one of amex_express_checkout
, apple_pay
, google_pay
, masterpass
, samsung_pay
, or visa_checkout
.
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<Box<WalletVisaCheckout>>
Trait Implementations
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 WalletDetails
impl Send for WalletDetails
impl Sync for WalletDetails
impl Unpin for WalletDetails
impl UnwindSafe for WalletDetails
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more