Package com.xero.models.payrollau
Class Account
- java.lang.Object
-
- com.xero.models.payrollau.Account
-
public class Account extends Object
Account
-
-
Constructor Summary
Constructors Constructor Description Account()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountaccountID(UUID accountID)Xero identifier for accountsAccountcode(String code)Customer defined account codebooleanequals(Object o)UUIDgetAccountID()Xero identifier for accountsStringgetCode()Customer defined account codeStringgetName()Name of accountAccountTypegetType()Get typeinthashCode()Accountname(String name)Name of accountvoidsetAccountID(UUID accountID)Xero identifier for accountsvoidsetCode(String code)Customer defined account codevoidsetName(String name)Name of accountvoidsetType(AccountType type)typeStringtoString()Accounttype(AccountType type)type
-
-
-
Method Detail
-
accountID
public Account accountID(UUID accountID)
Xero identifier for accounts- Parameters:
accountID- UUID- Returns:
- Account
-
getAccountID
public UUID getAccountID()
Xero identifier for accounts- Returns:
- accountID
-
setAccountID
public void setAccountID(UUID accountID)
Xero identifier for accounts- Parameters:
accountID- UUID
-
type
public Account type(AccountType type)
type- Parameters:
type- AccountType- Returns:
- Account
-
getType
public AccountType getType()
Get type- Returns:
- type
-
setType
public void setType(AccountType type)
type- Parameters:
type- AccountType
-
code
public Account code(String code)
Customer defined account code- Parameters:
code- String- Returns:
- Account
-
getCode
public String getCode()
Customer defined account code- Returns:
- code
-
setCode
public void setCode(String code)
Customer defined account code- Parameters:
code- String
-
getName
public String getName()
Name of account- Returns:
- name
-
setName
public void setName(String name)
Name of account- Parameters:
name- String
-
-