Enum TaxType
java.lang.Object
java.lang.Enum<TaxType>
net.avalara.avatax.rest.client.enums.TaxType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TaxType>,java.lang.constant.Constable
public enum TaxType extends java.lang.Enum<TaxType>
Tax type
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AlcoholAlcohol tax typeBatteriesBatteries tax typeBottleMatch bottle tax typeConsumerUseConsumer Use TaxEWasteEWaste tax typeExciseMedical Excise TaxFeeFee - PIFs (Public Improvement Fees) and RSFs (Retail Sales Fees)InputVAT/GST Input taxLandedCostLandedCost tax typeLightBulbsLightBulbsLodgingMatch Lodging tax typeMealsMeals tax typeNonrecoverableVAT/GST Nonrecoverable Input taxOutputVAT/GST Output taxRentalRental TaxSalesSales taxUseUse tax -
Method Summary
Modifier and Type Method Description intgetValue()static TaxTypevalueOf(int intValue)Returns the enum constant of this type with the specified name.static TaxTypevalueOf(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.
-
Enum Constant Details
-
Lodging
Match Lodging tax type -
Bottle
Match bottle tax type -
EWaste
EWaste tax type -
LandedCost
LandedCost tax type -
Meals
Meals tax type -
ConsumerUse
Consumer Use Tax -
Excise
Medical Excise Tax -
Fee
Fee - PIFs (Public Improvement Fees) and RSFs (Retail Sales Fees) -
Input
VAT/GST Input tax -
Nonrecoverable
VAT/GST Nonrecoverable Input tax -
Output
VAT/GST Output tax -
Rental
Rental Tax -
Sales
Sales tax -
Use
Use tax -
Alcohol
Alcohol tax type -
Batteries
Batteries tax type -
LightBulbs
LightBulbs
-
-
Method Details
-
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
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 namejava.lang.NullPointerException- if the argument is null
-
valueOf
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 namejava.lang.NullPointerException- if the argument is null
-
getValue
public int getValue()
-