Enum FailureCodes
- java.lang.Object
-
- java.lang.Enum<FailureCodes>
-
- net.avalara.avatax.rest.client.enums.FailureCodes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FailureCodes>
public enum FailureCodes extends java.lang.Enum<FailureCodes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AlcoholContentLimitExceeded
BelowLegalDrinkingAge
InvalidDate
InvalidFieldType
InvalidFieldValue
InvalidFormat
MissingRequiredField
MissingRequiredLicense
ShippingProhibitedToAddress
VolumeLimitExceeded
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
static FailureCodes
valueOf(int intValue)
Returns the enum constant of this type with the specified name.static FailureCodes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FailureCodes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BelowLegalDrinkingAge
public static final FailureCodes BelowLegalDrinkingAge
-
ShippingProhibitedToAddress
public static final FailureCodes ShippingProhibitedToAddress
-
MissingRequiredLicense
public static final FailureCodes MissingRequiredLicense
-
VolumeLimitExceeded
public static final FailureCodes VolumeLimitExceeded
-
InvalidFieldValue
public static final FailureCodes InvalidFieldValue
-
MissingRequiredField
public static final FailureCodes MissingRequiredField
-
InvalidFieldType
public static final FailureCodes InvalidFieldType
-
InvalidFormat
public static final FailureCodes InvalidFormat
-
InvalidDate
public static final FailureCodes InvalidDate
-
AlcoholContentLimitExceeded
public static final FailureCodes AlcoholContentLimitExceeded
-
-
Method Detail
-
values
public static FailureCodes[] 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 (FailureCodes c : FailureCodes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailureCodes 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
-
valueOf
public static FailureCodes 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 namejava.lang.NullPointerException
- if the argument is null
-
getValue
public int getValue()
-
-