pub struct CreatePaymentMethodNzBankAccount {
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 CreatePaymentMethodNzBankAccount
impl Clone for CreatePaymentMethodNzBankAccount
Source§fn clone(&self) -> CreatePaymentMethodNzBankAccount
fn clone(&self) -> CreatePaymentMethodNzBankAccount
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 CreatePaymentMethodNzBankAccount
impl PartialEq for CreatePaymentMethodNzBankAccount
Source§fn eq(&self, other: &CreatePaymentMethodNzBankAccount) -> bool
fn eq(&self, other: &CreatePaymentMethodNzBankAccount) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for CreatePaymentMethodNzBankAccount
impl StructuralPartialEq for CreatePaymentMethodNzBankAccount
Auto Trait Implementations§
impl Freeze for CreatePaymentMethodNzBankAccount
impl RefUnwindSafe for CreatePaymentMethodNzBankAccount
impl Send for CreatePaymentMethodNzBankAccount
impl Sync for CreatePaymentMethodNzBankAccount
impl Unpin for CreatePaymentMethodNzBankAccount
impl UnsafeUnpin for CreatePaymentMethodNzBankAccount
impl UnwindSafe for CreatePaymentMethodNzBankAccount
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