An object representing bank details for invoices.
Name | Type | Required | Description | Examples |
---|---|---|---|---|
BankCode | BankCode | ☑️ | ||
CollectionType | string | ☑️ | The collection type for the bank details. | |
BankBranch | Pointer to string | The branch of the bank. | ||
BankAccountNumber | Pointer to string | The bank account number. | ||
AccountHolderName | string | ☑️ | The name of the account holder. | |
TransferAmount | Pointer to float64 | The transfer amount. | ||
AlternativeDisplays | Pointer to AlternativeDisplayItem[] |
func NewBank(bankCode BankCode, collectionType string, accountHolderName string, ) *Bank
NewBank instantiates a new Bank object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBankWithDefaults() *Bank
NewBankWithDefaults instantiates a new Bank object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *Bank) GetBankCode() BankCode
GetBankCode returns the BankCode field if non-nil, zero value otherwise.
func (o *Bank) GetBankCodeOk() (*BankCode, bool)
GetBankCodeOk returns a tuple with the BankCode field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetBankCode(v BankCode)
SetBankCode sets BankCode field to given value.
func (o *Bank) GetCollectionType() string
GetCollectionType returns the CollectionType field if non-nil, zero value otherwise.
func (o *Bank) GetCollectionTypeOk() (*string, bool)
GetCollectionTypeOk returns a tuple with the CollectionType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetCollectionType(v string)
SetCollectionType sets CollectionType field to given value.
func (o *Bank) GetBankBranch() string
GetBankBranch returns the BankBranch field if non-nil, zero value otherwise.
func (o *Bank) GetBankBranchOk() (*string, bool)
GetBankBranchOk returns a tuple with the BankBranch field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetBankBranch(v string)
SetBankBranch sets BankBranch field to given value.
func (o *Bank) HasBankBranch() bool
HasBankBranch returns a boolean if a field has been set.
func (o *Bank) GetBankAccountNumber() string
GetBankAccountNumber returns the BankAccountNumber field if non-nil, zero value otherwise.
func (o *Bank) GetBankAccountNumberOk() (*string, bool)
GetBankAccountNumberOk returns a tuple with the BankAccountNumber field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetBankAccountNumber(v string)
SetBankAccountNumber sets BankAccountNumber field to given value.
func (o *Bank) HasBankAccountNumber() bool
HasBankAccountNumber returns a boolean if a field has been set.
func (o *Bank) GetAccountHolderName() string
GetAccountHolderName returns the AccountHolderName field if non-nil, zero value otherwise.
func (o *Bank) GetAccountHolderNameOk() (*string, bool)
GetAccountHolderNameOk returns a tuple with the AccountHolderName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetAccountHolderName(v string)
SetAccountHolderName sets AccountHolderName field to given value.
func (o *Bank) GetTransferAmount() float64
GetTransferAmount returns the TransferAmount field if non-nil, zero value otherwise.
func (o *Bank) GetTransferAmountOk() (*float64, bool)
GetTransferAmountOk returns a tuple with the TransferAmount field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetTransferAmount(v float64)
SetTransferAmount sets TransferAmount field to given value.
func (o *Bank) HasTransferAmount() bool
HasTransferAmount returns a boolean if a field has been set.
func (o *Bank) GetAlternativeDisplays() []AlternativeDisplayItem
GetAlternativeDisplays returns the AlternativeDisplays field if non-nil, zero value otherwise.
func (o *Bank) GetAlternativeDisplaysOk() (*[]AlternativeDisplayItem, bool)
GetAlternativeDisplaysOk returns a tuple with the AlternativeDisplays field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Bank) SetAlternativeDisplays(v []AlternativeDisplayItem)
SetAlternativeDisplays sets AlternativeDisplays field to given value.
func (o *Bank) HasAlternativeDisplays() bool
HasAlternativeDisplays returns a boolean if a field has been set.