Package com.xero.models.payrollnz
Enum EmployeeTax.KiwiSaverContributionsEnum
- java.lang.Object
-
- java.lang.Enum<EmployeeTax.KiwiSaverContributionsEnum>
-
- com.xero.models.payrollnz.EmployeeTax.KiwiSaverContributionsEnum
-
- All Implemented Interfaces:
Serializable,Comparable<EmployeeTax.KiwiSaverContributionsEnum>
- Enclosing class:
- EmployeeTax
public static enum EmployeeTax.KiwiSaverContributionsEnum extends Enum<EmployeeTax.KiwiSaverContributionsEnum>
Contribution Option which can be 'MakeContributions' 'OptOut', 'OnAContributionsHoliday', 'OnASavingsSuspension', 'NotCurrentlyAKiwiSaverMember' for employees without a KiwiSaver membership
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAKECONTRIBUTIONSMAKECONTRIBUTIONSNOTCURRENTLYAKIWISAVERMEMBERNOTCURRENTLYAKIWISAVERMEMBERONACONTRIBUTIONSHOLIDAYONACONTRIBUTIONSHOLIDAYONASAVINGSSUSPENSIONONASAVINGSSUSPENSIONOPTOUTOPTOUT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EmployeeTax.KiwiSaverContributionsEnumfromValue(String value)fromValueStringgetValue()getValueStringtoString()toStringstatic EmployeeTax.KiwiSaverContributionsEnumvalueOf(String name)Returns the enum constant of this type with the specified name.static EmployeeTax.KiwiSaverContributionsEnum[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAKECONTRIBUTIONS
public static final EmployeeTax.KiwiSaverContributionsEnum MAKECONTRIBUTIONS
MAKECONTRIBUTIONS
-
OPTOUT
public static final EmployeeTax.KiwiSaverContributionsEnum OPTOUT
OPTOUT
-
ONACONTRIBUTIONSHOLIDAY
public static final EmployeeTax.KiwiSaverContributionsEnum ONACONTRIBUTIONSHOLIDAY
ONACONTRIBUTIONSHOLIDAY
-
ONASAVINGSSUSPENSION
public static final EmployeeTax.KiwiSaverContributionsEnum ONASAVINGSSUSPENSION
ONASAVINGSSUSPENSION
-
NOTCURRENTLYAKIWISAVERMEMBER
public static final EmployeeTax.KiwiSaverContributionsEnum NOTCURRENTLYAKIWISAVERMEMBER
NOTCURRENTLYAKIWISAVERMEMBER
-
-
Method Detail
-
values
public static EmployeeTax.KiwiSaverContributionsEnum[] 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 (EmployeeTax.KiwiSaverContributionsEnum c : EmployeeTax.KiwiSaverContributionsEnum.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EmployeeTax.KiwiSaverContributionsEnum 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<EmployeeTax.KiwiSaverContributionsEnum>- Returns:
- String value
-
fromValue
public static EmployeeTax.KiwiSaverContributionsEnum fromValue(String value)
fromValue- Parameters:
value- String
-
-