Package com.xero.models.accounting
Enum Account.SystemAccountEnum
- All Implemented Interfaces:
Serializable,Comparable<Account.SystemAccountEnum>,java.lang.constant.Constable
- Enclosing class:
Account
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBANKCURRENCYGAINCISASSETCISASSETSCISLABOURCISLABOUREXPENSECISLABOURINCOMECISLIABILITYCISMATERIALSCREDITORSDEBTORSEMPTYGSTGSTONIMPORTSHISTORICALREALISEDCURRENCYGAINRETAINEDEARNINGSROUNDINGTRACKINGTRANSFERSUNPAIDEXPCLMUNREALISEDCURRENCYGAINWAGEPAYABLES -
Method Summary
Modifier and TypeMethodDescriptionstatic Account.SystemAccountEnumfromValuegetValue()getValuetoString()toStringstatic Account.SystemAccountEnumReturns 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 Details
-
DEBTORS
DEBTORS -
CREDITORS
CREDITORS -
BANKCURRENCYGAIN
BANKCURRENCYGAIN -
GST
GST -
GSTONIMPORTS
GSTONIMPORTS -
HISTORICAL
HISTORICAL -
REALISEDCURRENCYGAIN
REALISEDCURRENCYGAIN -
RETAINEDEARNINGS
RETAINEDEARNINGS -
ROUNDING
ROUNDING -
TRACKINGTRANSFERS
TRACKINGTRANSFERS -
UNPAIDEXPCLM
UNPAIDEXPCLM -
UNREALISEDCURRENCYGAIN
UNREALISEDCURRENCYGAIN -
WAGEPAYABLES
WAGEPAYABLES -
CISASSETS
CISASSETS -
CISASSET
CISASSET -
CISLABOUR
CISLABOUR -
CISLABOUREXPENSE
CISLABOUREXPENSE -
CISLABOURINCOME
CISLABOURINCOME -
CISLIABILITY
CISLIABILITY -
CISMATERIALS
CISMATERIALS -
EMPTY
EMPTY
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
toString
toString- Overrides:
toStringin classEnum<Account.SystemAccountEnum>- Returns:
- String value
-
fromValue
fromValue- Parameters:
value- String
-