pub struct ConfirmSetupIntentPaymentMethodOptions {
pub acss_debit: Option<ConfirmSetupIntentPaymentMethodOptionsAcssDebit>,
pub amazon_pay: Option<Value>,
pub bacs_debit: Option<ConfirmSetupIntentPaymentMethodOptionsBacsDebit>,
pub card: Option<ConfirmSetupIntentPaymentMethodOptionsCard>,
pub card_present: Option<Value>,
pub link: Option<SetupIntentPaymentMethodOptionsParam>,
pub paypal: Option<PaymentMethodOptionsParam>,
pub sepa_debit: Option<ConfirmSetupIntentPaymentMethodOptionsSepaDebit>,
pub us_bank_account: Option<ConfirmSetupIntentPaymentMethodOptionsUsBankAccount>,
}
Expand description
Payment method-specific configuration for this SetupIntent.
Fields§
§acss_debit: Option<ConfirmSetupIntentPaymentMethodOptionsAcssDebit>
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<ConfirmSetupIntentPaymentMethodOptionsBacsDebit>
If this is a bacs_debit
SetupIntent, this sub-hash contains details about the Bacs Debit payment method options.
card: Option<ConfirmSetupIntentPaymentMethodOptionsCard>
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.
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.
sepa_debit: Option<ConfirmSetupIntentPaymentMethodOptionsSepaDebit>
If this is a sepa_debit
SetupIntent, this sub-hash contains details about the SEPA Debit payment method options.
us_bank_account: Option<ConfirmSetupIntentPaymentMethodOptionsUsBankAccount>
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 ConfirmSetupIntentPaymentMethodOptions
impl Clone for ConfirmSetupIntentPaymentMethodOptions
Source§fn clone(&self) -> ConfirmSetupIntentPaymentMethodOptions
fn clone(&self) -> ConfirmSetupIntentPaymentMethodOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more