Enum TaxCode

java.lang.Object
java.lang.Enum<TaxCode>
com.xero.models.payrollnz.TaxCode
All Implemented Interfaces:
Serializable, Comparable<TaxCode>, java.lang.constant.Constable

public enum TaxCode
extends Enum<TaxCode>
Tax codes used for employee tax
  • Enum Constant Details

    • ND

      public static final TaxCode ND
    • M

      public static final TaxCode M
    • ME

      public static final TaxCode ME
    • MSL

      public static final TaxCode MSL
    • MESL

      public static final TaxCode MESL
    • SB

      public static final TaxCode SB
    • S

      public static final TaxCode S
    • SH

      public static final TaxCode SH
    • ST

      public static final TaxCode ST
    • SBSL

      public static final TaxCode SBSL
    • SSL

      public static final TaxCode SSL
    • SHSL

      public static final TaxCode SHSL
    • STSL

      public static final TaxCode STSL
    • WT

      public static final TaxCode WT
    • CAE

      public static final TaxCode CAE
    • EDW

      public static final TaxCode EDW
    • NSW

      public static final TaxCode NSW
    • STC

      public static final TaxCode STC
    • STCSL

      public static final TaxCode STCSL
  • Method Details

    • values

      public static TaxCode[] 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

      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 name
      NullPointerException - if the argument is null
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<TaxCode>
    • fromValue

      public static TaxCode fromValue​(String value)