public enum AvsCode extends Enum<AvsCode>
| Enum Constant and Description |
|---|
_UNKNOWN
Unknown values will be mapped by this enum member
|
AVS_0
For Maestro, all address information matches.
|
AVS_1
For Maestro, none of the address information matches.
|
AVS_2
For Maestro, part of the address information matches.
|
AVS_3
For Maestro, the merchant did not provide AVS information.
|
AVS_4
For Maestro, the address was not checked or the acquirer had no response.
|
AVS_A
For Visa, Mastercard, or Discover transactions, the address matches but the zip code does not match.
|
AVS_B
For Visa, Mastercard, or Discover transactions, the address matches.
|
AVS_C
For Visa, Mastercard, or Discover transactions, no values match.
|
AVS_D
For Visa, Mastercard, or Discover transactions, the address and postal code match.
|
AVS_E
For Visa, Mastercard, or Discover transactions, not allowed for Internet or phone transactions.
|
AVS_F
For Visa, Mastercard, or Discover transactions, the address and postal code match.
|
AVS_G
For Visa, Mastercard, or Discover transactions, global is unavailable.
|
AVS_I
For Visa, Mastercard, or Discover transactions, international is unavailable.
|
AVS_M
For Visa, Mastercard, or Discover transactions, the address and postal code match.
|
AVS_N
For Visa, Mastercard, or Discover transactions, nothing matches.
|
AVS_NULL
For Maestro, no AVS response was obtained.
|
AVS_P
For Visa, Mastercard, or Discover transactions, postal international Z.
|
AVS_R
For Visa, Mastercard, or Discover transactions, re-try the request.
|
AVS_S
For Visa, Mastercard, Discover, or American Express, the service is not supported.
|
AVS_U
For Visa, Mastercard, or Discover transactions, the service is unavailable.
|
AVS_W
For Visa, Mastercard, or Discover transactions, whole ZIP code.
|
AVS_X
For Visa, Mastercard, or Discover transactions, exact match of the address and the nine-digit ZIP code.
|
AVS_Y
For Visa, Mastercard, or Discover transactions, the address and five-digit ZIP code match.
|
AVS_Z
For Visa, Mastercard, or Discover transactions, the five-digit ZIP code matches but no address.
|
| Modifier and Type | Method and Description |
|---|---|
static AvsCode |
constructFromString(String toConvert)
Returns the enum member associated with the given string value.
|
static AvsCode |
fromString(String toConvert)
Returns the enum member associated with the given string value.
|
String |
toString()
Get string representation of this enum.
|
static List<String> |
toValue(List<AvsCode> toConvert)
Convert list of AvsCode values to list of string values.
|
String |
value()
Returns the string value associated with the enum member.
|
static AvsCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvsCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvsCode AVS_A
public static final AvsCode AVS_B
public static final AvsCode AVS_C
public static final AvsCode AVS_D
public static final AvsCode AVS_E
public static final AvsCode AVS_F
public static final AvsCode AVS_G
public static final AvsCode AVS_I
public static final AvsCode AVS_M
public static final AvsCode AVS_N
public static final AvsCode AVS_P
public static final AvsCode AVS_R
public static final AvsCode AVS_S
public static final AvsCode AVS_U
public static final AvsCode AVS_W
public static final AvsCode AVS_X
public static final AvsCode AVS_Y
public static final AvsCode AVS_Z
public static final AvsCode AVS_NULL
public static final AvsCode AVS_0
public static final AvsCode AVS_1
public static final AvsCode AVS_2
public static final AvsCode AVS_3
public static final AvsCode AVS_4
public static final AvsCode _UNKNOWN
public static AvsCode[] values()
for (AvsCode c : AvsCode.values()) System.out.println(c);
public static AvsCode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static AvsCode constructFromString(String toConvert) throws IOException
toConvert - String value to get enum member.IOException - when provided value is not mapped to any enum member.public static AvsCode fromString(String toConvert)
toConvert - String value to get enum member.public String value()
public String toString()
Copyright © 2025. All rights reserved.