pub struct CreateSetupIntentPaymentMethodOptions {
pub acss_debit: Option<CreateSetupIntentPaymentMethodOptionsAcssDebit>,
pub blik: Option<CreateSetupIntentPaymentMethodOptionsBlik>,
pub card: Option<CreateSetupIntentPaymentMethodOptionsCard>,
pub link: Option<CreateSetupIntentPaymentMethodOptionsLink>,
pub sepa_debit: Option<CreateSetupIntentPaymentMethodOptionsSepaDebit>,
pub us_bank_account: Option<CreateSetupIntentPaymentMethodOptionsUsBankAccount>,
}Fields§
§acss_debit: Option<CreateSetupIntentPaymentMethodOptionsAcssDebit>If this is a acss_debit SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
blik: Option<CreateSetupIntentPaymentMethodOptionsBlik>If this is a blik PaymentMethod, this hash contains details about the BLIK payment method.
card: Option<CreateSetupIntentPaymentMethodOptionsCard>Configuration for any card setup attempted on this SetupIntent.
link: Option<CreateSetupIntentPaymentMethodOptionsLink>If this is a link PaymentMethod, this sub-hash contains details about the Link payment method options.
sepa_debit: Option<CreateSetupIntentPaymentMethodOptionsSepaDebit>If this is a sepa_debit SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
us_bank_account: Option<CreateSetupIntentPaymentMethodOptionsUsBankAccount>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 CreateSetupIntentPaymentMethodOptions
impl Clone for CreateSetupIntentPaymentMethodOptions
source§fn clone(&self) -> CreateSetupIntentPaymentMethodOptions
fn clone(&self) -> CreateSetupIntentPaymentMethodOptions
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 CreateSetupIntentPaymentMethodOptions
impl Default for CreateSetupIntentPaymentMethodOptions
source§fn default() -> CreateSetupIntentPaymentMethodOptions
fn default() -> CreateSetupIntentPaymentMethodOptions
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for CreateSetupIntentPaymentMethodOptions
impl<'de> Deserialize<'de> for CreateSetupIntentPaymentMethodOptions
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