Skip to main content

PaymentIntentPaymentMethodOptions

Struct PaymentIntentPaymentMethodOptions 

Source
pub struct PaymentIntentPaymentMethodOptions {
Show 53 fields pub acss_debit: Option<PaymentIntentPaymentMethodOptionsAcssDebit>, pub affirm: Option<PaymentMethodOptionsAffirm>, pub afterpay_clearpay: Option<PaymentMethodOptionsAfterpayClearpay>, pub alipay: Option<PaymentMethodOptionsAlipay>, pub alma: Option<PaymentMethodOptionsAlma>, pub amazon_pay: Option<PaymentMethodOptionsAmazonPay>, pub au_becs_debit: Option<PaymentIntentPaymentMethodOptionsAuBecsDebit>, pub bacs_debit: Option<PaymentIntentPaymentMethodOptionsBacsDebit>, pub bancontact: Option<PaymentMethodOptionsBancontact>, pub billie: Option<PaymentMethodOptionsBillie>, pub blik: Option<PaymentIntentPaymentMethodOptionsBlik>, pub boleto: Option<PaymentMethodOptionsBoleto>, pub card: Option<PaymentIntentPaymentMethodOptionsCard>, pub card_present: Option<PaymentMethodOptionsCardPresent>, pub cashapp: Option<PaymentMethodOptionsCashapp>, pub crypto: Option<PaymentMethodOptionsCrypto>, pub customer_balance: Option<PaymentMethodOptionsCustomerBalance>, pub eps: Option<PaymentIntentPaymentMethodOptionsEps>, pub fpx: Option<PaymentMethodOptionsFpx>, pub giropay: Option<PaymentMethodOptionsGiropay>, pub grabpay: Option<PaymentMethodOptionsGrabpay>, pub ideal: Option<PaymentMethodOptionsIdeal>, pub interac_present: Option<PaymentMethodOptionsInteracPresent>, pub kakao_pay: Option<PaymentFlowsPrivatePaymentMethodsKakaoPayPaymentMethodOptions>, pub klarna: Option<PaymentMethodOptionsKlarna>, pub konbini: Option<PaymentMethodOptionsKonbini>, pub kr_card: Option<PaymentMethodOptionsKrCard>, pub link: Option<PaymentIntentPaymentMethodOptionsLink>, pub mb_way: Option<PaymentMethodOptionsMbWay>, pub mobilepay: Option<PaymentIntentPaymentMethodOptionsMobilepay>, pub multibanco: Option<PaymentMethodOptionsMultibanco>, pub naver_pay: Option<PaymentFlowsPrivatePaymentMethodsNaverPayPaymentMethodOptions>, pub nz_bank_account: Option<PaymentIntentPaymentMethodOptionsNzBankAccount>, pub oxxo: Option<PaymentMethodOptionsOxxo>, pub p24: Option<PaymentMethodOptionsP24>, pub pay_by_bank: Option<PaymentMethodOptionsPayByBank>, pub payco: Option<PaymentFlowsPrivatePaymentMethodsPaycoPaymentMethodOptions>, pub paynow: Option<PaymentMethodOptionsPaynow>, pub paypal: Option<PaymentMethodOptionsPaypal>, pub payto: Option<PaymentIntentPaymentMethodOptionsPayto>, pub pix: Option<PaymentMethodOptionsPix>, pub promptpay: Option<PaymentMethodOptionsPromptpay>, pub revolut_pay: Option<PaymentMethodOptionsRevolutPay>, pub samsung_pay: Option<PaymentFlowsPrivatePaymentMethodsSamsungPayPaymentMethodOptions>, pub satispay: Option<PaymentMethodOptionsSatispay>, pub sepa_debit: Option<PaymentIntentPaymentMethodOptionsSepaDebit>, pub sofort: Option<PaymentMethodOptionsSofort>, pub swish: Option<PaymentIntentPaymentMethodOptionsSwish>, pub twint: Option<PaymentMethodOptionsTwint>, pub upi: Option<PaymentMethodOptionsUpi>, pub us_bank_account: Option<PaymentIntentPaymentMethodOptionsUsBankAccount>, pub wechat_pay: Option<PaymentMethodOptionsWechatPay>, pub zip: Option<PaymentMethodOptionsZip>,
}

Fields§

§acss_debit: Option<PaymentIntentPaymentMethodOptionsAcssDebit>§affirm: Option<PaymentMethodOptionsAffirm>§afterpay_clearpay: Option<PaymentMethodOptionsAfterpayClearpay>§alipay: Option<PaymentMethodOptionsAlipay>§alma: Option<PaymentMethodOptionsAlma>§amazon_pay: Option<PaymentMethodOptionsAmazonPay>§au_becs_debit: Option<PaymentIntentPaymentMethodOptionsAuBecsDebit>§bacs_debit: Option<PaymentIntentPaymentMethodOptionsBacsDebit>§bancontact: Option<PaymentMethodOptionsBancontact>§billie: Option<PaymentMethodOptionsBillie>§blik: Option<PaymentIntentPaymentMethodOptionsBlik>§boleto: Option<PaymentMethodOptionsBoleto>§card: Option<PaymentIntentPaymentMethodOptionsCard>§card_present: Option<PaymentMethodOptionsCardPresent>§cashapp: Option<PaymentMethodOptionsCashapp>§crypto: Option<PaymentMethodOptionsCrypto>§customer_balance: Option<PaymentMethodOptionsCustomerBalance>§eps: Option<PaymentIntentPaymentMethodOptionsEps>§fpx: Option<PaymentMethodOptionsFpx>§giropay: Option<PaymentMethodOptionsGiropay>§grabpay: Option<PaymentMethodOptionsGrabpay>§ideal: Option<PaymentMethodOptionsIdeal>§interac_present: Option<PaymentMethodOptionsInteracPresent>§kakao_pay: Option<PaymentFlowsPrivatePaymentMethodsKakaoPayPaymentMethodOptions>§klarna: Option<PaymentMethodOptionsKlarna>§konbini: Option<PaymentMethodOptionsKonbini>§kr_card: Option<PaymentMethodOptionsKrCard>§link: Option<PaymentIntentPaymentMethodOptionsLink>§mb_way: Option<PaymentMethodOptionsMbWay>§mobilepay: Option<PaymentIntentPaymentMethodOptionsMobilepay>§multibanco: Option<PaymentMethodOptionsMultibanco>§naver_pay: Option<PaymentFlowsPrivatePaymentMethodsNaverPayPaymentMethodOptions>§nz_bank_account: Option<PaymentIntentPaymentMethodOptionsNzBankAccount>§oxxo: Option<PaymentMethodOptionsOxxo>§p24: Option<PaymentMethodOptionsP24>§pay_by_bank: Option<PaymentMethodOptionsPayByBank>§payco: Option<PaymentFlowsPrivatePaymentMethodsPaycoPaymentMethodOptions>§paynow: Option<PaymentMethodOptionsPaynow>§paypal: Option<PaymentMethodOptionsPaypal>§payto: Option<PaymentIntentPaymentMethodOptionsPayto>§pix: Option<PaymentMethodOptionsPix>§promptpay: Option<PaymentMethodOptionsPromptpay>§revolut_pay: Option<PaymentMethodOptionsRevolutPay>§samsung_pay: Option<PaymentFlowsPrivatePaymentMethodsSamsungPayPaymentMethodOptions>§satispay: Option<PaymentMethodOptionsSatispay>§sepa_debit: Option<PaymentIntentPaymentMethodOptionsSepaDebit>§sofort: Option<PaymentMethodOptionsSofort>§swish: Option<PaymentIntentPaymentMethodOptionsSwish>§twint: Option<PaymentMethodOptionsTwint>§upi: Option<PaymentMethodOptionsUpi>§us_bank_account: Option<PaymentIntentPaymentMethodOptionsUsBankAccount>§wechat_pay: Option<PaymentMethodOptionsWechatPay>§zip: Option<PaymentMethodOptionsZip>

Trait Implementations§

Source§

impl Clone for PaymentIntentPaymentMethodOptions

Source§

fn clone(&self) -> PaymentIntentPaymentMethodOptions

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

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

Performs copy-assignment from source. Read more
Source§

impl Debug for PaymentIntentPaymentMethodOptions

Source§

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

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

impl Deserialize for PaymentIntentPaymentMethodOptions

Source§

fn begin(out: &mut Option<Self>) -> &mut dyn Visitor

The only correct implementation of this method is: Read more
Source§

impl FromValueOpt for PaymentIntentPaymentMethodOptions

Source§

impl ObjectDeser for PaymentIntentPaymentMethodOptions

Source§

impl PartialEq for PaymentIntentPaymentMethodOptions

Source§

fn eq(&self, other: &PaymentIntentPaymentMethodOptions) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for PaymentIntentPaymentMethodOptions

Source§

impl StructuralPartialEq for PaymentIntentPaymentMethodOptions

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