pub struct UpdateSetupIntentPaymentMethodOptions {
pub acss_debit: Option<UpdateSetupIntentPaymentMethodOptionsAcssDebit>,
pub card: Option<UpdateSetupIntentPaymentMethodOptionsCard>,
pub link: Option<UpdateSetupIntentPaymentMethodOptionsLink>,
pub paypal: Option<UpdateSetupIntentPaymentMethodOptionsPaypal>,
pub sepa_debit: Option<UpdateSetupIntentPaymentMethodOptionsSepaDebit>,
pub us_bank_account: Option<UpdateSetupIntentPaymentMethodOptionsUsBankAccount>,
}
Fields§
§acss_debit: Option<UpdateSetupIntentPaymentMethodOptionsAcssDebit>
If this is a acss_debit
SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
card: Option<UpdateSetupIntentPaymentMethodOptionsCard>
Configuration for any card setup attempted on this SetupIntent.
link: Option<UpdateSetupIntentPaymentMethodOptionsLink>
If this is a link
PaymentMethod, this sub-hash contains details about the Link payment method options.
paypal: Option<UpdateSetupIntentPaymentMethodOptionsPaypal>
If this is a paypal
PaymentMethod, this sub-hash contains details about the PayPal payment method options.
sepa_debit: Option<UpdateSetupIntentPaymentMethodOptionsSepaDebit>
If this is a sepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
us_bank_account: Option<UpdateSetupIntentPaymentMethodOptionsUsBankAccount>
If this is a us_bank_account
SetupIntent, this sub-hash contains details about the US bank account payment method options.
Trait Implementations§
source§impl Clone for UpdateSetupIntentPaymentMethodOptions
impl Clone for UpdateSetupIntentPaymentMethodOptions
source§fn clone(&self) -> UpdateSetupIntentPaymentMethodOptions
fn clone(&self) -> UpdateSetupIntentPaymentMethodOptions
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 UpdateSetupIntentPaymentMethodOptions
impl Default for UpdateSetupIntentPaymentMethodOptions
source§fn default() -> UpdateSetupIntentPaymentMethodOptions
fn default() -> UpdateSetupIntentPaymentMethodOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateSetupIntentPaymentMethodOptions
impl<'de> Deserialize<'de> for UpdateSetupIntentPaymentMethodOptions
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 UpdateSetupIntentPaymentMethodOptions
impl Send for UpdateSetupIntentPaymentMethodOptions
impl Sync for UpdateSetupIntentPaymentMethodOptions
impl Unpin for UpdateSetupIntentPaymentMethodOptions
impl UnwindSafe for UpdateSetupIntentPaymentMethodOptions
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