pub struct UpdateInvoicePaymentSettingsPaymentMethodOptions {
pub acss_debit: Option<UpdateInvoicePaymentSettingsPaymentMethodOptionsAcssDebit>,
pub bancontact: Option<UpdateInvoicePaymentSettingsPaymentMethodOptionsBancontact>,
pub card: Option<UpdateInvoicePaymentSettingsPaymentMethodOptionsCard>,
pub customer_balance: Option<InvoicePaymentMethodOptionsParam>,
pub konbini: Option<Value>,
pub sepa_debit: Option<Value>,
pub us_bank_account: Option<UpdateInvoicePaymentSettingsPaymentMethodOptionsUsBankAccount>,
}
Expand description
Payment-method-specific configuration to provide to the invoice’s PaymentIntent.
Fields§
§acss_debit: Option<UpdateInvoicePaymentSettingsPaymentMethodOptionsAcssDebit>
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<UpdateInvoicePaymentSettingsPaymentMethodOptionsBancontact>
If paying by bancontact
, this sub-hash contains details about the Bancontact payment method options to pass to the invoice’s PaymentIntent.
card: Option<UpdateInvoicePaymentSettingsPaymentMethodOptionsCard>
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<UpdateInvoicePaymentSettingsPaymentMethodOptionsUsBankAccount>
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 UpdateInvoicePaymentSettingsPaymentMethodOptions
impl Clone for UpdateInvoicePaymentSettingsPaymentMethodOptions
Source§fn clone(&self) -> UpdateInvoicePaymentSettingsPaymentMethodOptions
fn clone(&self) -> UpdateInvoicePaymentSettingsPaymentMethodOptions
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more