pub struct CreatePaymentMethodUsBankAccount {
pub account_holder_type: Option<CreatePaymentMethodUsBankAccountAccountHolderType>,
pub account_number: Option<String>,
pub account_type: Option<CreatePaymentMethodUsBankAccountAccountType>,
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<CreatePaymentMethodUsBankAccountAccountHolderType>Account holder type: individual or company.
account_number: Option<String>Account number of the bank account.
account_type: Option<CreatePaymentMethodUsBankAccountAccountType>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 CreatePaymentMethodUsBankAccount
impl Clone for CreatePaymentMethodUsBankAccount
Source§fn clone(&self) -> CreatePaymentMethodUsBankAccount
fn clone(&self) -> CreatePaymentMethodUsBankAccount
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 moreSource§impl PartialEq for CreatePaymentMethodUsBankAccount
impl PartialEq for CreatePaymentMethodUsBankAccount
Source§fn eq(&self, other: &CreatePaymentMethodUsBankAccount) -> bool
fn eq(&self, other: &CreatePaymentMethodUsBankAccount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodUsBankAccount
impl StructuralPartialEq for CreatePaymentMethodUsBankAccount
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodUsBankAccount
impl RefUnwindSafe for CreatePaymentMethodUsBankAccount
impl Send for CreatePaymentMethodUsBankAccount
impl Sync for CreatePaymentMethodUsBankAccount
impl Unpin for CreatePaymentMethodUsBankAccount
impl UnsafeUnpin for CreatePaymentMethodUsBankAccount
impl UnwindSafe for CreatePaymentMethodUsBankAccount
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