Enum ResolutionQuality
- All Implemented Interfaces:
Serializable
,Comparable<ResolutionQuality>
,java.lang.constant.Constable
The address resolution quality of an address validation result
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionPulled from a static list of geocodes for specific jurisdictionsAvalara-defined country centroidLocation was already geocoded on the requestInterpolated to rooftopNearest intersectionLocation was not geocodedGeocoded at a level more coarse than a PostalCentroid1Best postal code (zip9 in US, complete postal code elsewhere)Better postal code (zip7 in US)Largest postal code (zip5 in US, left three in CA, etcAvalara-defined state / province centroidAssumed to be rooftop level, non-interpolated -
Method Summary
Modifier and TypeMethodDescriptionint
getValue()
static ResolutionQuality
valueOf
(int intValue) Returns the enum constant of this type with the specified name.static ResolutionQuality
Returns the enum constant of this type with the specified name.static ResolutionQuality[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NotCoded
Location was not geocoded -
External
Location was already geocoded on the request -
CountryCentroid
Avalara-defined country centroid -
RegionCentroid
Avalara-defined state / province centroid -
PartialCentroid
Geocoded at a level more coarse than a PostalCentroid1 -
PostalCentroidGood
Largest postal code (zip5 in US, left three in CA, etc -
PostalCentroidBetter
Better postal code (zip7 in US) -
PostalCentroidBest
Best postal code (zip9 in US, complete postal code elsewhere) -
Intersection
Nearest intersection -
Interpolated
Interpolated to rooftop -
Rooftop
Assumed to be rooftop level, non-interpolated -
Constant
Pulled from a static list of geocodes for specific jurisdictions
-
-
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
public int getValue()
-