Package com.xero.models.payrolluk
Class Account
- java.lang.Object
-
- com.xero.models.payrolluk.Account
-
public class Account extends Object
Account
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccount.TypeEnumThe assigned AccountType
-
Constructor Summary
Constructors Constructor Description Account()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountaccountID(UUID accountID)The Xero identifier for Settings.Accountcode(String code)A unique 3 digit number for each Accountbooleanequals(Object o)UUIDgetAccountID()The Xero identifier for Settings.StringgetCode()A unique 3 digit number for each AccountStringgetName()Name of the Account.Account.TypeEnumgetType()The assigned AccountTypeinthashCode()Accountname(String name)Name of the Account.voidsetAccountID(UUID accountID)The Xero identifier for Settings.voidsetCode(String code)A unique 3 digit number for each AccountvoidsetName(String name)Name of the Account.voidsetType(Account.TypeEnum type)The assigned AccountTypeStringtoString()Accounttype(Account.TypeEnum type)The assigned AccountType
-
-
-
Method Detail
-
accountID
public Account accountID(UUID accountID)
The Xero identifier for Settings.- Parameters:
accountID- UUID- Returns:
- Account
-
getAccountID
public UUID getAccountID()
The Xero identifier for Settings.- Returns:
- accountID
-
setAccountID
public void setAccountID(UUID accountID)
The Xero identifier for Settings.- Parameters:
accountID- UUID
-
type
public Account type(Account.TypeEnum type)
The assigned AccountType- Parameters:
type- TypeEnum- Returns:
- Account
-
getType
public Account.TypeEnum getType()
The assigned AccountType- Returns:
- type
-
setType
public void setType(Account.TypeEnum type)
The assigned AccountType- Parameters:
type- TypeEnum
-
code
public Account code(String code)
A unique 3 digit number for each Account- Parameters:
code- String- Returns:
- Account
-
getCode
public String getCode()
A unique 3 digit number for each Account- Returns:
- code
-
setCode
public void setCode(String code)
A unique 3 digit number for each Account- Parameters:
code- String
-
name
public Account name(String name)
Name of the Account.- Parameters:
name- String- Returns:
- Account
-
getName
public String getName()
Name of the Account.- Returns:
- name
-
setName
public void setName(String name)
Name of the Account.- Parameters:
name- String
-
-