Enum TaxType

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<TaxType>

    public enum TaxType
    extends java.lang.Enum<TaxType>
    Tax type
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getValue()  
      static TaxType valueOf​(int intValue)
      Returns the enum constant of this type with the specified name.
      static TaxType valueOf​(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static TaxType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • Lodging

        public static final TaxType Lodging
        Match Lodging tax type
      • Bottle

        public static final TaxType Bottle
        Match bottle tax type
      • EWaste

        public static final TaxType EWaste
        EWaste tax type
      • LandedCost

        public static final TaxType LandedCost
        LandedCost tax type
      • Meals

        public static final TaxType Meals
        Meals tax type
      • ConsumerUse

        public static final TaxType ConsumerUse
        Consumer Use Tax
      • Excise

        public static final TaxType Excise
        Medical Excise Tax
      • Fee

        public static final TaxType Fee
        Fee - PIFs (Public Improvement Fees) and RSFs (Retail Sales Fees)
      • Input

        public static final TaxType Input
        VAT/GST Input tax
      • Nonrecoverable

        public static final TaxType Nonrecoverable
        VAT/GST Nonrecoverable Input tax
      • Output

        public static final TaxType Output
        VAT/GST Output tax
      • Rental

        public static final TaxType Rental
        Rental Tax
      • Sales

        public static final TaxType Sales
        Sales tax
      • Use

        public static final TaxType Use
        Use tax
      • Alcohol

        public static final TaxType Alcohol
        Alcohol tax type
      • Batteries

        public static final TaxType Batteries
        Batteries tax type
      • LightBulbs

        public static final TaxType LightBulbs
        LightBulbs
    • Method Detail

      • values

        public static TaxType[] 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 (TaxType c : TaxType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static TaxType valueOf​(java.lang.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:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • valueOf

        public static TaxType valueOf​(int intValue)
        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:
        intValue - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
      • getValue

        public int getValue()