Package com.xero.models.accounting
Enum Organisation.OrganisationEntityTypeEnum
java.lang.Object
java.lang.Enum<Organisation.OrganisationEntityTypeEnum>
com.xero.models.accounting.Organisation.OrganisationEntityTypeEnum
- All Implemented Interfaces:
Serializable,Comparable<Organisation.OrganisationEntityTypeEnum>,java.lang.constant.Constable
- Enclosing class:
Organisation
public static enum Organisation.OrganisationEntityTypeEnum
extends Enum<Organisation.OrganisationEntityTypeEnum>
Organisation Entity Type
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionACCOUNTING_PRACTICECHARITYCLUB_OR_SOCIETYCOMPANYINDIVIDUALLOOK_THROUGH_COMPANYNOT_FOR_PROFITPARTNERSHIPS_CORPORATIONSELF_MANAGED_SUPERANNUATION_FUNDSOLE_TRADERSUPERANNUATION_FUNDTRUST -
Method Summary
-
Enum Constant Details
-
ACCOUNTING_PRACTICE
ACCOUNTING_PRACTICE -
COMPANY
COMPANY -
CHARITY
CHARITY -
CLUB_OR_SOCIETY
CLUB_OR_SOCIETY -
INDIVIDUAL
INDIVIDUAL -
LOOK_THROUGH_COMPANY
LOOK_THROUGH_COMPANY -
NOT_FOR_PROFIT
NOT_FOR_PROFIT -
PARTNERSHIP
PARTNERSHIP -
S_CORPORATION
S_CORPORATION -
SELF_MANAGED_SUPERANNUATION_FUND
SELF_MANAGED_SUPERANNUATION_FUND -
SOLE_TRADER
SOLE_TRADER -
SUPERANNUATION_FUND
SUPERANNUATION_FUND -
TRUST
TRUST
-
-
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.OrganisationEntityTypeEnum>- Returns:
- String value
-
fromValue
fromValue- Parameters:
value- String
-