pub struct SetupAttemptPaymentMethodDetails {Show 16 fields
pub acss_debit: Option<SetupAttemptPaymentMethodDetailsAcssDebit>,
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 klarna: Option<SetupAttemptPaymentMethodDetailsKlarna>,
pub link: Option<SetupAttemptPaymentMethodDetailsLink>,
pub paypal: Option<SetupAttemptPaymentMethodDetailsPaypal>,
pub sepa_debit: Option<SetupAttemptPaymentMethodDetailsSepaDebit>,
pub sofort: Option<SetupAttemptPaymentMethodDetailsSofort>,
pub type_: String,
pub us_bank_account: Option<SetupAttemptPaymentMethodDetailsUsBankAccount>,
}
Fields§
§acss_debit: Option<SetupAttemptPaymentMethodDetailsAcssDebit>
§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>
§klarna: Option<SetupAttemptPaymentMethodDetailsKlarna>
§link: Option<SetupAttemptPaymentMethodDetailsLink>
§paypal: Option<SetupAttemptPaymentMethodDetailsPaypal>
§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 copy 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 moresource§impl Default for SetupAttemptPaymentMethodDetails
impl Default for SetupAttemptPaymentMethodDetails
source§fn default() -> SetupAttemptPaymentMethodDetails
fn default() -> SetupAttemptPaymentMethodDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for SetupAttemptPaymentMethodDetails
impl<'de> Deserialize<'de> for SetupAttemptPaymentMethodDetails
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
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