Enum MatchingTaxType
java.lang.Object
java.lang.Enum<MatchingTaxType>
net.avalara.avatax.rest.client.enums.MatchingTaxType
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MatchingTaxType>,java.lang.constant.Constable
public enum MatchingTaxType extends java.lang.Enum<MatchingTaxType>
This data type is only used when an object must "Match" tax types. By specifying options here,
you can indicate which tax types will match for the purposes of this object.
For example, if you specify BothSalesAndUseTax, this value matches with both sales and seller's use tax.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description AllMatch all tax typesBatteriesBatteries tax typeBothSalesAndUseTaxMatch both Sales and Use Tax onlyBottleMatch bottle tax typeConsumersUseAndSellersUseTaxMatch both Consumer Use and Seller's Use Tax typesConsumerUseAndSalesTaxMatch both Consumer Use and Sales Tax typesConsumerUseTaxMatch Consumer Use Tax onlyEMatch medical excise typeEWasteEWaste tax typeFeeMatch Fee tax types onlyLightBulbsLightBulbs tax typeLodgingMatch Lodging tax typeRentalMatch Rental tax types onlyRentToOwnMatch RentToOwn tax typeSalesTaxMatch Sales Tax onlyUseTaxMatch Seller's Use Tax onlyVATInputTaxMatch VAT Input Tax onlyVATNonrecoverableInputTaxMatch VAT Nonrecoverable Input Tax onlyVATOutputTaxMatch VAT Output Tax only -
Method Summary
Modifier and Type Method Description intgetValue()static MatchingTaxTypevalueOf(int intValue)Returns the enum constant of this type with the specified name.static MatchingTaxTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MatchingTaxType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
E
Match medical excise type -
Lodging
Match Lodging tax type -
Bottle
Match bottle tax type -
RentToOwn
Match RentToOwn tax type -
All
Match all tax types -
BothSalesAndUseTax
Match both Sales and Use Tax only -
ConsumerUseTax
Match Consumer Use Tax only -
ConsumersUseAndSellersUseTax
Match both Consumer Use and Seller's Use Tax types -
ConsumerUseAndSalesTax
Match both Consumer Use and Sales Tax types -
Fee
Match Fee tax types only -
VATInputTax
Match VAT Input Tax only -
LightBulbs
LightBulbs tax type -
VATNonrecoverableInputTax
Match VAT Nonrecoverable Input Tax only -
VATOutputTax
Match VAT Output Tax only -
Rental
Match Rental tax types only -
SalesTax
Match Sales Tax only -
UseTax
Match Seller's Use Tax only -
EWaste
EWaste tax type -
Batteries
Batteries tax type
-
-
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()
-