Enum Class AddressVerificationDecision
java.lang.Object
java.lang.Enum<AddressVerificationDecision>
de.hybris.platform.commerceservices.address.AddressVerificationDecision
- All Implemented Interfaces:
Serializable,Comparable<AddressVerificationDecision>,Constable
Represents the set of response codes that can be returned by an external address verification service.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe address was verified.The address data is insufficient or incorrect, and no corrections/standardization could be appliedThere are major differences between the address entered and the corrected standardized address(es)A valid decision was not provided by the service -
Method Summary
Modifier and TypeMethodDescriptionstatic AddressVerificationDecisionstatic AddressVerificationDecisionReturns the enum constant of this class with the specified name.static AddressVerificationDecision[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ACCEPT
The address was verified. No major differences between the address entered and suggested address(es) -
REVIEW
There are major differences between the address entered and the corrected standardized address(es) -
REJECT
The address data is insufficient or incorrect, and no corrections/standardization could be applied -
UNKNOWN
A valid decision was not provided by the service
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDecisionString
-
lookup
-