pub struct CreatePaymentIntentPaymentMethodDataUsBankAccount {
pub account_holder_type: Option<CreatePaymentIntentPaymentMethodDataUsBankAccountAccountHolderType>,
pub account_number: Option<String>,
pub account_type: Option<CreatePaymentIntentPaymentMethodDataUsBankAccountAccountType>,
pub financial_connections_account: Option<String>,
pub routing_number: Option<String>,
}
Expand description
If this is an us_bank_account
PaymentMethod, this hash contains details about the US bank account payment method.
Fields§
§account_holder_type: Option<CreatePaymentIntentPaymentMethodDataUsBankAccountAccountHolderType>
Account holder type: individual or company.
account_number: Option<String>
Account number of the bank account.
account_type: Option<CreatePaymentIntentPaymentMethodDataUsBankAccountAccountType>
Account type: checkings or savings. Defaults to checking if omitted.
financial_connections_account: Option<String>
The ID of a Financial Connections Account to use as a payment method.
routing_number: Option<String>
Routing number of the bank account.
Implementations§
Trait Implementations§
Source§impl Clone for CreatePaymentIntentPaymentMethodDataUsBankAccount
impl Clone for CreatePaymentIntentPaymentMethodDataUsBankAccount
Source§fn clone(&self) -> CreatePaymentIntentPaymentMethodDataUsBankAccount
fn clone(&self) -> CreatePaymentIntentPaymentMethodDataUsBankAccount
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 CreatePaymentIntentPaymentMethodDataUsBankAccount
impl RefUnwindSafe for CreatePaymentIntentPaymentMethodDataUsBankAccount
impl Send for CreatePaymentIntentPaymentMethodDataUsBankAccount
impl Sync for CreatePaymentIntentPaymentMethodDataUsBankAccount
impl Unpin for CreatePaymentIntentPaymentMethodDataUsBankAccount
impl UnwindSafe for CreatePaymentIntentPaymentMethodDataUsBankAccount
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