pub struct PaymentResponsePaymentMethodOptionsApiSchema {
pub payment_method_token: Option<String>,
pub payment_method_type: Option<String>,
pub is_vaulted: Option<bool>,
pub descriptor: Option<String>,
pub analytics_id: Option<String>,
pub payment_method_data: Option<Value>,
pub three_d_secure_authentication: Option<ThreeDSecureAuthenticationApiSchema>,
}
Fields§
§payment_method_token: Option<String>
The payment method token used to authorize the transaction.
payment_method_type: Option<String>
Payment method type
is_vaulted: Option<bool>
Whether the payment method token represents a vaulted payment method and can be used for future payments.
descriptor: Option<String>
The description of the payment, as it would typically appear on a bank statement.
analytics_id: Option<String>
Unique analytics identifier corresponding to a payment method
payment_method_data: Option<Value>
Payment method data
three_d_secure_authentication: Option<ThreeDSecureAuthenticationApiSchema>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for PaymentResponsePaymentMethodOptionsApiSchema
impl<'de> Deserialize<'de> for PaymentResponsePaymentMethodOptionsApiSchema
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 PaymentResponsePaymentMethodOptionsApiSchema
impl RefUnwindSafe for PaymentResponsePaymentMethodOptionsApiSchema
impl Send for PaymentResponsePaymentMethodOptionsApiSchema
impl Sync for PaymentResponsePaymentMethodOptionsApiSchema
impl Unpin for PaymentResponsePaymentMethodOptionsApiSchema
impl UnwindSafe for PaymentResponsePaymentMethodOptionsApiSchema
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