pub struct ConfirmSetupIntentPaymentMethodDataNzBankAccount {
pub account_holder_name: Option<String>,
pub account_number: String,
pub bank_code: String,
pub branch_code: String,
pub reference: Option<String>,
pub suffix: String,
}
Expand description
If this is an nz_bank_account PaymentMethod, this hash contains details about the nz_bank_account payment method.
Fields§
§account_holder_name: Option<String>
The name on the bank account. Only required if the account holder name is different from the name of the authorized signatory collected in the PaymentMethod’s billing details.
account_number: String
The account number for the bank account.
bank_code: String
The numeric code for the bank account’s bank.
branch_code: String
The numeric code for the bank account’s bank branch.
reference: Option<String>
§suffix: String
The suffix of the bank account number.
Implementations§
Trait Implementations§
Source§impl Clone for ConfirmSetupIntentPaymentMethodDataNzBankAccount
impl Clone for ConfirmSetupIntentPaymentMethodDataNzBankAccount
Source§fn clone(&self) -> ConfirmSetupIntentPaymentMethodDataNzBankAccount
fn clone(&self) -> ConfirmSetupIntentPaymentMethodDataNzBankAccount
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 ConfirmSetupIntentPaymentMethodDataNzBankAccount
impl RefUnwindSafe for ConfirmSetupIntentPaymentMethodDataNzBankAccount
impl Send for ConfirmSetupIntentPaymentMethodDataNzBankAccount
impl Sync for ConfirmSetupIntentPaymentMethodDataNzBankAccount
impl Unpin for ConfirmSetupIntentPaymentMethodDataNzBankAccount
impl UnwindSafe for ConfirmSetupIntentPaymentMethodDataNzBankAccount
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