Enum FormTypeId
java.lang.Object
java.lang.Enum<FormTypeId>
net.avalara.avatax.rest.client.enums.FormTypeId
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<FormTypeId>,java.lang.constant.Constable
public enum FormTypeId extends java.lang.Enum<FormTypeId>
A list of possible AvaFile Form Types.
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ConsumerUseDenotes the form type is Consumer Use Tax onlyLodgingDenotes the form type is Lodging Tax onlyPrepaymentDenotes the form type is PrepaymentPrepaymentAllowedDenotes the form type is Prepayment AllowanceResortAndRentalDenotes the form type is Resort and Rental TaxSalesDenotes the form type is Sales Tax onlySalesAndLodgingDenotes the form type is Sales and Lodging TaxSalesAndUseDenotes the form type is Sales and Use TaxSellersUseDenotes the form type is Sellers Use Tax onlyTouristAndRentalDenotes the form type is Tourist and Rental Tax -
Method Summary
Modifier and Type Method Description intgetValue()static FormTypeIdvalueOf(int intValue)Returns the enum constant of this type with the specified name.static FormTypeIdvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static FormTypeId[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SalesAndUse
Denotes the form type is Sales and Use Tax -
Sales
Denotes the form type is Sales Tax only -
SellersUse
Denotes the form type is Sellers Use Tax only -
Lodging
Denotes the form type is Lodging Tax only -
SalesAndLodging
Denotes the form type is Sales and Lodging Tax -
ConsumerUse
Denotes the form type is Consumer Use Tax only -
ResortAndRental
Denotes the form type is Resort and Rental Tax -
TouristAndRental
Denotes the form type is Tourist and Rental Tax -
Prepayment
Denotes the form type is Prepayment -
PrepaymentAllowed
Denotes the form type is Prepayment Allowance
-
-
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()
-