Struct stripe::UpdatePaymentIntentPaymentMethodData

source ·
pub struct UpdatePaymentIntentPaymentMethodData {
Show 37 fields pub acss_debit: Option<UpdatePaymentIntentPaymentMethodDataAcssDebit>, pub affirm: Option<UpdatePaymentIntentPaymentMethodDataAffirm>, pub afterpay_clearpay: Option<UpdatePaymentIntentPaymentMethodDataAfterpayClearpay>, pub alipay: Option<UpdatePaymentIntentPaymentMethodDataAlipay>, pub au_becs_debit: Option<UpdatePaymentIntentPaymentMethodDataAuBecsDebit>, pub bacs_debit: Option<UpdatePaymentIntentPaymentMethodDataBacsDebit>, pub bancontact: Option<UpdatePaymentIntentPaymentMethodDataBancontact>, pub billing_details: Option<UpdatePaymentIntentPaymentMethodDataBillingDetails>, pub blik: Option<UpdatePaymentIntentPaymentMethodDataBlik>, pub boleto: Option<UpdatePaymentIntentPaymentMethodDataBoleto>, pub cashapp: Option<UpdatePaymentIntentPaymentMethodDataCashapp>, pub customer_balance: Option<UpdatePaymentIntentPaymentMethodDataCustomerBalance>, pub eps: Option<UpdatePaymentIntentPaymentMethodDataEps>, pub fpx: Option<UpdatePaymentIntentPaymentMethodDataFpx>, pub giropay: Option<UpdatePaymentIntentPaymentMethodDataGiropay>, pub grabpay: Option<UpdatePaymentIntentPaymentMethodDataGrabpay>, pub ideal: Option<UpdatePaymentIntentPaymentMethodDataIdeal>, pub interac_present: Option<UpdatePaymentIntentPaymentMethodDataInteracPresent>, pub klarna: Option<UpdatePaymentIntentPaymentMethodDataKlarna>, pub konbini: Option<UpdatePaymentIntentPaymentMethodDataKonbini>, pub link: Option<UpdatePaymentIntentPaymentMethodDataLink>, pub metadata: Option<Metadata>, pub oxxo: Option<UpdatePaymentIntentPaymentMethodDataOxxo>, pub p24: Option<UpdatePaymentIntentPaymentMethodDataP24>, pub paynow: Option<UpdatePaymentIntentPaymentMethodDataPaynow>, pub paypal: Option<UpdatePaymentIntentPaymentMethodDataPaypal>, pub pix: Option<UpdatePaymentIntentPaymentMethodDataPix>, pub promptpay: Option<UpdatePaymentIntentPaymentMethodDataPromptpay>, pub radar_options: Option<UpdatePaymentIntentPaymentMethodDataRadarOptions>, pub revolut_pay: Option<UpdatePaymentIntentPaymentMethodDataRevolutPay>, pub sepa_debit: Option<UpdatePaymentIntentPaymentMethodDataSepaDebit>, pub sofort: Option<UpdatePaymentIntentPaymentMethodDataSofort>, pub swish: Option<UpdatePaymentIntentPaymentMethodDataSwish>, pub type_: UpdatePaymentIntentPaymentMethodDataType, pub us_bank_account: Option<UpdatePaymentIntentPaymentMethodDataUsBankAccount>, pub wechat_pay: Option<UpdatePaymentIntentPaymentMethodDataWechatPay>, pub zip: Option<UpdatePaymentIntentPaymentMethodDataZip>,
}

Fields§

§acss_debit: Option<UpdatePaymentIntentPaymentMethodDataAcssDebit>

If this is an acss_debit PaymentMethod, this hash contains details about the ACSS Debit payment method.

§affirm: Option<UpdatePaymentIntentPaymentMethodDataAffirm>

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

§afterpay_clearpay: Option<UpdatePaymentIntentPaymentMethodDataAfterpayClearpay>

If this is an AfterpayClearpay PaymentMethod, this hash contains details about the AfterpayClearpay payment method.

§alipay: Option<UpdatePaymentIntentPaymentMethodDataAlipay>

If this is an Alipay PaymentMethod, this hash contains details about the Alipay payment method.

§au_becs_debit: Option<UpdatePaymentIntentPaymentMethodDataAuBecsDebit>

If this is an au_becs_debit PaymentMethod, this hash contains details about the bank account.

§bacs_debit: Option<UpdatePaymentIntentPaymentMethodDataBacsDebit>

If this is a bacs_debit PaymentMethod, this hash contains details about the Bacs Direct Debit bank account.

§bancontact: Option<UpdatePaymentIntentPaymentMethodDataBancontact>

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

§billing_details: Option<UpdatePaymentIntentPaymentMethodDataBillingDetails>

Billing information associated with the PaymentMethod that may be used or required by particular types of payment methods.

§blik: Option<UpdatePaymentIntentPaymentMethodDataBlik>

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

§boleto: Option<UpdatePaymentIntentPaymentMethodDataBoleto>

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

§cashapp: Option<UpdatePaymentIntentPaymentMethodDataCashapp>

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

§customer_balance: Option<UpdatePaymentIntentPaymentMethodDataCustomerBalance>

If this is a customer_balance PaymentMethod, this hash contains details about the CustomerBalance payment method.

§eps: Option<UpdatePaymentIntentPaymentMethodDataEps>

If this is an eps PaymentMethod, this hash contains details about the EPS payment method.

§fpx: Option<UpdatePaymentIntentPaymentMethodDataFpx>

If this is an fpx PaymentMethod, this hash contains details about the FPX payment method.

§giropay: Option<UpdatePaymentIntentPaymentMethodDataGiropay>

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

§grabpay: Option<UpdatePaymentIntentPaymentMethodDataGrabpay>

If this is a grabpay PaymentMethod, this hash contains details about the GrabPay payment method.

§ideal: Option<UpdatePaymentIntentPaymentMethodDataIdeal>

If this is an ideal PaymentMethod, this hash contains details about the iDEAL payment method.

§interac_present: Option<UpdatePaymentIntentPaymentMethodDataInteracPresent>

If this is an interac_present PaymentMethod, this hash contains details about the Interac Present payment method.

§klarna: Option<UpdatePaymentIntentPaymentMethodDataKlarna>

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

§konbini: Option<UpdatePaymentIntentPaymentMethodDataKonbini>

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

§link: Option<UpdatePaymentIntentPaymentMethodDataLink>

If this is an Link PaymentMethod, this hash contains details about the Link payment method.

§metadata: Option<Metadata>

Set of key-value pairs that you can attach to an object.

This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

§oxxo: Option<UpdatePaymentIntentPaymentMethodDataOxxo>

If this is an oxxo PaymentMethod, this hash contains details about the OXXO payment method.

§p24: Option<UpdatePaymentIntentPaymentMethodDataP24>

If this is a p24 PaymentMethod, this hash contains details about the P24 payment method.

§paynow: Option<UpdatePaymentIntentPaymentMethodDataPaynow>

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

§paypal: Option<UpdatePaymentIntentPaymentMethodDataPaypal>

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

§pix: Option<UpdatePaymentIntentPaymentMethodDataPix>

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

§promptpay: Option<UpdatePaymentIntentPaymentMethodDataPromptpay>

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

§radar_options: Option<UpdatePaymentIntentPaymentMethodDataRadarOptions>

Options to configure Radar.

See Radar Session for more information.

§revolut_pay: Option<UpdatePaymentIntentPaymentMethodDataRevolutPay>

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

§sepa_debit: Option<UpdatePaymentIntentPaymentMethodDataSepaDebit>

If this is a sepa_debit PaymentMethod, this hash contains details about the SEPA debit bank account.

§sofort: Option<UpdatePaymentIntentPaymentMethodDataSofort>

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

§swish: Option<UpdatePaymentIntentPaymentMethodDataSwish>

If this is a swish PaymentMethod, this hash contains details about the Swish payment method.

§type_: UpdatePaymentIntentPaymentMethodDataType

The type of the PaymentMethod.

An additional hash is included on the PaymentMethod with a name matching this value. It contains additional information specific to the PaymentMethod type.

§us_bank_account: Option<UpdatePaymentIntentPaymentMethodDataUsBankAccount>

If this is an us_bank_account PaymentMethod, this hash contains details about the US bank account payment method.

§wechat_pay: Option<UpdatePaymentIntentPaymentMethodDataWechatPay>

If this is an wechat_pay PaymentMethod, this hash contains details about the wechat_pay payment method.

§zip: Option<UpdatePaymentIntentPaymentMethodDataZip>

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

Trait Implementations§

source§

impl Clone for UpdatePaymentIntentPaymentMethodData

source§

fn clone(&self) -> UpdatePaymentIntentPaymentMethodData

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 UpdatePaymentIntentPaymentMethodData

source§

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

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

impl Default for UpdatePaymentIntentPaymentMethodData

source§

fn default() -> UpdatePaymentIntentPaymentMethodData

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

impl<'de> Deserialize<'de> for UpdatePaymentIntentPaymentMethodData

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 UpdatePaymentIntentPaymentMethodData

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