Package com.xero.models.payrollnz
Enum Deduction.DeductionCategoryEnum
- java.lang.Object
-
- java.lang.Enum<Deduction.DeductionCategoryEnum>
-
- com.xero.models.payrollnz.Deduction.DeductionCategoryEnum
-
- All Implemented Interfaces:
Serializable,Comparable<Deduction.DeductionCategoryEnum>
- Enclosing class:
- Deduction
public static enum Deduction.DeductionCategoryEnum extends Enum<Deduction.DeductionCategoryEnum>
Deduction Category type
-
-
Enum Constant Summary
Enum Constants Enum Constant Description KIWISAVERVOLUNTARYCONTRIBUTIONSKIWISAVERVOLUNTARYCONTRIBUTIONSNZOTHERNZOTHERPAYROLLGIVINGPAYROLLGIVINGSUPERANNUATIONSUPERANNUATION
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Deduction.DeductionCategoryEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic Deduction.DeductionCategoryEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static Deduction.DeductionCategoryEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PAYROLLGIVING
public static final Deduction.DeductionCategoryEnum PAYROLLGIVING
PAYROLLGIVING
-
KIWISAVERVOLUNTARYCONTRIBUTIONS
public static final Deduction.DeductionCategoryEnum KIWISAVERVOLUNTARYCONTRIBUTIONS
KIWISAVERVOLUNTARYCONTRIBUTIONS
-
SUPERANNUATION
public static final Deduction.DeductionCategoryEnum SUPERANNUATION
SUPERANNUATION
-
NZOTHER
public static final Deduction.DeductionCategoryEnum NZOTHER
NZOTHER
-
-
Method Detail
-
values
public static Deduction.DeductionCategoryEnum[] 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 (Deduction.DeductionCategoryEnum c : Deduction.DeductionCategoryEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Deduction.DeductionCategoryEnum 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<Deduction.DeductionCategoryEnum>- Returns:
- String value
-
fromValue
public static Deduction.DeductionCategoryEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-