Package com.xero.models.payrollnz
Class BankAccount
java.lang.Object
com.xero.models.payrollnz.BankAccount
public class BankAccount extends Object
BankAccount
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classBankAccount.CalculationTypeEnumCalculation type for the transaction can be 'Fixed Amount' or 'Balance' -
Constructor Summary
Constructors Constructor Description BankAccount() -
Method Summary
Modifier and Type Method Description BankAccountaccountName(String accountName)BankAccountaccountNumber(String accountNumber)BankAccountcalculationType(BankAccount.CalculationTypeEnum calculationType)BankAccountcode(String code)BankAccountdollarAmount(Double dollarAmount)booleanequals(Object o)StringgetAccountName()Bank account name (max length = 32)StringgetAccountNumber()Bank account number (digits only; max length = 8)BankAccount.CalculationTypeEnumgetCalculationType()Calculation type for the transaction can be 'Fixed Amount' or 'Balance'StringgetCode()Code of a transaction that appear on the statement.DoublegetDollarAmount()Dollar amount of a transaction.StringgetParticulars()Particulars that appear on the statement.StringgetReference()Statement Text/reference for a transaction that appear on the statement.StringgetSortCode()Bank account sort code (6 digits)inthashCode()BankAccountparticulars(String particulars)BankAccountreference(String reference)voidsetAccountName(String accountName)voidsetAccountNumber(String accountNumber)voidsetCalculationType(BankAccount.CalculationTypeEnum calculationType)voidsetCode(String code)voidsetDollarAmount(Double dollarAmount)voidsetParticulars(String particulars)voidsetReference(String reference)voidsetSortCode(String sortCode)BankAccountsortCode(String sortCode)StringtoString()
-
Constructor Details
-
BankAccount
public BankAccount()
-
-
Method Details
-
accountName
-
getAccountName
Bank account name (max length = 32)- Returns:
- accountName
-
setAccountName
-
accountNumber
-
getAccountNumber
Bank account number (digits only; max length = 8)- Returns:
- accountNumber
-
setAccountNumber
-
sortCode
-
getSortCode
Bank account sort code (6 digits)- Returns:
- sortCode
-
setSortCode
-
particulars
-
getParticulars
Particulars that appear on the statement.- Returns:
- particulars
-
setParticulars
-
code
-
getCode
Code of a transaction that appear on the statement.- Returns:
- code
-
setCode
-
dollarAmount
-
getDollarAmount
Dollar amount of a transaction.- Returns:
- dollarAmount
-
setDollarAmount
-
reference
-
getReference
Statement Text/reference for a transaction that appear on the statement.- Returns:
- reference
-
setReference
-
calculationType
-
getCalculationType
Calculation type for the transaction can be 'Fixed Amount' or 'Balance'- Returns:
- calculationType
-
setCalculationType
-
equals
-
hashCode
public int hashCode() -
toString
-