pub struct CreateInvoicePaymentSettingsPaymentMethodOptions {
pub acss_debit: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsAcssDebit>,
pub bancontact: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsBancontact>,
pub card: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsCard>,
pub customer_balance: Option<InvoicePaymentMethodOptionsParam>,
pub konbini: Option<Value>,
pub sepa_debit: Option<Value>,
pub us_bank_account: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsUsBankAccount>,
}
Expand description
Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
Fields§
§acss_debit: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsAcssDebit>
If paying by acss_debit
, this sub-hash contains details about the Canadian pre-authorized debit payment method options to pass to the invoice’s PaymentIntent.
bancontact: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsBancontact>
If paying by bancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
card: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsCard>
If paying by card
, this sub-hash contains details about the Card payment method options to pass to the invoice’s PaymentIntent.
customer_balance: Option<InvoicePaymentMethodOptionsParam>
If paying by customer_balance
, this sub-hash contains details about the Bank transfer payment method options to pass to the invoice’s PaymentIntent.
konbini: Option<Value>
If paying by konbini
, this sub-hash contains details about the Konbini payment method options to pass to the invoice’s PaymentIntent.
sepa_debit: Option<Value>
If paying by sepa_debit
, this sub-hash contains details about the SEPA Direct Debit payment method options to pass to the invoice’s PaymentIntent.
us_bank_account: Option<CreateInvoicePaymentSettingsPaymentMethodOptionsUsBankAccount>
If paying by us_bank_account
, this sub-hash contains details about the ACH direct debit payment method options to pass to the invoice’s PaymentIntent.
Implementations§
Trait Implementations§
Source§impl Clone for CreateInvoicePaymentSettingsPaymentMethodOptions
impl Clone for CreateInvoicePaymentSettingsPaymentMethodOptions
Source§fn clone(&self) -> CreateInvoicePaymentSettingsPaymentMethodOptions
fn clone(&self) -> CreateInvoicePaymentSettingsPaymentMethodOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more