Enum TaxOverrideTypeId
- java.lang.Object
-
- java.lang.Enum<TaxOverrideTypeId>
-
- net.avalara.avatax.rest.client.enums.TaxOverrideTypeId
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<TaxOverrideTypeId>
public enum TaxOverrideTypeId extends java.lang.Enum<TaxOverrideTypeId>
TaxOverrideTypeId
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AccruedTaxAmountTo support Consumer Use TaxDeriveTaxableDerive the taxable amount from the tax amountExemptionEntity exemption was ignored (e.g.NoneNo overrideTaxAmountTax was overriden by the clientTaxDateOnly the tax date was overriden
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TaxOverrideTypeIdvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static TaxOverrideTypeId[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final TaxOverrideTypeId None
No override
-
TaxAmount
public static final TaxOverrideTypeId TaxAmount
Tax was overriden by the client
-
Exemption
public static final TaxOverrideTypeId Exemption
Entity exemption was ignored (e.g. item was consumed)
-
TaxDate
public static final TaxOverrideTypeId TaxDate
Only the tax date was overriden
-
AccruedTaxAmount
public static final TaxOverrideTypeId AccruedTaxAmount
To support Consumer Use Tax
-
DeriveTaxable
public static final TaxOverrideTypeId DeriveTaxable
Derive the taxable amount from the tax amount
-
-
Method Detail
-
values
public static TaxOverrideTypeId[] 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 (TaxOverrideTypeId c : TaxOverrideTypeId.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TaxOverrideTypeId 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 namejava.lang.NullPointerException- if the argument is null
-
-