pub struct CreateConfirmationTokenPaymentMethodDataNzBankAccount {
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: StringThe account number for the bank account.
bank_code: StringThe numeric code for the bank account’s bank.
branch_code: StringThe numeric code for the bank account’s bank branch.
reference: Option<String>§suffix: StringThe suffix of the bank account number.
Implementations§
Trait Implementations§
Source§impl Clone for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl Clone for CreateConfirmationTokenPaymentMethodDataNzBankAccount
Source§fn clone(&self) -> CreateConfirmationTokenPaymentMethodDataNzBankAccount
fn clone(&self) -> CreateConfirmationTokenPaymentMethodDataNzBankAccount
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 CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl PartialEq for CreateConfirmationTokenPaymentMethodDataNzBankAccount
Source§fn eq(
&self,
other: &CreateConfirmationTokenPaymentMethodDataNzBankAccount,
) -> bool
fn eq( &self, other: &CreateConfirmationTokenPaymentMethodDataNzBankAccount, ) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl StructuralPartialEq for CreateConfirmationTokenPaymentMethodDataNzBankAccount
Auto Trait Implementations§
impl Freeze for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl RefUnwindSafe for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl Send for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl Sync for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl Unpin for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl UnsafeUnpin for CreateConfirmationTokenPaymentMethodDataNzBankAccount
impl UnwindSafe for CreateConfirmationTokenPaymentMethodDataNzBankAccount
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