pub struct CreateSetupIntentPaymentMethodData {Show 37 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 cashapp: Option<CreateSetupIntentPaymentMethodDataCashapp>,
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: Option<Metadata>,
pub oxxo: Option<CreateSetupIntentPaymentMethodDataOxxo>,
pub p24: Option<CreateSetupIntentPaymentMethodDataP24>,
pub paynow: Option<CreateSetupIntentPaymentMethodDataPaynow>,
pub paypal: Option<CreateSetupIntentPaymentMethodDataPaypal>,
pub pix: Option<CreateSetupIntentPaymentMethodDataPix>,
pub promptpay: Option<CreateSetupIntentPaymentMethodDataPromptpay>,
pub radar_options: Option<CreateSetupIntentPaymentMethodDataRadarOptions>,
pub revolut_pay: Option<CreateSetupIntentPaymentMethodDataRevolutPay>,
pub sepa_debit: Option<CreateSetupIntentPaymentMethodDataSepaDebit>,
pub sofort: Option<CreateSetupIntentPaymentMethodDataSofort>,
pub swish: Option<CreateSetupIntentPaymentMethodDataSwish>,
pub type_: CreateSetupIntentPaymentMethodDataType,
pub us_bank_account: Option<CreateSetupIntentPaymentMethodDataUsBankAccount>,
pub wechat_pay: Option<CreateSetupIntentPaymentMethodDataWechatPay>,
pub zip: Option<CreateSetupIntentPaymentMethodDataZip>,
}
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.
cashapp: Option<CreateSetupIntentPaymentMethodDataCashapp>
If this is a cashapp
PaymentMethod, this hash contains details about the Cash App Pay 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: Option<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.
paypal: Option<CreateSetupIntentPaymentMethodDataPaypal>
If this is a paypal
PaymentMethod, this hash contains details about the PayPal 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.
revolut_pay: Option<CreateSetupIntentPaymentMethodDataRevolutPay>
If this is a Revolut Pay
PaymentMethod, this hash contains details about the Revolut Pay payment method.
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.
swish: Option<CreateSetupIntentPaymentMethodDataSwish>
If this is a swish
PaymentMethod, this hash contains details about the Swish 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.
zip: Option<CreateSetupIntentPaymentMethodDataZip>
If this is a zip
PaymentMethod, this hash contains details about the Zip 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 moresource§impl Default for CreateSetupIntentPaymentMethodData
impl Default for CreateSetupIntentPaymentMethodData
source§fn default() -> CreateSetupIntentPaymentMethodData
fn default() -> CreateSetupIntentPaymentMethodData
source§impl<'de> Deserialize<'de> for CreateSetupIntentPaymentMethodData
impl<'de> Deserialize<'de> for CreateSetupIntentPaymentMethodData
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for CreateSetupIntentPaymentMethodData
impl RefUnwindSafe for CreateSetupIntentPaymentMethodData
impl Send for CreateSetupIntentPaymentMethodData
impl Sync for CreateSetupIntentPaymentMethodData
impl Unpin for CreateSetupIntentPaymentMethodData
impl UnwindSafe for CreateSetupIntentPaymentMethodData
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)