pub struct UpdateSetupIntentPaymentMethodOptions {
pub acss_debit: Option<UpdateSetupIntentPaymentMethodOptionsAcssDebit>,
pub blik: Option<UpdateSetupIntentPaymentMethodOptionsBlik>,
pub card: Option<UpdateSetupIntentPaymentMethodOptionsCard>,
pub link: Option<UpdateSetupIntentPaymentMethodOptionsLink>,
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.
blik: Option<UpdateSetupIntentPaymentMethodOptionsBlik>
If this is a blik
PaymentMethod, this hash contains details about the BLIK payment method.
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.
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