Struct stripe::UpdateSetupIntentPaymentMethodData

source ·
pub struct UpdateSetupIntentPaymentMethodData {
Show 37 fields pub acss_debit: Option<UpdateSetupIntentPaymentMethodDataAcssDebit>, pub affirm: Option<UpdateSetupIntentPaymentMethodDataAffirm>, pub afterpay_clearpay: Option<UpdateSetupIntentPaymentMethodDataAfterpayClearpay>, pub alipay: Option<UpdateSetupIntentPaymentMethodDataAlipay>, pub au_becs_debit: Option<UpdateSetupIntentPaymentMethodDataAuBecsDebit>, pub bacs_debit: Option<UpdateSetupIntentPaymentMethodDataBacsDebit>, pub bancontact: Option<UpdateSetupIntentPaymentMethodDataBancontact>, pub billing_details: Option<UpdateSetupIntentPaymentMethodDataBillingDetails>, pub blik: Option<UpdateSetupIntentPaymentMethodDataBlik>, pub boleto: Option<UpdateSetupIntentPaymentMethodDataBoleto>, pub cashapp: Option<UpdateSetupIntentPaymentMethodDataCashapp>, pub customer_balance: Option<UpdateSetupIntentPaymentMethodDataCustomerBalance>, pub eps: Option<UpdateSetupIntentPaymentMethodDataEps>, pub fpx: Option<UpdateSetupIntentPaymentMethodDataFpx>, pub giropay: Option<UpdateSetupIntentPaymentMethodDataGiropay>, pub grabpay: Option<UpdateSetupIntentPaymentMethodDataGrabpay>, pub ideal: Option<UpdateSetupIntentPaymentMethodDataIdeal>, pub interac_present: Option<UpdateSetupIntentPaymentMethodDataInteracPresent>, pub klarna: Option<UpdateSetupIntentPaymentMethodDataKlarna>, pub konbini: Option<UpdateSetupIntentPaymentMethodDataKonbini>, pub link: Option<UpdateSetupIntentPaymentMethodDataLink>, pub metadata: Option<Metadata>, pub oxxo: Option<UpdateSetupIntentPaymentMethodDataOxxo>, pub p24: Option<UpdateSetupIntentPaymentMethodDataP24>, pub paynow: Option<UpdateSetupIntentPaymentMethodDataPaynow>, pub paypal: Option<UpdateSetupIntentPaymentMethodDataPaypal>, pub pix: Option<UpdateSetupIntentPaymentMethodDataPix>, pub promptpay: Option<UpdateSetupIntentPaymentMethodDataPromptpay>, pub radar_options: Option<UpdateSetupIntentPaymentMethodDataRadarOptions>, pub revolut_pay: Option<UpdateSetupIntentPaymentMethodDataRevolutPay>, pub sepa_debit: Option<UpdateSetupIntentPaymentMethodDataSepaDebit>, pub sofort: Option<UpdateSetupIntentPaymentMethodDataSofort>, pub swish: Option<UpdateSetupIntentPaymentMethodDataSwish>, pub type_: UpdateSetupIntentPaymentMethodDataType, pub us_bank_account: Option<UpdateSetupIntentPaymentMethodDataUsBankAccount>, pub wechat_pay: Option<UpdateSetupIntentPaymentMethodDataWechatPay>, pub zip: Option<UpdateSetupIntentPaymentMethodDataZip>,
}

Fields§

§acss_debit: Option<UpdateSetupIntentPaymentMethodDataAcssDebit>

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

§affirm: Option<UpdateSetupIntentPaymentMethodDataAffirm>

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

§afterpay_clearpay: Option<UpdateSetupIntentPaymentMethodDataAfterpayClearpay>

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

§alipay: Option<UpdateSetupIntentPaymentMethodDataAlipay>

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

§au_becs_debit: Option<UpdateSetupIntentPaymentMethodDataAuBecsDebit>

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

§bacs_debit: Option<UpdateSetupIntentPaymentMethodDataBacsDebit>

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

§bancontact: Option<UpdateSetupIntentPaymentMethodDataBancontact>

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

§billing_details: Option<UpdateSetupIntentPaymentMethodDataBillingDetails>

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

§blik: Option<UpdateSetupIntentPaymentMethodDataBlik>

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

§boleto: Option<UpdateSetupIntentPaymentMethodDataBoleto>

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

§cashapp: Option<UpdateSetupIntentPaymentMethodDataCashapp>

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

§customer_balance: Option<UpdateSetupIntentPaymentMethodDataCustomerBalance>

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

§eps: Option<UpdateSetupIntentPaymentMethodDataEps>

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

§fpx: Option<UpdateSetupIntentPaymentMethodDataFpx>

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

§giropay: Option<UpdateSetupIntentPaymentMethodDataGiropay>

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

§grabpay: Option<UpdateSetupIntentPaymentMethodDataGrabpay>

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

§ideal: Option<UpdateSetupIntentPaymentMethodDataIdeal>

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

§interac_present: Option<UpdateSetupIntentPaymentMethodDataInteracPresent>

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

§klarna: Option<UpdateSetupIntentPaymentMethodDataKlarna>

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

§konbini: Option<UpdateSetupIntentPaymentMethodDataKonbini>

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

§link: Option<UpdateSetupIntentPaymentMethodDataLink>

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

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

§p24: Option<UpdateSetupIntentPaymentMethodDataP24>

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

§paynow: Option<UpdateSetupIntentPaymentMethodDataPaynow>

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

§paypal: Option<UpdateSetupIntentPaymentMethodDataPaypal>

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

§pix: Option<UpdateSetupIntentPaymentMethodDataPix>

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

§promptpay: Option<UpdateSetupIntentPaymentMethodDataPromptpay>

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

§radar_options: Option<UpdateSetupIntentPaymentMethodDataRadarOptions>

Options to configure Radar.

See Radar Session for more information.

§revolut_pay: Option<UpdateSetupIntentPaymentMethodDataRevolutPay>

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

§sepa_debit: Option<UpdateSetupIntentPaymentMethodDataSepaDebit>

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

§sofort: Option<UpdateSetupIntentPaymentMethodDataSofort>

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

§swish: Option<UpdateSetupIntentPaymentMethodDataSwish>

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

§type_: UpdateSetupIntentPaymentMethodDataType

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

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

§wechat_pay: Option<UpdateSetupIntentPaymentMethodDataWechatPay>

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

§zip: Option<UpdateSetupIntentPaymentMethodDataZip>

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

Trait Implementations§

source§

impl Clone for UpdateSetupIntentPaymentMethodData

source§

fn clone(&self) -> UpdateSetupIntentPaymentMethodData

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 UpdateSetupIntentPaymentMethodData

source§

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

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

impl Default for UpdateSetupIntentPaymentMethodData

source§

fn default() -> UpdateSetupIntentPaymentMethodData

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

impl<'de> Deserialize<'de> for UpdateSetupIntentPaymentMethodData

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 UpdateSetupIntentPaymentMethodData

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