pub struct SetupAttemptPaymentMethodDetails {Show 22 fields
pub acss_debit: Option<SetupAttemptPaymentMethodDetailsAcssDebit>,
pub amazon_pay: Option<SetupAttemptPaymentMethodDetailsAmazonPay>,
pub au_becs_debit: Option<SetupAttemptPaymentMethodDetailsAuBecsDebit>,
pub bacs_debit: Option<SetupAttemptPaymentMethodDetailsBacsDebit>,
pub bancontact: Option<SetupAttemptPaymentMethodDetailsBancontact>,
pub boleto: Option<SetupAttemptPaymentMethodDetailsBoleto>,
pub card: Option<SetupAttemptPaymentMethodDetailsCard>,
pub card_present: Option<SetupAttemptPaymentMethodDetailsCardPresent>,
pub cashapp: Option<SetupAttemptPaymentMethodDetailsCashapp>,
pub ideal: Option<SetupAttemptPaymentMethodDetailsIdeal>,
pub kakao_pay: Option<SetupAttemptPaymentMethodDetailsKakaoPay>,
pub klarna: Option<SetupAttemptPaymentMethodDetailsKlarna>,
pub kr_card: Option<SetupAttemptPaymentMethodDetailsKrCard>,
pub link: Option<SetupAttemptPaymentMethodDetailsLink>,
pub naver_pay: Option<SetupAttemptPaymentMethodDetailsNaverPay>,
pub nz_bank_account: Option<SetupAttemptPaymentMethodDetailsNzBankAccount>,
pub paypal: Option<SetupAttemptPaymentMethodDetailsPaypal>,
pub revolut_pay: Option<SetupAttemptPaymentMethodDetailsRevolutPay>,
pub sepa_debit: Option<SetupAttemptPaymentMethodDetailsSepaDebit>,
pub sofort: Option<SetupAttemptPaymentMethodDetailsSofort>,
pub type_: String,
pub us_bank_account: Option<SetupAttemptPaymentMethodDetailsUsBankAccount>,
}
Fields§
§acss_debit: Option<SetupAttemptPaymentMethodDetailsAcssDebit>
§amazon_pay: Option<SetupAttemptPaymentMethodDetailsAmazonPay>
§au_becs_debit: Option<SetupAttemptPaymentMethodDetailsAuBecsDebit>
§bacs_debit: Option<SetupAttemptPaymentMethodDetailsBacsDebit>
§bancontact: Option<SetupAttemptPaymentMethodDetailsBancontact>
§boleto: Option<SetupAttemptPaymentMethodDetailsBoleto>
§card: Option<SetupAttemptPaymentMethodDetailsCard>
§card_present: Option<SetupAttemptPaymentMethodDetailsCardPresent>
§cashapp: Option<SetupAttemptPaymentMethodDetailsCashapp>
§ideal: Option<SetupAttemptPaymentMethodDetailsIdeal>
§kakao_pay: Option<SetupAttemptPaymentMethodDetailsKakaoPay>
§klarna: Option<SetupAttemptPaymentMethodDetailsKlarna>
§kr_card: Option<SetupAttemptPaymentMethodDetailsKrCard>
§link: Option<SetupAttemptPaymentMethodDetailsLink>
§nz_bank_account: Option<SetupAttemptPaymentMethodDetailsNzBankAccount>
§paypal: Option<SetupAttemptPaymentMethodDetailsPaypal>
§revolut_pay: Option<SetupAttemptPaymentMethodDetailsRevolutPay>
§sepa_debit: Option<SetupAttemptPaymentMethodDetailsSepaDebit>
§sofort: Option<SetupAttemptPaymentMethodDetailsSofort>
§type_: String
The type of the payment method used in the SetupIntent (e.g., card
).
An additional hash is included on payment_method_details
with a name matching this value.
It contains confirmation-specific information for the payment method.
us_bank_account: Option<SetupAttemptPaymentMethodDetailsUsBankAccount>
Trait Implementations§
Source§impl Clone for SetupAttemptPaymentMethodDetails
impl Clone for SetupAttemptPaymentMethodDetails
Source§fn clone(&self) -> SetupAttemptPaymentMethodDetails
fn clone(&self) -> SetupAttemptPaymentMethodDetails
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SetupAttemptPaymentMethodDetails
impl RefUnwindSafe for SetupAttemptPaymentMethodDetails
impl Send for SetupAttemptPaymentMethodDetails
impl Sync for SetupAttemptPaymentMethodDetails
impl Unpin for SetupAttemptPaymentMethodDetails
impl UnwindSafe for SetupAttemptPaymentMethodDetails
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more