Package com.xero.models.accounting
Enum Organisation.SalesTaxPeriodEnum
- java.lang.Object
-
- java.lang.Enum<Organisation.SalesTaxPeriodEnum>
-
- com.xero.models.accounting.Organisation.SalesTaxPeriodEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Organisation.SalesTaxPeriodEnum>
- Enclosing class:
- Organisation
public static enum Organisation.SalesTaxPeriodEnum extends Enum<Organisation.SalesTaxPeriodEnum>
The frequency with which tax returns are processed. See Sales Tax Period
-
-
Enum Constant Summary
Enum Constants Enum Constant Description _1MONTHLY_1MONTHLY_2MONTHLY_2MONTHLY_3MONTHLY_3MONTHLY_6MONTHLY_6MONTHLYANNUALLYANNUALLYMONTHLYMONTHLYNONENONEONEMONTHSONEMONTHSQUARTERLYQUARTERLYQUARTERLY1QUARTERLY1QUARTERLY2QUARTERLY2QUARTERLY3QUARTERLY3SIXMONTHSSIXMONTHSTWOMONTHSTWOMONTHSYEARLYYEARLY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Organisation.SalesTaxPeriodEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic Organisation.SalesTaxPeriodEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Organisation.SalesTaxPeriodEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MONTHLY
public static final Organisation.SalesTaxPeriodEnum MONTHLY
MONTHLY
-
QUARTERLY1
public static final Organisation.SalesTaxPeriodEnum QUARTERLY1
QUARTERLY1
-
QUARTERLY2
public static final Organisation.SalesTaxPeriodEnum QUARTERLY2
QUARTERLY2
-
QUARTERLY3
public static final Organisation.SalesTaxPeriodEnum QUARTERLY3
QUARTERLY3
-
ANNUALLY
public static final Organisation.SalesTaxPeriodEnum ANNUALLY
ANNUALLY
-
ONEMONTHS
public static final Organisation.SalesTaxPeriodEnum ONEMONTHS
ONEMONTHS
-
TWOMONTHS
public static final Organisation.SalesTaxPeriodEnum TWOMONTHS
TWOMONTHS
-
SIXMONTHS
public static final Organisation.SalesTaxPeriodEnum SIXMONTHS
SIXMONTHS
-
_1MONTHLY
public static final Organisation.SalesTaxPeriodEnum _1MONTHLY
_1MONTHLY
-
_2MONTHLY
public static final Organisation.SalesTaxPeriodEnum _2MONTHLY
_2MONTHLY
-
_3MONTHLY
public static final Organisation.SalesTaxPeriodEnum _3MONTHLY
_3MONTHLY
-
_6MONTHLY
public static final Organisation.SalesTaxPeriodEnum _6MONTHLY
_6MONTHLY
-
QUARTERLY
public static final Organisation.SalesTaxPeriodEnum QUARTERLY
QUARTERLY
-
YEARLY
public static final Organisation.SalesTaxPeriodEnum YEARLY
YEARLY
-
NONE
public static final Organisation.SalesTaxPeriodEnum NONE
NONE
-
-
Method Detail
-
values
public static Organisation.SalesTaxPeriodEnum[] 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 (Organisation.SalesTaxPeriodEnum c : Organisation.SalesTaxPeriodEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Organisation.SalesTaxPeriodEnum 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<Organisation.SalesTaxPeriodEnum>- Returns:
- String value
-
fromValue
public static Organisation.SalesTaxPeriodEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-