Package com.xero.models.accounting
Enum AccountType
- java.lang.Object
-
- java.lang.Enum<AccountType>
-
- com.xero.models.accounting.AccountType
-
- All Implemented Interfaces:
Serializable,Comparable<AccountType>
public enum AccountType extends Enum<AccountType>
See Account Types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKBANKCURRENTCURRENTCURRLIABCURRLIABDEPRECIATNDEPRECIATNDIRECTCOSTSDIRECTCOSTSEQUITYEQUITYEXPENSEEXPENSEFIXEDFIXEDINVENTORYINVENTORYLIABILITYLIABILITYNONCURRENTNONCURRENTOTHERINCOMEOTHERINCOMEOVERHEADSOVERHEADSPAYGPAYGPAYGLIABILITYPAYGLIABILITYPREPAYMENTPREPAYMENTREVENUEREVENUESALESSALESSUPERANNUATIONEXPENSESUPERANNUATIONEXPENSESUPERANNUATIONLIABILITYSUPERANNUATIONLIABILITYTERMLIABTERMLIABWAGESEXPENSEWAGESEXPENSE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AccountTypefromValue(String value)fromValueStringgetValue()StringtoString()toStringstatic AccountTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AccountType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BANK
public static final AccountType BANK
BANK
-
CURRENT
public static final AccountType CURRENT
CURRENT
-
CURRLIAB
public static final AccountType CURRLIAB
CURRLIAB
-
DEPRECIATN
public static final AccountType DEPRECIATN
DEPRECIATN
-
DIRECTCOSTS
public static final AccountType DIRECTCOSTS
DIRECTCOSTS
-
EQUITY
public static final AccountType EQUITY
EQUITY
-
EXPENSE
public static final AccountType EXPENSE
EXPENSE
-
FIXED
public static final AccountType FIXED
FIXED
-
INVENTORY
public static final AccountType INVENTORY
INVENTORY
-
LIABILITY
public static final AccountType LIABILITY
LIABILITY
-
NONCURRENT
public static final AccountType NONCURRENT
NONCURRENT
-
OTHERINCOME
public static final AccountType OTHERINCOME
OTHERINCOME
-
OVERHEADS
public static final AccountType OVERHEADS
OVERHEADS
-
PREPAYMENT
public static final AccountType PREPAYMENT
PREPAYMENT
-
REVENUE
public static final AccountType REVENUE
REVENUE
-
SALES
public static final AccountType SALES
SALES
-
TERMLIAB
public static final AccountType TERMLIAB
TERMLIAB
-
PAYGLIABILITY
public static final AccountType PAYGLIABILITY
PAYGLIABILITY
-
PAYG
public static final AccountType PAYG
PAYG
-
SUPERANNUATIONEXPENSE
public static final AccountType SUPERANNUATIONEXPENSE
SUPERANNUATIONEXPENSE
-
SUPERANNUATIONLIABILITY
public static final AccountType SUPERANNUATIONLIABILITY
SUPERANNUATIONLIABILITY
-
WAGESEXPENSE
public static final AccountType WAGESEXPENSE
WAGESEXPENSE
-
-
Method Detail
-
values
public static AccountType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AccountType c : AccountType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccountType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
- Returns:
- String value
-
toString
public String toString()
toString- Overrides:
toStringin classEnum<AccountType>- Returns:
- String value
-
fromValue
public static AccountType fromValue(String value)
fromValue- Parameters:
value- String
-
-