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

source§

fn clone(&self) -> CreatePaymentIntentPaymentMethodOptions

Returns a copy 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() -> CreatePaymentIntentPaymentMethodOptions

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

impl<'de> Deserialize<'de> for CreatePaymentIntentPaymentMethodOptions

source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. 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> 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> Same for T

§

type Output = T

Should always be Self
source§

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

§

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>,

§

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>,

§

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<V, T> VZip<V> for T
where V: MultiLane<T>,

source§

fn vzip(self) -> V

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
source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,