Package com.xero.models.accounting
Enum Account.SystemAccountEnum
- java.lang.Object
-
- java.lang.Enum<Account.SystemAccountEnum>
-
- com.xero.models.accounting.Account.SystemAccountEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Account.SystemAccountEnum>
- Enclosing class:
- Account
public static enum Account.SystemAccountEnum extends Enum<Account.SystemAccountEnum>
If this is a system account then this element is returned. See System Account types. Note that non-system accounts may have this element set as either “” or null.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BANKCURRENCYGAINBANKCURRENCYGAINCISASSETCISASSETCISASSETSCISASSETSCISLABOURCISLABOURCISLABOUREXPENSECISLABOUREXPENSECISLABOURINCOMECISLABOURINCOMECISLIABILITYCISLIABILITYCISMATERIALSCISMATERIALSCREDITORSCREDITORSDEBTORSDEBTORSEMPTYEMPTYGSTGSTGSTONIMPORTSGSTONIMPORTSHISTORICALHISTORICALREALISEDCURRENCYGAINREALISEDCURRENCYGAINRETAINEDEARNINGSRETAINEDEARNINGSROUNDINGROUNDINGTRACKINGTRANSFERSTRACKINGTRANSFERSUNPAIDEXPCLMUNPAIDEXPCLMUNREALISEDCURRENCYGAINUNREALISEDCURRENCYGAINWAGEPAYABLESWAGEPAYABLES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Account.SystemAccountEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic Account.SystemAccountEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Account.SystemAccountEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEBTORS
public static final Account.SystemAccountEnum DEBTORS
DEBTORS
-
CREDITORS
public static final Account.SystemAccountEnum CREDITORS
CREDITORS
-
BANKCURRENCYGAIN
public static final Account.SystemAccountEnum BANKCURRENCYGAIN
BANKCURRENCYGAIN
-
GST
public static final Account.SystemAccountEnum GST
GST
-
GSTONIMPORTS
public static final Account.SystemAccountEnum GSTONIMPORTS
GSTONIMPORTS
-
HISTORICAL
public static final Account.SystemAccountEnum HISTORICAL
HISTORICAL
-
REALISEDCURRENCYGAIN
public static final Account.SystemAccountEnum REALISEDCURRENCYGAIN
REALISEDCURRENCYGAIN
-
RETAINEDEARNINGS
public static final Account.SystemAccountEnum RETAINEDEARNINGS
RETAINEDEARNINGS
-
ROUNDING
public static final Account.SystemAccountEnum ROUNDING
ROUNDING
-
TRACKINGTRANSFERS
public static final Account.SystemAccountEnum TRACKINGTRANSFERS
TRACKINGTRANSFERS
-
UNPAIDEXPCLM
public static final Account.SystemAccountEnum UNPAIDEXPCLM
UNPAIDEXPCLM
-
UNREALISEDCURRENCYGAIN
public static final Account.SystemAccountEnum UNREALISEDCURRENCYGAIN
UNREALISEDCURRENCYGAIN
-
WAGEPAYABLES
public static final Account.SystemAccountEnum WAGEPAYABLES
WAGEPAYABLES
-
CISASSETS
public static final Account.SystemAccountEnum CISASSETS
CISASSETS
-
CISASSET
public static final Account.SystemAccountEnum CISASSET
CISASSET
-
CISLABOUR
public static final Account.SystemAccountEnum CISLABOUR
CISLABOUR
-
CISLABOUREXPENSE
public static final Account.SystemAccountEnum CISLABOUREXPENSE
CISLABOUREXPENSE
-
CISLABOURINCOME
public static final Account.SystemAccountEnum CISLABOURINCOME
CISLABOURINCOME
-
CISLIABILITY
public static final Account.SystemAccountEnum CISLIABILITY
CISLIABILITY
-
CISMATERIALS
public static final Account.SystemAccountEnum CISMATERIALS
CISMATERIALS
-
EMPTY
public static final Account.SystemAccountEnum EMPTY
EMPTY
-
-
Method Detail
-
values
public static Account.SystemAccountEnum[] 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 (Account.SystemAccountEnum c : Account.SystemAccountEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Account.SystemAccountEnum 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()
getValue- Returns:
- String value
-
toString
public String toString()
toString- Overrides:
toStringin classEnum<Account.SystemAccountEnum>- Returns:
- String value
-
fromValue
public static Account.SystemAccountEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-