pub struct CreatePaymentIntentPaymentMethodOptions {Show 35 fields
pub acss_debit: Option<CreatePaymentIntentPaymentMethodOptionsAcssDebit>,
pub affirm: Option<CreatePaymentIntentPaymentMethodOptionsAffirm>,
pub afterpay_clearpay: Option<CreatePaymentIntentPaymentMethodOptionsAfterpayClearpay>,
pub alipay: Option<CreatePaymentIntentPaymentMethodOptionsAlipay>,
pub au_becs_debit: Option<CreatePaymentIntentPaymentMethodOptionsAuBecsDebit>,
pub bacs_debit: Option<CreatePaymentIntentPaymentMethodOptionsBacsDebit>,
pub bancontact: Option<CreatePaymentIntentPaymentMethodOptionsBancontact>,
pub blik: Option<CreatePaymentIntentPaymentMethodOptionsBlik>,
pub boleto: Option<CreatePaymentIntentPaymentMethodOptionsBoleto>,
pub card: Option<CreatePaymentIntentPaymentMethodOptionsCard>,
pub card_present: Option<CreatePaymentIntentPaymentMethodOptionsCardPresent>,
pub cashapp: Option<CreatePaymentIntentPaymentMethodOptionsCashapp>,
pub customer_balance: Option<CreatePaymentIntentPaymentMethodOptionsCustomerBalance>,
pub eps: Option<CreatePaymentIntentPaymentMethodOptionsEps>,
pub fpx: Option<CreatePaymentIntentPaymentMethodOptionsFpx>,
pub giropay: Option<CreatePaymentIntentPaymentMethodOptionsGiropay>,
pub grabpay: Option<CreatePaymentIntentPaymentMethodOptionsGrabpay>,
pub ideal: Option<CreatePaymentIntentPaymentMethodOptionsIdeal>,
pub interac_present: Option<CreatePaymentIntentPaymentMethodOptionsInteracPresent>,
pub klarna: Option<CreatePaymentIntentPaymentMethodOptionsKlarna>,
pub konbini: Option<CreatePaymentIntentPaymentMethodOptionsKonbini>,
pub link: Option<CreatePaymentIntentPaymentMethodOptionsLink>,
pub oxxo: Option<CreatePaymentIntentPaymentMethodOptionsOxxo>,
pub p24: Option<CreatePaymentIntentPaymentMethodOptionsP24>,
pub paynow: Option<CreatePaymentIntentPaymentMethodOptionsPaynow>,
pub paypal: Option<CreatePaymentIntentPaymentMethodOptionsPaypal>,
pub pix: Option<CreatePaymentIntentPaymentMethodOptionsPix>,
pub promptpay: Option<CreatePaymentIntentPaymentMethodOptionsPromptpay>,
pub revolut_pay: Option<CreatePaymentIntentPaymentMethodOptionsRevolutPay>,
pub sepa_debit: Option<CreatePaymentIntentPaymentMethodOptionsSepaDebit>,
pub sofort: Option<CreatePaymentIntentPaymentMethodOptionsSofort>,
pub swish: Option<CreatePaymentIntentPaymentMethodOptionsSwish>,
pub us_bank_account: Option<CreatePaymentIntentPaymentMethodOptionsUsBankAccount>,
pub wechat_pay: Option<CreatePaymentIntentPaymentMethodOptionsWechatPay>,
pub zip: Option<CreatePaymentIntentPaymentMethodOptionsZip>,
}
Fields§
§acss_debit: Option<CreatePaymentIntentPaymentMethodOptionsAcssDebit>
If this is a acss_debit
PaymentMethod, this sub-hash contains details about the ACSS Debit payment method options.
affirm: Option<CreatePaymentIntentPaymentMethodOptionsAffirm>
If this is an affirm
PaymentMethod, this sub-hash contains details about the Affirm payment method options.
afterpay_clearpay: Option<CreatePaymentIntentPaymentMethodOptionsAfterpayClearpay>
If this is a afterpay_clearpay
PaymentMethod, this sub-hash contains details about the Afterpay Clearpay payment method options.
alipay: Option<CreatePaymentIntentPaymentMethodOptionsAlipay>
If this is a alipay
PaymentMethod, this sub-hash contains details about the Alipay payment method options.
au_becs_debit: Option<CreatePaymentIntentPaymentMethodOptionsAuBecsDebit>
If this is a au_becs_debit
PaymentMethod, this sub-hash contains details about the AU BECS Direct Debit payment method options.
bacs_debit: Option<CreatePaymentIntentPaymentMethodOptionsBacsDebit>
If this is a bacs_debit
PaymentMethod, this sub-hash contains details about the BACS Debit payment method options.
bancontact: Option<CreatePaymentIntentPaymentMethodOptionsBancontact>
If this is a bancontact
PaymentMethod, this sub-hash contains details about the Bancontact payment method options.
blik: Option<CreatePaymentIntentPaymentMethodOptionsBlik>
If this is a blik
PaymentMethod, this sub-hash contains details about the BLIK payment method options.
boleto: Option<CreatePaymentIntentPaymentMethodOptionsBoleto>
If this is a boleto
PaymentMethod, this sub-hash contains details about the Boleto payment method options.
card: Option<CreatePaymentIntentPaymentMethodOptionsCard>
Configuration for any card payments attempted on this PaymentIntent.
card_present: Option<CreatePaymentIntentPaymentMethodOptionsCardPresent>
If this is a card_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.
cashapp: Option<CreatePaymentIntentPaymentMethodOptionsCashapp>
If this is a cashapp
PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.
customer_balance: Option<CreatePaymentIntentPaymentMethodOptionsCustomerBalance>
If this is a customer balance
PaymentMethod, this sub-hash contains details about the customer balance payment method options.
eps: Option<CreatePaymentIntentPaymentMethodOptionsEps>
If this is a eps
PaymentMethod, this sub-hash contains details about the EPS payment method options.
fpx: Option<CreatePaymentIntentPaymentMethodOptionsFpx>
If this is a fpx
PaymentMethod, this sub-hash contains details about the FPX payment method options.
giropay: Option<CreatePaymentIntentPaymentMethodOptionsGiropay>
If this is a giropay
PaymentMethod, this sub-hash contains details about the Giropay payment method options.
grabpay: Option<CreatePaymentIntentPaymentMethodOptionsGrabpay>
If this is a grabpay
PaymentMethod, this sub-hash contains details about the Grabpay payment method options.
ideal: Option<CreatePaymentIntentPaymentMethodOptionsIdeal>
If this is a ideal
PaymentMethod, this sub-hash contains details about the Ideal payment method options.
interac_present: Option<CreatePaymentIntentPaymentMethodOptionsInteracPresent>
If this is a interac_present
PaymentMethod, this sub-hash contains details about the Card Present payment method options.
klarna: Option<CreatePaymentIntentPaymentMethodOptionsKlarna>
If this is a klarna
PaymentMethod, this sub-hash contains details about the Klarna payment method options.
konbini: Option<CreatePaymentIntentPaymentMethodOptionsKonbini>
If this is a konbini
PaymentMethod, this sub-hash contains details about the Konbini payment method options.
link: Option<CreatePaymentIntentPaymentMethodOptionsLink>
If this is a link
PaymentMethod, this sub-hash contains details about the Link payment method options.
oxxo: Option<CreatePaymentIntentPaymentMethodOptionsOxxo>
If this is a oxxo
PaymentMethod, this sub-hash contains details about the OXXO payment method options.
p24: Option<CreatePaymentIntentPaymentMethodOptionsP24>
If this is a p24
PaymentMethod, this sub-hash contains details about the Przelewy24 payment method options.
paynow: Option<CreatePaymentIntentPaymentMethodOptionsPaynow>
If this is a paynow
PaymentMethod, this sub-hash contains details about the PayNow payment method options.
paypal: Option<CreatePaymentIntentPaymentMethodOptionsPaypal>
If this is a paypal
PaymentMethod, this sub-hash contains details about the PayPal payment method options.
pix: Option<CreatePaymentIntentPaymentMethodOptionsPix>
If this is a pix
PaymentMethod, this sub-hash contains details about the Pix payment method options.
promptpay: Option<CreatePaymentIntentPaymentMethodOptionsPromptpay>
If this is a promptpay
PaymentMethod, this sub-hash contains details about the PromptPay payment method options.
revolut_pay: Option<CreatePaymentIntentPaymentMethodOptionsRevolutPay>
If this is a revolut_pay
PaymentMethod, this sub-hash contains details about the Revolut Pay payment method options.
sepa_debit: Option<CreatePaymentIntentPaymentMethodOptionsSepaDebit>
If this is a sepa_debit
PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.
sofort: Option<CreatePaymentIntentPaymentMethodOptionsSofort>
If this is a sofort
PaymentMethod, this sub-hash contains details about the SOFORT payment method options.
swish: Option<CreatePaymentIntentPaymentMethodOptionsSwish>
If this is a Swish
PaymentMethod, this sub-hash contains details about the Swish payment method options.
us_bank_account: Option<CreatePaymentIntentPaymentMethodOptionsUsBankAccount>
If this is a us_bank_account
PaymentMethod, this sub-hash contains details about the US bank account payment method options.
wechat_pay: Option<CreatePaymentIntentPaymentMethodOptionsWechatPay>
If this is a wechat_pay
PaymentMethod, this sub-hash contains details about the WeChat Pay payment method options.
zip: Option<CreatePaymentIntentPaymentMethodOptionsZip>
If this is a zip
PaymentMethod, this sub-hash contains details about the Zip payment method options.
Trait Implementations§
source§impl Clone for CreatePaymentIntentPaymentMethodOptions
impl Clone for CreatePaymentIntentPaymentMethodOptions
source§fn clone(&self) -> CreatePaymentIntentPaymentMethodOptions
fn clone(&self) -> CreatePaymentIntentPaymentMethodOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreatePaymentIntentPaymentMethodOptions
impl Default for CreatePaymentIntentPaymentMethodOptions
source§fn default() -> CreatePaymentIntentPaymentMethodOptions
fn default() -> CreatePaymentIntentPaymentMethodOptions
source§impl<'de> Deserialize<'de> for CreatePaymentIntentPaymentMethodOptions
impl<'de> Deserialize<'de> for CreatePaymentIntentPaymentMethodOptions
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 CreatePaymentIntentPaymentMethodOptions
impl RefUnwindSafe for CreatePaymentIntentPaymentMethodOptions
impl Send for CreatePaymentIntentPaymentMethodOptions
impl Sync for CreatePaymentIntentPaymentMethodOptions
impl Unpin for CreatePaymentIntentPaymentMethodOptions
impl UnwindSafe for CreatePaymentIntentPaymentMethodOptions
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
)