pub struct CreateSetupIntentPaymentMethodDataNzBankAccount {
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 CreateSetupIntentPaymentMethodDataNzBankAccount
impl Clone for CreateSetupIntentPaymentMethodDataNzBankAccount
Source§fn clone(&self) -> CreateSetupIntentPaymentMethodDataNzBankAccount
fn clone(&self) -> CreateSetupIntentPaymentMethodDataNzBankAccount
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 CreateSetupIntentPaymentMethodDataNzBankAccount
impl RefUnwindSafe for CreateSetupIntentPaymentMethodDataNzBankAccount
impl Send for CreateSetupIntentPaymentMethodDataNzBankAccount
impl Sync for CreateSetupIntentPaymentMethodDataNzBankAccount
impl Unpin for CreateSetupIntentPaymentMethodDataNzBankAccount
impl UnwindSafe for CreateSetupIntentPaymentMethodDataNzBankAccount
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