Package com.xero.models.accounting
Enum Organisation.PropertyClassEnum
java.lang.Object
java.lang.Enum<Organisation.PropertyClassEnum>
com.xero.models.accounting.Organisation.PropertyClassEnum
- All Implemented Interfaces:
Serializable,Comparable<Organisation.PropertyClassEnum>,java.lang.constant.Constable
- Enclosing class:
Organisation
Organisation Classes describe which plan the Xero organisation is on (e.g. DEMO, TRIAL,
PREMIUM)
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCOMPREHENSIVEDEMOGROWGST_CASHBOOKIGNITELEDGERLITENON_GST_CASHBOOKPREMIUMPREMIUM_100PREMIUM_20PREMIUM_50STANDARDSTARTERTRIALULTIMATEULTIMATE_10ULTIMATE_100ULTIMATE_20ULTIMATE_50 -
Method Summary
Modifier and TypeMethodDescriptionfromValuegetValue()getValuetoString()toStringReturns the enum constant of this type with the specified name.static Organisation.PropertyClassEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DEMO
DEMO -
TRIAL
TRIAL -
STARTER
STARTER -
STANDARD
STANDARD -
PREMIUM
PREMIUM -
PREMIUM_20
PREMIUM_20 -
PREMIUM_50
PREMIUM_50 -
PREMIUM_100
PREMIUM_100 -
LEDGER
LEDGER -
GST_CASHBOOK
GST_CASHBOOK -
NON_GST_CASHBOOK
NON_GST_CASHBOOK -
ULTIMATE
ULTIMATE -
LITE
LITE -
ULTIMATE_10
ULTIMATE_10 -
ULTIMATE_20
ULTIMATE_20 -
ULTIMATE_50
ULTIMATE_50 -
ULTIMATE_100
ULTIMATE_100 -
IGNITE
IGNITE -
GROW
GROW -
COMPREHENSIVE
COMPREHENSIVE
-
-
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<Organisation.PropertyClassEnum>- Returns:
- String value
-
fromValue
fromValue- Parameters:
value- String
-