pub struct CreateSetupIntentPaymentMethodData {Show 32 fields
pub acss_debit: Option<CreateSetupIntentPaymentMethodDataAcssDebit>,
pub affirm: Option<CreateSetupIntentPaymentMethodDataAffirm>,
pub afterpay_clearpay: Option<CreateSetupIntentPaymentMethodDataAfterpayClearpay>,
pub alipay: Option<CreateSetupIntentPaymentMethodDataAlipay>,
pub au_becs_debit: Option<CreateSetupIntentPaymentMethodDataAuBecsDebit>,
pub bacs_debit: Option<CreateSetupIntentPaymentMethodDataBacsDebit>,
pub bancontact: Option<CreateSetupIntentPaymentMethodDataBancontact>,
pub billing_details: Option<CreateSetupIntentPaymentMethodDataBillingDetails>,
pub blik: Option<CreateSetupIntentPaymentMethodDataBlik>,
pub boleto: Option<CreateSetupIntentPaymentMethodDataBoleto>,
pub customer_balance: Option<CreateSetupIntentPaymentMethodDataCustomerBalance>,
pub eps: Option<CreateSetupIntentPaymentMethodDataEps>,
pub fpx: Option<CreateSetupIntentPaymentMethodDataFpx>,
pub giropay: Option<CreateSetupIntentPaymentMethodDataGiropay>,
pub grabpay: Option<CreateSetupIntentPaymentMethodDataGrabpay>,
pub ideal: Option<CreateSetupIntentPaymentMethodDataIdeal>,
pub interac_present: Option<CreateSetupIntentPaymentMethodDataInteracPresent>,
pub klarna: Option<CreateSetupIntentPaymentMethodDataKlarna>,
pub konbini: Option<CreateSetupIntentPaymentMethodDataKonbini>,
pub link: Option<CreateSetupIntentPaymentMethodDataLink>,
pub metadata: Metadata,
pub oxxo: Option<CreateSetupIntentPaymentMethodDataOxxo>,
pub p24: Option<CreateSetupIntentPaymentMethodDataP24>,
pub paynow: Option<CreateSetupIntentPaymentMethodDataPaynow>,
pub pix: Option<CreateSetupIntentPaymentMethodDataPix>,
pub promptpay: Option<CreateSetupIntentPaymentMethodDataPromptpay>,
pub radar_options: Option<CreateSetupIntentPaymentMethodDataRadarOptions>,
pub sepa_debit: Option<CreateSetupIntentPaymentMethodDataSepaDebit>,
pub sofort: Option<CreateSetupIntentPaymentMethodDataSofort>,
pub type_: CreateSetupIntentPaymentMethodDataType,
pub us_bank_account: Option<CreateSetupIntentPaymentMethodDataUsBankAccount>,
pub wechat_pay: Option<CreateSetupIntentPaymentMethodDataWechatPay>,
}
Fields§
§acss_debit: Option<CreateSetupIntentPaymentMethodDataAcssDebit>
If this is an acss_debit
PaymentMethod, this hash contains details about the ACSS Debit payment method.
affirm: Option<CreateSetupIntentPaymentMethodDataAffirm>
If this is an affirm
PaymentMethod, this hash contains details about the Affirm payment method.
afterpay_clearpay: Option<CreateSetupIntentPaymentMethodDataAfterpayClearpay>
If this is an AfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
alipay: Option<CreateSetupIntentPaymentMethodDataAlipay>
If this is an Alipay
PaymentMethod, this hash contains details about the Alipay payment method.
au_becs_debit: Option<CreateSetupIntentPaymentMethodDataAuBecsDebit>
If this is an au_becs_debit
PaymentMethod, this hash contains details about the bank account.
bacs_debit: Option<CreateSetupIntentPaymentMethodDataBacsDebit>
If this is a bacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
bancontact: Option<CreateSetupIntentPaymentMethodDataBancontact>
If this is a bancontact
PaymentMethod, this hash contains details about the Bancontact payment method.
billing_details: Option<CreateSetupIntentPaymentMethodDataBillingDetails>
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
blik: Option<CreateSetupIntentPaymentMethodDataBlik>
If this is a blik
PaymentMethod, this hash contains details about the BLIK payment method.
boleto: Option<CreateSetupIntentPaymentMethodDataBoleto>
If this is a boleto
PaymentMethod, this hash contains details about the Boleto payment method.
customer_balance: Option<CreateSetupIntentPaymentMethodDataCustomerBalance>
If this is a customer_balance
PaymentMethod, this hash contains details about the CustomerBalance payment method.
eps: Option<CreateSetupIntentPaymentMethodDataEps>
If this is an eps
PaymentMethod, this hash contains details about the EPS payment method.
fpx: Option<CreateSetupIntentPaymentMethodDataFpx>
If this is an fpx
PaymentMethod, this hash contains details about the FPX payment method.
giropay: Option<CreateSetupIntentPaymentMethodDataGiropay>
If this is a giropay
PaymentMethod, this hash contains details about the Giropay payment method.
grabpay: Option<CreateSetupIntentPaymentMethodDataGrabpay>
If this is a grabpay
PaymentMethod, this hash contains details about the GrabPay payment method.
ideal: Option<CreateSetupIntentPaymentMethodDataIdeal>
If this is an ideal
PaymentMethod, this hash contains details about the iDEAL payment method.
interac_present: Option<CreateSetupIntentPaymentMethodDataInteracPresent>
If this is an interac_present
PaymentMethod, this hash contains details about the Interac Present payment method.
klarna: Option<CreateSetupIntentPaymentMethodDataKlarna>
If this is a klarna
PaymentMethod, this hash contains details about the Klarna payment method.
konbini: Option<CreateSetupIntentPaymentMethodDataKonbini>
If this is a konbini
PaymentMethod, this hash contains details about the Konbini payment method.
link: Option<CreateSetupIntentPaymentMethodDataLink>
If this is an Link
PaymentMethod, this hash contains details about the Link payment method.
metadata: Metadata
Set of key-value pairs that you can attach to an object.
This can be useful for storing additional information about the object in a structured format.
Individual keys can be unset by posting an empty value to them.
All keys can be unset by posting an empty value to metadata
.
oxxo: Option<CreateSetupIntentPaymentMethodDataOxxo>
If this is an oxxo
PaymentMethod, this hash contains details about the OXXO payment method.
p24: Option<CreateSetupIntentPaymentMethodDataP24>
If this is a p24
PaymentMethod, this hash contains details about the P24 payment method.
paynow: Option<CreateSetupIntentPaymentMethodDataPaynow>
If this is a paynow
PaymentMethod, this hash contains details about the PayNow payment method.
pix: Option<CreateSetupIntentPaymentMethodDataPix>
If this is a pix
PaymentMethod, this hash contains details about the Pix payment method.
promptpay: Option<CreateSetupIntentPaymentMethodDataPromptpay>
If this is a promptpay
PaymentMethod, this hash contains details about the PromptPay payment method.
radar_options: Option<CreateSetupIntentPaymentMethodDataRadarOptions>
Options to configure Radar.
See Radar Session for more information.
sepa_debit: Option<CreateSetupIntentPaymentMethodDataSepaDebit>
If this is a sepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.
sofort: Option<CreateSetupIntentPaymentMethodDataSofort>
If this is a sofort
PaymentMethod, this hash contains details about the SOFORT payment method.
type_: CreateSetupIntentPaymentMethodDataType
The type of the PaymentMethod.
An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.
us_bank_account: Option<CreateSetupIntentPaymentMethodDataUsBankAccount>
If this is an us_bank_account
PaymentMethod, this hash contains details about the US bank account payment method.
wechat_pay: Option<CreateSetupIntentPaymentMethodDataWechatPay>
If this is an wechat_pay
PaymentMethod, this hash contains details about the wechat_pay payment method.
Trait Implementations§
source§impl Clone for CreateSetupIntentPaymentMethodData
impl Clone for CreateSetupIntentPaymentMethodData
source§fn clone(&self) -> CreateSetupIntentPaymentMethodData
fn clone(&self) -> CreateSetupIntentPaymentMethodData
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more