pub struct CreateSetupIntentPaymentMethodDataUsBankAccount {
pub account_holder_type: Option<CreateSetupIntentPaymentMethodDataUsBankAccountAccountHolderType>,
pub account_number: Option<String>,
pub account_type: Option<CreateSetupIntentPaymentMethodDataUsBankAccountAccountType>,
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<CreateSetupIntentPaymentMethodDataUsBankAccountAccountHolderType>
Account holder type: individual or company.
account_number: Option<String>
Account number of the bank account.
account_type: Option<CreateSetupIntentPaymentMethodDataUsBankAccountAccountType>
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 CreateSetupIntentPaymentMethodDataUsBankAccount
impl Clone for CreateSetupIntentPaymentMethodDataUsBankAccount
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodDataUsBankAccount
fn clone(&self) -> CreateSetupIntentPaymentMethodDataUsBankAccount
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 CreateSetupIntentPaymentMethodDataUsBankAccount
impl RefUnwindSafe for CreateSetupIntentPaymentMethodDataUsBankAccount
impl Send for CreateSetupIntentPaymentMethodDataUsBankAccount
impl Sync for CreateSetupIntentPaymentMethodDataUsBankAccount
impl Unpin for CreateSetupIntentPaymentMethodDataUsBankAccount
impl UnwindSafe for CreateSetupIntentPaymentMethodDataUsBankAccount
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