Struct stripe::MandatePaymentMethodDetails
source · pub struct MandatePaymentMethodDetails {
pub acss_debit: Option<MandateAcssDebit>,
pub au_becs_debit: Option<MandateAuBecsDebit>,
pub bacs_debit: Option<MandateBacsDebit>,
pub card: Option<CardMandatePaymentMethodDetails>,
pub cashapp: Option<MandateCashapp>,
pub link: Option<MandateLink>,
pub paypal: Option<MandatePaypal>,
pub sepa_debit: Option<MandateSepaDebit>,
pub type_: String,
pub us_bank_account: Option<MandateUsBankAccount>,
}
Fields§
§acss_debit: Option<MandateAcssDebit>
§au_becs_debit: Option<MandateAuBecsDebit>
§bacs_debit: Option<MandateBacsDebit>
§card: Option<CardMandatePaymentMethodDetails>
§cashapp: Option<MandateCashapp>
§link: Option<MandateLink>
§paypal: Option<MandatePaypal>
§sepa_debit: Option<MandateSepaDebit>
§type_: String
This mandate corresponds with a specific payment method type.
The payment_method_details
includes an additional hash with the same name and contains mandate information that’s specific to that payment method.
us_bank_account: Option<MandateUsBankAccount>
Trait Implementations§
source§impl Clone for MandatePaymentMethodDetails
impl Clone for MandatePaymentMethodDetails
source§fn clone(&self) -> MandatePaymentMethodDetails
fn clone(&self) -> MandatePaymentMethodDetails
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 Debug for MandatePaymentMethodDetails
impl Debug for MandatePaymentMethodDetails
source§impl Default for MandatePaymentMethodDetails
impl Default for MandatePaymentMethodDetails
source§fn default() -> MandatePaymentMethodDetails
fn default() -> MandatePaymentMethodDetails
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MandatePaymentMethodDetails
impl<'de> Deserialize<'de> for MandatePaymentMethodDetails
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 Freeze for MandatePaymentMethodDetails
impl RefUnwindSafe for MandatePaymentMethodDetails
impl Send for MandatePaymentMethodDetails
impl Sync for MandatePaymentMethodDetails
impl Unpin for MandatePaymentMethodDetails
impl UnwindSafe for MandatePaymentMethodDetails
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