pub struct ConfirmPaymentIntentPaymentMethodData {Show 52 fields
pub acss_debit: Option<PaymentMethodParam>,
pub affirm: Option<Value>,
pub afterpay_clearpay: Option<Value>,
pub alipay: Option<Value>,
pub allow_redisplay: Option<ConfirmPaymentIntentPaymentMethodDataAllowRedisplay>,
pub alma: Option<Value>,
pub amazon_pay: Option<Value>,
pub au_becs_debit: Option<ConfirmPaymentIntentPaymentMethodDataAuBecsDebit>,
pub bacs_debit: Option<ConfirmPaymentIntentPaymentMethodDataBacsDebit>,
pub bancontact: Option<Value>,
pub billie: Option<Value>,
pub billing_details: Option<ConfirmPaymentIntentPaymentMethodDataBillingDetails>,
pub blik: Option<Value>,
pub boleto: Option<ConfirmPaymentIntentPaymentMethodDataBoleto>,
pub cashapp: Option<Value>,
pub customer_balance: Option<Value>,
pub eps: Option<ConfirmPaymentIntentPaymentMethodDataEps>,
pub fpx: Option<ConfirmPaymentIntentPaymentMethodDataFpx>,
pub giropay: Option<Value>,
pub grabpay: Option<Value>,
pub ideal: Option<ConfirmPaymentIntentPaymentMethodDataIdeal>,
pub interac_present: Option<Value>,
pub kakao_pay: Option<Value>,
pub klarna: Option<ConfirmPaymentIntentPaymentMethodDataKlarna>,
pub konbini: Option<Value>,
pub kr_card: Option<Value>,
pub link: Option<Value>,
pub metadata: Option<HashMap<String, String>>,
pub mobilepay: Option<Value>,
pub multibanco: Option<Value>,
pub naver_pay: Option<ConfirmPaymentIntentPaymentMethodDataNaverPay>,
pub nz_bank_account: Option<ConfirmPaymentIntentPaymentMethodDataNzBankAccount>,
pub oxxo: Option<Value>,
pub p24: Option<ConfirmPaymentIntentPaymentMethodDataP24>,
pub pay_by_bank: Option<Value>,
pub payco: Option<Value>,
pub paynow: Option<Value>,
pub paypal: Option<Value>,
pub pix: Option<Value>,
pub promptpay: Option<Value>,
pub radar_options: Option<RadarOptionsWithHiddenOptions>,
pub revolut_pay: Option<Value>,
pub samsung_pay: Option<Value>,
pub satispay: Option<Value>,
pub sepa_debit: Option<ConfirmPaymentIntentPaymentMethodDataSepaDebit>,
pub sofort: Option<ConfirmPaymentIntentPaymentMethodDataSofort>,
pub swish: Option<Value>,
pub twint: Option<Value>,
pub type_: ConfirmPaymentIntentPaymentMethodDataType,
pub us_bank_account: Option<ConfirmPaymentIntentPaymentMethodDataUsBankAccount>,
pub wechat_pay: Option<Value>,
pub zip: Option<Value>,
}
Expand description
If provided, this hash will be used to create a PaymentMethod. The new PaymentMethod will appear in the payment_method. property on the PaymentIntent.
Fields§
§acss_debit: Option<PaymentMethodParam>
If this is an acss_debit
PaymentMethod, this hash contains details about the ACSS Debit payment method.
affirm: Option<Value>
If this is an affirm
PaymentMethod, this hash contains details about the Affirm payment method.
afterpay_clearpay: Option<Value>
If this is an AfterpayClearpay
PaymentMethod, this hash contains details about the AfterpayClearpay payment method.
alipay: Option<Value>
If this is an Alipay
PaymentMethod, this hash contains details about the Alipay payment method.
allow_redisplay: Option<ConfirmPaymentIntentPaymentMethodDataAllowRedisplay>
This field indicates whether this payment method can be shown again to its customer in a checkout flow.
Stripe products such as Checkout and Elements use this field to determine whether a payment method can be shown as a saved payment method in a checkout flow.
The field defaults to unspecified
.
alma: Option<Value>
If this is a Alma PaymentMethod, this hash contains details about the Alma payment method.
amazon_pay: Option<Value>
If this is a AmazonPay PaymentMethod, this hash contains details about the AmazonPay payment method.
au_becs_debit: Option<ConfirmPaymentIntentPaymentMethodDataAuBecsDebit>
If this is an au_becs_debit
PaymentMethod, this hash contains details about the bank account.
bacs_debit: Option<ConfirmPaymentIntentPaymentMethodDataBacsDebit>
If this is a bacs_debit
PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.
bancontact: Option<Value>
If this is a bancontact
PaymentMethod, this hash contains details about the Bancontact payment method.
billie: Option<Value>
If this is a billie
PaymentMethod, this hash contains details about the Billie payment method.
billing_details: Option<ConfirmPaymentIntentPaymentMethodDataBillingDetails>
Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.
blik: Option<Value>
If this is a blik
PaymentMethod, this hash contains details about the BLIK payment method.
boleto: Option<ConfirmPaymentIntentPaymentMethodDataBoleto>
If this is a boleto
PaymentMethod, this hash contains details about the Boleto payment method.
cashapp: Option<Value>
If this is a cashapp
PaymentMethod, this hash contains details about the Cash App Pay payment method.
customer_balance: Option<Value>
If this is a customer_balance
PaymentMethod, this hash contains details about the CustomerBalance payment method.
eps: Option<ConfirmPaymentIntentPaymentMethodDataEps>
If this is an eps
PaymentMethod, this hash contains details about the EPS payment method.
fpx: Option<ConfirmPaymentIntentPaymentMethodDataFpx>
If this is an fpx
PaymentMethod, this hash contains details about the FPX payment method.
giropay: Option<Value>
If this is a giropay
PaymentMethod, this hash contains details about the Giropay payment method.
grabpay: Option<Value>
If this is a grabpay
PaymentMethod, this hash contains details about the GrabPay payment method.
ideal: Option<ConfirmPaymentIntentPaymentMethodDataIdeal>
If this is an ideal
PaymentMethod, this hash contains details about the iDEAL payment method.
interac_present: Option<Value>
If this is an interac_present
PaymentMethod, this hash contains details about the Interac Present payment method.
kakao_pay: Option<Value>
If this is a kakao_pay
PaymentMethod, this hash contains details about the Kakao Pay payment method.
klarna: Option<ConfirmPaymentIntentPaymentMethodDataKlarna>
If this is a klarna
PaymentMethod, this hash contains details about the Klarna payment method.
konbini: Option<Value>
If this is a konbini
PaymentMethod, this hash contains details about the Konbini payment method.
kr_card: Option<Value>
If this is a kr_card
PaymentMethod, this hash contains details about the Korean Card payment method.
link: Option<Value>
If this is an Link
PaymentMethod, this hash contains details about the Link payment method.
metadata: Option<HashMap<String, String>>
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
.
mobilepay: Option<Value>
If this is a mobilepay
PaymentMethod, this hash contains details about the MobilePay payment method.
multibanco: Option<Value>
If this is a multibanco
PaymentMethod, this hash contains details about the Multibanco payment method.
If this is a naver_pay
PaymentMethod, this hash contains details about the Naver Pay payment method.
nz_bank_account: Option<ConfirmPaymentIntentPaymentMethodDataNzBankAccount>
If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
oxxo: Option<Value>
If this is an oxxo
PaymentMethod, this hash contains details about the OXXO payment method.
p24: Option<ConfirmPaymentIntentPaymentMethodDataP24>
If this is a p24
PaymentMethod, this hash contains details about the P24 payment method.
pay_by_bank: Option<Value>
If this is a pay_by_bank
PaymentMethod, this hash contains details about the PayByBank payment method.
payco: Option<Value>
If this is a payco
PaymentMethod, this hash contains details about the PAYCO payment method.
paynow: Option<Value>
If this is a paynow
PaymentMethod, this hash contains details about the PayNow payment method.
paypal: Option<Value>
If this is a paypal
PaymentMethod, this hash contains details about the PayPal payment method.
pix: Option<Value>
If this is a pix
PaymentMethod, this hash contains details about the Pix payment method.
promptpay: Option<Value>
If this is a promptpay
PaymentMethod, this hash contains details about the PromptPay payment method.
radar_options: Option<RadarOptionsWithHiddenOptions>
Options to configure Radar. See Radar Session for more information.
revolut_pay: Option<Value>
If this is a revolut_pay
PaymentMethod, this hash contains details about the Revolut Pay payment method.
samsung_pay: Option<Value>
If this is a samsung_pay
PaymentMethod, this hash contains details about the SamsungPay payment method.
satispay: Option<Value>
If this is a satispay
PaymentMethod, this hash contains details about the Satispay payment method.
sepa_debit: Option<ConfirmPaymentIntentPaymentMethodDataSepaDebit>
If this is a sepa_debit
PaymentMethod, this hash contains details about the SEPA debit bank account.
sofort: Option<ConfirmPaymentIntentPaymentMethodDataSofort>
If this is a sofort
PaymentMethod, this hash contains details about the SOFORT payment method.
swish: Option<Value>
If this is a swish
PaymentMethod, this hash contains details about the Swish payment method.
twint: Option<Value>
If this is a TWINT PaymentMethod, this hash contains details about the TWINT payment method.
type_: ConfirmPaymentIntentPaymentMethodDataType
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<ConfirmPaymentIntentPaymentMethodDataUsBankAccount>
If this is an us_bank_account
PaymentMethod, this hash contains details about the US bank account payment method.
wechat_pay: Option<Value>
If this is an wechat_pay
PaymentMethod, this hash contains details about the wechat_pay payment method.
zip: Option<Value>
If this is a zip
PaymentMethod, this hash contains details about the Zip payment method.
Implementations§
Source§impl ConfirmPaymentIntentPaymentMethodData
impl ConfirmPaymentIntentPaymentMethodData
pub fn new(type_: impl Into<ConfirmPaymentIntentPaymentMethodDataType>) -> Self
Trait Implementations§
Source§impl Clone for ConfirmPaymentIntentPaymentMethodData
impl Clone for ConfirmPaymentIntentPaymentMethodData
Source§fn clone(&self) -> ConfirmPaymentIntentPaymentMethodData
fn clone(&self) -> ConfirmPaymentIntentPaymentMethodData
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more