Package com.xero.models.payrollnz
Enum TaxCode
- java.lang.Object
-
- java.lang.Enum<TaxCode>
-
- com.xero.models.payrollnz.TaxCode
-
- All Implemented Interfaces:
Serializable,Comparable<TaxCode>
public enum TaxCode extends Enum<TaxCode>
Tax codes used for employee tax
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TaxCodefromValue(String value)fromValueStringgetValue()StringtoString()toStringstatic TaxCodevalueOf(String name)Returns the enum constant of this type with the specified name.static TaxCode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ND
public static final TaxCode ND
ND
-
M
public static final TaxCode M
M
-
ME
public static final TaxCode ME
ME
-
MSL
public static final TaxCode MSL
MSL
-
MESL
public static final TaxCode MESL
MESL
-
SB
public static final TaxCode SB
SB
-
S
public static final TaxCode S
S
-
SH
public static final TaxCode SH
SH
-
ST
public static final TaxCode ST
ST
-
SBSL
public static final TaxCode SBSL
SBSL
-
SSL
public static final TaxCode SSL
SSL
-
SHSL
public static final TaxCode SHSL
SHSL
-
STSL
public static final TaxCode STSL
STSL
-
WT
public static final TaxCode WT
WT
-
CAE
public static final TaxCode CAE
CAE
-
EDW
public static final TaxCode EDW
EDW
-
NSW
public static final TaxCode NSW
NSW
-
STC
public static final TaxCode STC
STC
-
STCSL
public static final TaxCode STCSL
STCSL
-
-
Method Detail
-
values
public static TaxCode[] 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 (TaxCode c : TaxCode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaxCode 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()
- Returns:
- String value
-
toString
public String toString()
toString
-
-