Enum ResolutionQuality
java.lang.Object
java.lang.Enum<ResolutionQuality>
net.avalara.avatax.rest.client.enums.ResolutionQuality
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ResolutionQuality>,java.lang.constant.Constable
public enum ResolutionQuality extends java.lang.Enum<ResolutionQuality>
The address resolution quality of an address validation result
-
Nested Class Summary
-
Enum Constant Summary
Enum Constants Enum Constant Description ConstantPulled from a static list of geocodes for specific jurisdictionsCountryCentroidAvalara-defined country centroidExternalLocation was already geocoded on the requestInterpolatedInterpolated to rooftopIntersectionNearest intersectionNotCodedLocation was not geocodedPartialCentroidGeocoded at a level more coarse than a PostalCentroid1PostalCentroidBestBest postal code (zip9 in US, complete postal code elsewhere)PostalCentroidBetterBetter postal code (zip7 in US)PostalCentroidGoodLargest postal code (zip5 in US, left three in CA, etcRegionCentroidAvalara-defined state / province centroidRooftopAssumed to be rooftop level, non-interpolated -
Method Summary
Modifier and Type Method Description intgetValue()static ResolutionQualityvalueOf(int intValue)Returns the enum constant of this type with the specified name.static ResolutionQualityvalueOf(java.lang.String name)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:
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()
-