pub struct UpdatePaymentIntentPaymentMethodOptions {
Show 35 fields pub acss_debit: Option<UpdatePaymentIntentPaymentMethodOptionsAcssDebit>, pub affirm: Option<UpdatePaymentIntentPaymentMethodOptionsAffirm>, pub afterpay_clearpay: Option<UpdatePaymentIntentPaymentMethodOptionsAfterpayClearpay>, pub alipay: Option<UpdatePaymentIntentPaymentMethodOptionsAlipay>, pub au_becs_debit: Option<UpdatePaymentIntentPaymentMethodOptionsAuBecsDebit>, pub bacs_debit: Option<UpdatePaymentIntentPaymentMethodOptionsBacsDebit>, pub bancontact: Option<UpdatePaymentIntentPaymentMethodOptionsBancontact>, pub blik: Option<UpdatePaymentIntentPaymentMethodOptionsBlik>, pub boleto: Option<UpdatePaymentIntentPaymentMethodOptionsBoleto>, pub card: Option<UpdatePaymentIntentPaymentMethodOptionsCard>, pub card_present: Option<UpdatePaymentIntentPaymentMethodOptionsCardPresent>, pub cashapp: Option<UpdatePaymentIntentPaymentMethodOptionsCashapp>, pub customer_balance: Option<UpdatePaymentIntentPaymentMethodOptionsCustomerBalance>, pub eps: Option<UpdatePaymentIntentPaymentMethodOptionsEps>, pub fpx: Option<UpdatePaymentIntentPaymentMethodOptionsFpx>, pub giropay: Option<UpdatePaymentIntentPaymentMethodOptionsGiropay>, pub grabpay: Option<UpdatePaymentIntentPaymentMethodOptionsGrabpay>, pub ideal: Option<UpdatePaymentIntentPaymentMethodOptionsIdeal>, pub interac_present: Option<UpdatePaymentIntentPaymentMethodOptionsInteracPresent>, pub klarna: Option<UpdatePaymentIntentPaymentMethodOptionsKlarna>, pub konbini: Option<UpdatePaymentIntentPaymentMethodOptionsKonbini>, pub link: Option<UpdatePaymentIntentPaymentMethodOptionsLink>, pub oxxo: Option<UpdatePaymentIntentPaymentMethodOptionsOxxo>, pub p24: Option<UpdatePaymentIntentPaymentMethodOptionsP24>, pub paynow: Option<UpdatePaymentIntentPaymentMethodOptionsPaynow>, pub paypal: Option<UpdatePaymentIntentPaymentMethodOptionsPaypal>, pub pix: Option<UpdatePaymentIntentPaymentMethodOptionsPix>, pub promptpay: Option<UpdatePaymentIntentPaymentMethodOptionsPromptpay>, pub revolut_pay: Option<UpdatePaymentIntentPaymentMethodOptionsRevolutPay>, pub sepa_debit: Option<UpdatePaymentIntentPaymentMethodOptionsSepaDebit>, pub sofort: Option<UpdatePaymentIntentPaymentMethodOptionsSofort>, pub swish: Option<UpdatePaymentIntentPaymentMethodOptionsSwish>, pub us_bank_account: Option<UpdatePaymentIntentPaymentMethodOptionsUsBankAccount>, pub wechat_pay: Option<UpdatePaymentIntentPaymentMethodOptionsWechatPay>, pub zip: Option<UpdatePaymentIntentPaymentMethodOptionsZip>,
}

Fields§

§acss_debit: Option<UpdatePaymentIntentPaymentMethodOptionsAcssDebit>

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

§affirm: Option<UpdatePaymentIntentPaymentMethodOptionsAffirm>

If this is an affirm PaymentMethod, this sub-hash contains details about the Affirm payment method options.

§afterpay_clearpay: Option<UpdatePaymentIntentPaymentMethodOptionsAfterpayClearpay>

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

§alipay: Option<UpdatePaymentIntentPaymentMethodOptionsAlipay>

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

§au_becs_debit: Option<UpdatePaymentIntentPaymentMethodOptionsAuBecsDebit>

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

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

§bancontact: Option<UpdatePaymentIntentPaymentMethodOptionsBancontact>

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

§blik: Option<UpdatePaymentIntentPaymentMethodOptionsBlik>

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

§boleto: Option<UpdatePaymentIntentPaymentMethodOptionsBoleto>

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

§card: Option<UpdatePaymentIntentPaymentMethodOptionsCard>

Configuration for any card payments attempted on this PaymentIntent.

§card_present: Option<UpdatePaymentIntentPaymentMethodOptionsCardPresent>

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

§cashapp: Option<UpdatePaymentIntentPaymentMethodOptionsCashapp>

If this is a cashapp PaymentMethod, this sub-hash contains details about the Cash App Pay payment method options.

§customer_balance: Option<UpdatePaymentIntentPaymentMethodOptionsCustomerBalance>

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

§eps: Option<UpdatePaymentIntentPaymentMethodOptionsEps>

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

§fpx: Option<UpdatePaymentIntentPaymentMethodOptionsFpx>

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

§giropay: Option<UpdatePaymentIntentPaymentMethodOptionsGiropay>

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

§grabpay: Option<UpdatePaymentIntentPaymentMethodOptionsGrabpay>

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

§ideal: Option<UpdatePaymentIntentPaymentMethodOptionsIdeal>

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

§interac_present: Option<UpdatePaymentIntentPaymentMethodOptionsInteracPresent>

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

§klarna: Option<UpdatePaymentIntentPaymentMethodOptionsKlarna>

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

§konbini: Option<UpdatePaymentIntentPaymentMethodOptionsKonbini>

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

§link: Option<UpdatePaymentIntentPaymentMethodOptionsLink>

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

§oxxo: Option<UpdatePaymentIntentPaymentMethodOptionsOxxo>

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

§p24: Option<UpdatePaymentIntentPaymentMethodOptionsP24>

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

§paynow: Option<UpdatePaymentIntentPaymentMethodOptionsPaynow>

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

§paypal: Option<UpdatePaymentIntentPaymentMethodOptionsPaypal>

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

§pix: Option<UpdatePaymentIntentPaymentMethodOptionsPix>

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

§promptpay: Option<UpdatePaymentIntentPaymentMethodOptionsPromptpay>

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

§revolut_pay: Option<UpdatePaymentIntentPaymentMethodOptionsRevolutPay>

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

§sepa_debit: Option<UpdatePaymentIntentPaymentMethodOptionsSepaDebit>

If this is a sepa_debit PaymentIntent, this sub-hash contains details about the SEPA Debit payment method options.

§sofort: Option<UpdatePaymentIntentPaymentMethodOptionsSofort>

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

§swish: Option<UpdatePaymentIntentPaymentMethodOptionsSwish>

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

§us_bank_account: Option<UpdatePaymentIntentPaymentMethodOptionsUsBankAccount>

If this is a us_bank_account PaymentMethod, this sub-hash contains details about the US bank account payment method options.

§wechat_pay: Option<UpdatePaymentIntentPaymentMethodOptionsWechatPay>

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

§zip: Option<UpdatePaymentIntentPaymentMethodOptionsZip>

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

Trait Implementations§

source§

impl Clone for UpdatePaymentIntentPaymentMethodOptions

source§

fn clone(&self) -> UpdatePaymentIntentPaymentMethodOptions

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 UpdatePaymentIntentPaymentMethodOptions

source§

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

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

impl Default for UpdatePaymentIntentPaymentMethodOptions

source§

fn default() -> UpdatePaymentIntentPaymentMethodOptions

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

impl<'de> Deserialize<'de> for UpdatePaymentIntentPaymentMethodOptions

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 UpdatePaymentIntentPaymentMethodOptions

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