Enum AddressVerificationDecision

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<AddressVerificationDecision>

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

      Enum Constants 
      Enum Constant Description
      ACCEPT
      The address was verified.
      REJECT
      The address data is insufficient or incorrect, and no corrections/standardization could be applied
      REVIEW
      There are major differences between the address entered and the corrected standardized address(es)
      UNKNOWN
      A valid decision was not provided by the service
    • Enum Constant Detail

      • 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
    • Method Detail

      • values

        public static AddressVerificationDecision[] 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 (AddressVerificationDecision c : AddressVerificationDecision.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AddressVerificationDecision 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 name
        java.lang.NullPointerException - if the argument is null
      • getDecisionString

        public java.lang.String getDecisionString()