CreatePaymentIntentPaymentMethodOptions

Struct CreatePaymentIntentPaymentMethodOptions 

Source
pub struct CreatePaymentIntentPaymentMethodOptions {
Show 51 fields pub acss_debit: Option<CreatePaymentIntentPaymentMethodOptionsAcssDebit>, pub affirm: Option<CreatePaymentIntentPaymentMethodOptionsAffirm>, pub afterpay_clearpay: Option<CreatePaymentIntentPaymentMethodOptionsAfterpayClearpay>, pub alipay: Option<CreatePaymentIntentPaymentMethodOptionsAlipay>, pub alma: Option<CreatePaymentIntentPaymentMethodOptionsAlma>, pub amazon_pay: Option<CreatePaymentIntentPaymentMethodOptionsAmazonPay>, pub au_becs_debit: Option<CreatePaymentIntentPaymentMethodOptionsAuBecsDebit>, pub bacs_debit: Option<CreatePaymentIntentPaymentMethodOptionsBacsDebit>, pub bancontact: Option<CreatePaymentIntentPaymentMethodOptionsBancontact>, pub billie: Option<CreatePaymentIntentPaymentMethodOptionsBillie>, pub blik: Option<CreatePaymentIntentPaymentMethodOptionsBlik>, pub boleto: Option<CreatePaymentIntentPaymentMethodOptionsBoleto>, pub card: Option<CreatePaymentIntentPaymentMethodOptionsCard>, pub card_present: Option<CreatePaymentIntentPaymentMethodOptionsCardPresent>, pub cashapp: Option<CreatePaymentIntentPaymentMethodOptionsCashapp>, pub crypto: Option<CreatePaymentIntentPaymentMethodOptionsCrypto>, 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<Value>, pub kakao_pay: Option<CreatePaymentIntentPaymentMethodOptionsKakaoPay>, pub klarna: Option<CreatePaymentIntentPaymentMethodOptionsKlarna>, pub konbini: Option<CreatePaymentIntentPaymentMethodOptionsKonbini>, pub kr_card: Option<CreatePaymentIntentPaymentMethodOptionsKrCard>, pub link: Option<CreatePaymentIntentPaymentMethodOptionsLink>, pub mb_way: Option<CreatePaymentIntentPaymentMethodOptionsMbWay>, pub mobilepay: Option<CreatePaymentIntentPaymentMethodOptionsMobilepay>, pub multibanco: Option<CreatePaymentIntentPaymentMethodOptionsMultibanco>, pub naver_pay: Option<CreatePaymentIntentPaymentMethodOptionsNaverPay>, pub nz_bank_account: Option<CreatePaymentIntentPaymentMethodOptionsNzBankAccount>, pub oxxo: Option<CreatePaymentIntentPaymentMethodOptionsOxxo>, pub p24: Option<CreatePaymentIntentPaymentMethodOptionsP24>, pub pay_by_bank: Option<Value>, pub payco: Option<CreatePaymentIntentPaymentMethodOptionsPayco>, pub paynow: Option<CreatePaymentIntentPaymentMethodOptionsPaynow>, pub paypal: Option<CreatePaymentIntentPaymentMethodOptionsPaypal>, pub pix: Option<CreatePaymentIntentPaymentMethodOptionsPix>, pub promptpay: Option<CreatePaymentIntentPaymentMethodOptionsPromptpay>, pub revolut_pay: Option<CreatePaymentIntentPaymentMethodOptionsRevolutPay>, pub samsung_pay: Option<CreatePaymentIntentPaymentMethodOptionsSamsungPay>, pub satispay: Option<CreatePaymentIntentPaymentMethodOptionsSatispay>, pub sepa_debit: Option<CreatePaymentIntentPaymentMethodOptionsSepaDebit>, pub sofort: Option<CreatePaymentIntentPaymentMethodOptionsSofort>, pub swish: Option<CreatePaymentIntentPaymentMethodOptionsSwish>, pub twint: Option<CreatePaymentIntentPaymentMethodOptionsTwint>, pub us_bank_account: Option<CreatePaymentIntentPaymentMethodOptionsUsBankAccount>, pub wechat_pay: Option<CreatePaymentIntentPaymentMethodOptionsWechatPay>, pub zip: Option<CreatePaymentIntentPaymentMethodOptionsZip>,
}
Expand description

Payment method-specific configuration for this PaymentIntent.

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.

§alma: Option<CreatePaymentIntentPaymentMethodOptionsAlma>

If this is a alma PaymentMethod, this sub-hash contains details about the Alma payment method options.

§amazon_pay: Option<CreatePaymentIntentPaymentMethodOptionsAmazonPay>

If this is a amazon_pay PaymentMethod, this sub-hash contains details about the Amazon Pay 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.

§billie: Option<CreatePaymentIntentPaymentMethodOptionsBillie>

If this is a billie PaymentMethod, this sub-hash contains details about the Billie 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.

§crypto: Option<CreatePaymentIntentPaymentMethodOptionsCrypto>

If this is a crypto PaymentMethod, this sub-hash contains details about the Crypto 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<Value>

If this is a interac_present PaymentMethod, this sub-hash contains details about the Card Present payment method options.

§kakao_pay: Option<CreatePaymentIntentPaymentMethodOptionsKakaoPay>

If this is a kakao_pay PaymentMethod, this sub-hash contains details about the Kakao Pay 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.

§kr_card: Option<CreatePaymentIntentPaymentMethodOptionsKrCard>

If this is a kr_card PaymentMethod, this sub-hash contains details about the KR Card payment method options.

§link: Option<CreatePaymentIntentPaymentMethodOptionsLink>

If this is a link PaymentMethod, this sub-hash contains details about the Link payment method options.

§mb_way: Option<CreatePaymentIntentPaymentMethodOptionsMbWay>

If this is a mb_way PaymentMethod, this sub-hash contains details about the MB WAY payment method options.

§mobilepay: Option<CreatePaymentIntentPaymentMethodOptionsMobilepay>

If this is a MobilePay PaymentMethod, this sub-hash contains details about the MobilePay payment method options.

§multibanco: Option<CreatePaymentIntentPaymentMethodOptionsMultibanco>

If this is a multibanco PaymentMethod, this sub-hash contains details about the Multibanco payment method options.

§naver_pay: Option<CreatePaymentIntentPaymentMethodOptionsNaverPay>

If this is a naver_pay PaymentMethod, this sub-hash contains details about the Naver Pay payment method options.

§nz_bank_account: Option<CreatePaymentIntentPaymentMethodOptionsNzBankAccount>

If this is a nz_bank_account PaymentMethod, this sub-hash contains details about the NZ BECS Direct Debit 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.

§pay_by_bank: Option<Value>

If this is a pay_by_bank PaymentMethod, this sub-hash contains details about the PayByBank payment method options.

§payco: Option<CreatePaymentIntentPaymentMethodOptionsPayco>

If this is a payco PaymentMethod, this sub-hash contains details about the PAYCO 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.

§samsung_pay: Option<CreatePaymentIntentPaymentMethodOptionsSamsungPay>

If this is a samsung_pay PaymentMethod, this sub-hash contains details about the Samsung Pay payment method options.

§satispay: Option<CreatePaymentIntentPaymentMethodOptionsSatispay>

If this is a satispay PaymentMethod, this sub-hash contains details about the Satispay 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.

§twint: Option<CreatePaymentIntentPaymentMethodOptionsTwint>

If this is a twint PaymentMethod, this sub-hash contains details about the TWINT 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.

Implementations§

Trait Implementations§

Source§

impl Clone for CreatePaymentIntentPaymentMethodOptions

Source§

fn clone(&self) -> CreatePaymentIntentPaymentMethodOptions

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CreatePaymentIntentPaymentMethodOptions

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for CreatePaymentIntentPaymentMethodOptions

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Serialize for CreatePaymentIntentPaymentMethodOptions

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more