pub struct CreateCheckoutSessionPaymentMethodOptions {
Show 30 fields pub acss_debit: Option<CreateCheckoutSessionPaymentMethodOptionsAcssDebit>, pub affirm: Option<CreateCheckoutSessionPaymentMethodOptionsAffirm>, pub afterpay_clearpay: Option<CreateCheckoutSessionPaymentMethodOptionsAfterpayClearpay>, pub alipay: Option<CreateCheckoutSessionPaymentMethodOptionsAlipay>, pub au_becs_debit: Option<CreateCheckoutSessionPaymentMethodOptionsAuBecsDebit>, pub bacs_debit: Option<CreateCheckoutSessionPaymentMethodOptionsBacsDebit>, pub bancontact: Option<CreateCheckoutSessionPaymentMethodOptionsBancontact>, pub boleto: Option<CreateCheckoutSessionPaymentMethodOptionsBoleto>, pub card: Option<CreateCheckoutSessionPaymentMethodOptionsCard>, pub cashapp: Option<CreateCheckoutSessionPaymentMethodOptionsCashapp>, pub customer_balance: Option<CreateCheckoutSessionPaymentMethodOptionsCustomerBalance>, pub eps: Option<CreateCheckoutSessionPaymentMethodOptionsEps>, pub fpx: Option<CreateCheckoutSessionPaymentMethodOptionsFpx>, pub giropay: Option<CreateCheckoutSessionPaymentMethodOptionsGiropay>, pub grabpay: Option<CreateCheckoutSessionPaymentMethodOptionsGrabpay>, pub ideal: Option<CreateCheckoutSessionPaymentMethodOptionsIdeal>, pub klarna: Option<CreateCheckoutSessionPaymentMethodOptionsKlarna>, pub konbini: Option<CreateCheckoutSessionPaymentMethodOptionsKonbini>, pub link: Option<CreateCheckoutSessionPaymentMethodOptionsLink>, pub oxxo: Option<CreateCheckoutSessionPaymentMethodOptionsOxxo>, pub p24: Option<CreateCheckoutSessionPaymentMethodOptionsP24>, pub paynow: Option<CreateCheckoutSessionPaymentMethodOptionsPaynow>, pub paypal: Option<CreateCheckoutSessionPaymentMethodOptionsPaypal>, pub pix: Option<CreateCheckoutSessionPaymentMethodOptionsPix>, pub revolut_pay: Option<CreateCheckoutSessionPaymentMethodOptionsRevolutPay>, pub sepa_debit: Option<CreateCheckoutSessionPaymentMethodOptionsSepaDebit>, pub sofort: Option<CreateCheckoutSessionPaymentMethodOptionsSofort>, pub swish: Option<CreateCheckoutSessionPaymentMethodOptionsSwish>, pub us_bank_account: Option<CreateCheckoutSessionPaymentMethodOptionsUsBankAccount>, pub wechat_pay: Option<CreateCheckoutSessionPaymentMethodOptionsWechatPay>,
}

Fields§

§acss_debit: Option<CreateCheckoutSessionPaymentMethodOptionsAcssDebit>

contains details about the ACSS Debit payment method options.

§affirm: Option<CreateCheckoutSessionPaymentMethodOptionsAffirm>

contains details about the Affirm payment method options.

§afterpay_clearpay: Option<CreateCheckoutSessionPaymentMethodOptionsAfterpayClearpay>

contains details about the Afterpay Clearpay payment method options.

§alipay: Option<CreateCheckoutSessionPaymentMethodOptionsAlipay>

contains details about the Alipay payment method options.

§au_becs_debit: Option<CreateCheckoutSessionPaymentMethodOptionsAuBecsDebit>

contains details about the AU Becs Debit payment method options.

§bacs_debit: Option<CreateCheckoutSessionPaymentMethodOptionsBacsDebit>

contains details about the Bacs Debit payment method options.

§bancontact: Option<CreateCheckoutSessionPaymentMethodOptionsBancontact>

contains details about the Bancontact payment method options.

§boleto: Option<CreateCheckoutSessionPaymentMethodOptionsBoleto>

contains details about the Boleto payment method options.

§card: Option<CreateCheckoutSessionPaymentMethodOptionsCard>

contains details about the Card payment method options.

§cashapp: Option<CreateCheckoutSessionPaymentMethodOptionsCashapp>

contains details about the Cashapp Pay payment method options.

§customer_balance: Option<CreateCheckoutSessionPaymentMethodOptionsCustomerBalance>

contains details about the Customer Balance payment method options.

§eps: Option<CreateCheckoutSessionPaymentMethodOptionsEps>

contains details about the EPS payment method options.

§fpx: Option<CreateCheckoutSessionPaymentMethodOptionsFpx>

contains details about the FPX payment method options.

§giropay: Option<CreateCheckoutSessionPaymentMethodOptionsGiropay>

contains details about the Giropay payment method options.

§grabpay: Option<CreateCheckoutSessionPaymentMethodOptionsGrabpay>

contains details about the Grabpay payment method options.

§ideal: Option<CreateCheckoutSessionPaymentMethodOptionsIdeal>

contains details about the Ideal payment method options.

§klarna: Option<CreateCheckoutSessionPaymentMethodOptionsKlarna>

contains details about the Klarna payment method options.

§konbini: Option<CreateCheckoutSessionPaymentMethodOptionsKonbini>

contains details about the Konbini payment method options.

§link: Option<CreateCheckoutSessionPaymentMethodOptionsLink>

contains details about the Link payment method options.

§oxxo: Option<CreateCheckoutSessionPaymentMethodOptionsOxxo>

contains details about the OXXO payment method options.

§p24: Option<CreateCheckoutSessionPaymentMethodOptionsP24>

contains details about the P24 payment method options.

§paynow: Option<CreateCheckoutSessionPaymentMethodOptionsPaynow>

contains details about the PayNow payment method options.

§paypal: Option<CreateCheckoutSessionPaymentMethodOptionsPaypal>

contains details about the PayPal payment method options.

§pix: Option<CreateCheckoutSessionPaymentMethodOptionsPix>

contains details about the Pix payment method options.

§revolut_pay: Option<CreateCheckoutSessionPaymentMethodOptionsRevolutPay>

contains details about the RevolutPay payment method options.

§sepa_debit: Option<CreateCheckoutSessionPaymentMethodOptionsSepaDebit>

contains details about the Sepa Debit payment method options.

§sofort: Option<CreateCheckoutSessionPaymentMethodOptionsSofort>

contains details about the Sofort payment method options.

§swish: Option<CreateCheckoutSessionPaymentMethodOptionsSwish>

contains details about the Swish payment method options.

§us_bank_account: Option<CreateCheckoutSessionPaymentMethodOptionsUsBankAccount>

contains details about the Us Bank Account payment method options.

§wechat_pay: Option<CreateCheckoutSessionPaymentMethodOptionsWechatPay>

contains details about the WeChat Pay payment method options.

Trait Implementations§

source§

impl Clone for CreateCheckoutSessionPaymentMethodOptions

source§

fn clone(&self) -> CreateCheckoutSessionPaymentMethodOptions

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 CreateCheckoutSessionPaymentMethodOptions

source§

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

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

impl Default for CreateCheckoutSessionPaymentMethodOptions

source§

fn default() -> CreateCheckoutSessionPaymentMethodOptions

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

impl<'de> Deserialize<'de> for CreateCheckoutSessionPaymentMethodOptions

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 CreateCheckoutSessionPaymentMethodOptions

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

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

§

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