pub struct MerchantPaymentMethodTokenApiResponse {
pub created_at: Option<String>,
pub deleted_at: Option<String>,
pub customer_id: Option<String>,
pub deleted: Option<bool>,
pub payment_method_type: Option<String>,
pub analytics_id: Option<String>,
pub payment_method_data: Option<Value>,
pub default: Option<bool>,
pub description: Option<String>,
pub token: Option<String>,
pub token_type: Option<String>,
}
Fields§
§created_at: Option<String>
Creation date & time of the object (UTC)
deleted_at: Option<String>
Date & time when this object was revoked. (UTC)
customer_id: Option<String>
The ID representing the customer
deleted: Option<bool>
Whether or not this object has been revoked.
payment_method_type: Option<String>
Payment method type
analytics_id: Option<String>
Unique analytics identifier corresponding to a payment method
payment_method_data: Option<Value>
Payment method data
default: Option<bool>
Whether or not this payment method is the default
description: Option<String>
A friendly description given by the user
token: Option<String>
The vaulted payment method token.
token_type: Option<String>
MULTI_USE
a vaulted token that can be re-used with subsequent payments
Trait Implementations§
Source§impl<'de> Deserialize<'de> for MerchantPaymentMethodTokenApiResponse
impl<'de> Deserialize<'de> for MerchantPaymentMethodTokenApiResponse
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 MerchantPaymentMethodTokenApiResponse
impl RefUnwindSafe for MerchantPaymentMethodTokenApiResponse
impl Send for MerchantPaymentMethodTokenApiResponse
impl Sync for MerchantPaymentMethodTokenApiResponse
impl Unpin for MerchantPaymentMethodTokenApiResponse
impl UnwindSafe for MerchantPaymentMethodTokenApiResponse
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