pub struct CreateSetupIntentPaymentMethodOptions {
pub acss_debit: Option<CreateSetupIntentPaymentMethodOptionsAcssDebit>,
pub amazon_pay: Option<Value>,
pub bacs_debit: Option<CreateSetupIntentPaymentMethodOptionsBacsDebit>,
pub card: Option<CreateSetupIntentPaymentMethodOptionsCard>,
pub card_present: Option<Value>,
pub klarna: Option<CreateSetupIntentPaymentMethodOptionsKlarna>,
pub link: Option<SetupIntentPaymentMethodOptionsParam>,
pub paypal: Option<PaymentMethodOptionsParam>,
pub payto: Option<CreateSetupIntentPaymentMethodOptionsPayto>,
pub sepa_debit: Option<CreateSetupIntentPaymentMethodOptionsSepaDebit>,
pub us_bank_account: Option<CreateSetupIntentPaymentMethodOptionsUsBankAccount>,
}Expand description
Payment method-specific configuration for this SetupIntent.
Fields§
§acss_debit: Option<CreateSetupIntentPaymentMethodOptionsAcssDebit>If this is a acss_debit SetupIntent, this sub-hash contains details about the ACSS Debit payment method options.
amazon_pay: Option<Value>If this is a amazon_pay SetupIntent, this sub-hash contains details about the AmazonPay payment method options.
bacs_debit: Option<CreateSetupIntentPaymentMethodOptionsBacsDebit>If this is a bacs_debit SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
card: Option<CreateSetupIntentPaymentMethodOptionsCard>Configuration for any card setup attempted on this SetupIntent.
card_present: Option<Value>If this is a card_present PaymentMethod, this sub-hash contains details about the card-present payment method options.
klarna: Option<CreateSetupIntentPaymentMethodOptionsKlarna>If this is a klarna PaymentMethod, this hash contains details about the Klarna payment method options.
link: Option<SetupIntentPaymentMethodOptionsParam>If this is a link PaymentMethod, this sub-hash contains details about the Link payment method options.
paypal: Option<PaymentMethodOptionsParam>If this is a paypal PaymentMethod, this sub-hash contains details about the PayPal payment method options.
payto: Option<CreateSetupIntentPaymentMethodOptionsPayto>If this is a payto SetupIntent, this sub-hash contains details about the PayTo 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.
Implementations§
Trait Implementations§
Source§impl Clone for CreateSetupIntentPaymentMethodOptions
impl Clone for CreateSetupIntentPaymentMethodOptions
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodOptions
fn clone(&self) -> CreateSetupIntentPaymentMethodOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more