Enum TaxType

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

public enum TaxType
extends Enum<TaxType>
See Tax Types – can only be used on update calls
  • Enum Constant Details

    • OUTPUT

      public static final TaxType OUTPUT
    • INPUT

      public static final TaxType INPUT
    • CAPEXINPUT

      public static final TaxType CAPEXINPUT
    • EXEMPTEXPORT

      public static final TaxType EXEMPTEXPORT
    • EXEMPTEXPENSES

      public static final TaxType EXEMPTEXPENSES
    • EXEMPTCAPITAL

      public static final TaxType EXEMPTCAPITAL
    • EXEMPTOUTPUT

      public static final TaxType EXEMPTOUTPUT
    • INPUTTAXED

      public static final TaxType INPUTTAXED
    • BASEXCLUDED

      public static final TaxType BASEXCLUDED
    • GSTONCAPIMPORTS

      public static final TaxType GSTONCAPIMPORTS
    • GSTONIMPORTS

      public static final TaxType GSTONIMPORTS
    • NONE

      public static final TaxType NONE
    • INPUT2

      public static final TaxType INPUT2
    • ZERORATED

      public static final TaxType ZERORATED
    • OUTPUT2

      public static final TaxType OUTPUT2
    • CAPEXINPUT2

      public static final TaxType CAPEXINPUT2
    • CAPEXOUTPUT

      public static final TaxType CAPEXOUTPUT
    • CAPEXOUTPUT2

      public static final TaxType CAPEXOUTPUT2
    • CAPEXSRINPUT

      public static final TaxType CAPEXSRINPUT
    • CAPEXSROUTPUT

      public static final TaxType CAPEXSROUTPUT
    • ECACQUISITIONS

      public static final TaxType ECACQUISITIONS
    • ECZRINPUT

      public static final TaxType ECZRINPUT
    • ECZROUTPUT

      public static final TaxType ECZROUTPUT
    • ECZROUTPUTSERVICES

      public static final TaxType ECZROUTPUTSERVICES
    • EXEMPTINPUT

      public static final TaxType EXEMPTINPUT
    • REVERSECHARGES

      public static final TaxType REVERSECHARGES
    • RRINPUT

      public static final TaxType RRINPUT
    • RROUTPUT

      public static final TaxType RROUTPUT
    • SRINPUT

      public static final TaxType SRINPUT
    • SROUTPUT

      public static final TaxType SROUTPUT
    • ZERORATEDINPUT

      public static final TaxType ZERORATEDINPUT
    • ZERORATEDOUTPUT

      public static final TaxType ZERORATEDOUTPUT
    • BLINPUT

      public static final TaxType BLINPUT
    • DSOUTPUT

      public static final TaxType DSOUTPUT
    • EPINPUT

      public static final TaxType EPINPUT
    • ES33OUTPUT

      public static final TaxType ES33OUTPUT
    • ESN33OUTPUT

      public static final TaxType ESN33OUTPUT
    • IGDSINPUT2

      public static final TaxType IGDSINPUT2
    • IMINPUT2

      public static final TaxType IMINPUT2
    • MEINPUT

      public static final TaxType MEINPUT
    • NRINPUT

      public static final TaxType NRINPUT
    • OPINPUT

      public static final TaxType OPINPUT
    • OSOUTPUT

      public static final TaxType OSOUTPUT
    • TXESSINPUT

      public static final TaxType TXESSINPUT
    • TXN33INPUT

      public static final TaxType TXN33INPUT
    • TXPETINPUT

      public static final TaxType TXPETINPUT
    • TXREINPUT

      public static final TaxType TXREINPUT
    • INPUT3

      public static final TaxType INPUT3
    • INPUT4

      public static final TaxType INPUT4
    • OUTPUT3

      public static final TaxType OUTPUT3
    • OUTPUT4

      public static final TaxType OUTPUT4
    • SROUTPUT2

      public static final TaxType SROUTPUT2
    • TXCA

      public static final TaxType TXCA
    • SRCAS

      public static final TaxType SRCAS
    • BLINPUT2

      public static final TaxType BLINPUT2
    • DRCHARGESUPPLY20

      public static final TaxType DRCHARGESUPPLY20
    • DRCHARGE20

      public static final TaxType DRCHARGE20
    • DRCHARGESUPPLY5

      public static final TaxType DRCHARGESUPPLY5
    • DRCHARGE5

      public static final TaxType DRCHARGE5
  • Method Details

    • values

      public static TaxType[] 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 TaxType 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<TaxType>
    • fromValue

      public static TaxType fromValue​(String value)