Package com.xero.models.payrollau
Class BankAccount
- java.lang.Object
-
- com.xero.models.payrollau.BankAccount
-
public class BankAccount extends Object
BankAccount
-
-
Constructor Summary
Constructors Constructor Description BankAccount()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BankAccountaccountName(String accountName)The name of the accountBankAccountaccountNumber(String accountNumber)The account numberBankAccountamount(Double amount)Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)BankAccountBSB(String BSB)The BSB number of the accountbooleanequals(Object o)StringgetAccountName()The name of the accountStringgetAccountNumber()The account numberDoublegetAmount()Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)StringgetBSB()The BSB number of the accountBooleangetRemainder()If this account is the Remaining bank accountStringgetStatementText()The text that will appear on your employee's bank statement when they receive paymentinthashCode()BankAccountremainder(Boolean remainder)If this account is the Remaining bank accountvoidsetAccountName(String accountName)The name of the accountvoidsetAccountNumber(String accountNumber)The account numbervoidsetAmount(Double amount)Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)voidsetBSB(String BSB)The BSB number of the accountvoidsetRemainder(Boolean remainder)If this account is the Remaining bank accountvoidsetStatementText(String statementText)The text that will appear on your employee's bank statement when they receive paymentBankAccountstatementText(String statementText)The text that will appear on your employee's bank statement when they receive paymentStringtoString()
-
-
-
Method Detail
-
statementText
public BankAccount statementText(String statementText)
The text that will appear on your employee's bank statement when they receive payment- Parameters:
statementText- String- Returns:
- BankAccount
-
getStatementText
public String getStatementText()
The text that will appear on your employee's bank statement when they receive payment- Returns:
- statementText
-
setStatementText
public void setStatementText(String statementText)
The text that will appear on your employee's bank statement when they receive payment- Parameters:
statementText- String
-
accountName
public BankAccount accountName(String accountName)
The name of the account- Parameters:
accountName- String- Returns:
- BankAccount
-
getAccountName
public String getAccountName()
The name of the account- Returns:
- accountName
-
setAccountName
public void setAccountName(String accountName)
The name of the account- Parameters:
accountName- String
-
BSB
public BankAccount BSB(String BSB)
The BSB number of the account- Parameters:
BSB- String- Returns:
- BankAccount
-
getBSB
public String getBSB()
The BSB number of the account- Returns:
- BSB
-
setBSB
public void setBSB(String BSB)
The BSB number of the account- Parameters:
BSB- String
-
accountNumber
public BankAccount accountNumber(String accountNumber)
The account number- Parameters:
accountNumber- String- Returns:
- BankAccount
-
getAccountNumber
public String getAccountNumber()
The account number- Returns:
- accountNumber
-
setAccountNumber
public void setAccountNumber(String accountNumber)
The account number- Parameters:
accountNumber- String
-
remainder
public BankAccount remainder(Boolean remainder)
If this account is the Remaining bank account- Parameters:
remainder- Boolean- Returns:
- BankAccount
-
getRemainder
public Boolean getRemainder()
If this account is the Remaining bank account- Returns:
- remainder
-
setRemainder
public void setRemainder(Boolean remainder)
If this account is the Remaining bank account- Parameters:
remainder- Boolean
-
amount
public BankAccount amount(Double amount)
Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)- Parameters:
amount- Double- Returns:
- BankAccount
-
getAmount
public Double getAmount()
Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)- Returns:
- amount
-
setAmount
public void setAmount(Double amount)
Fixed amounts (for example, if an employee wants to have $100 of their salary transferred to one account, and the remaining amount to another)- Parameters:
amount- Double
-
-