Enum Class AddressVerificationDecision

java.lang.Object
java.lang.Enum<AddressVerificationDecision>
de.hybris.platform.commerceservices.address.AddressVerificationDecision
All Implemented Interfaces:
Serializable, Comparable<AddressVerificationDecision>, Constable

public enum AddressVerificationDecision extends Enum<AddressVerificationDecision>
Represents the set of response codes that can be returned by an external address verification service.
  • Enum Constant Details

    • ACCEPT

      public static final AddressVerificationDecision ACCEPT
      The address was verified. No major differences between the address entered and suggested address(es)
    • REVIEW

      public static final AddressVerificationDecision REVIEW
      There are major differences between the address entered and the corrected standardized address(es)
    • REJECT

      public static final AddressVerificationDecision REJECT
      The address data is insufficient or incorrect, and no corrections/standardization could be applied
    • UNKNOWN

      public static final AddressVerificationDecision UNKNOWN
      A valid decision was not provided by the service
  • Method Details

    • values

      public static AddressVerificationDecision[] 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

      public static AddressVerificationDecision valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getDecisionString

      public String getDecisionString()
    • lookup

      public static AddressVerificationDecision lookup(String decisionKey)