net.authorize.data.creditcard
Enum AVSCode
java.lang.Object
java.lang.Enum<AVSCode>
net.authorize.data.creditcard.AVSCode
- All Implemented Interfaces:
- Serializable, Comparable<AVSCode>
public enum AVSCode
- extends Enum<AVSCode>
- implements Serializable
Address Verification Service (AVS) response codes.
A
public static final AVSCode A
B
public static final AVSCode B
E
public static final AVSCode E
G
public static final AVSCode G
N
public static final AVSCode N
P
public static final AVSCode P
R
public static final AVSCode R
S
public static final AVSCode S
U
public static final AVSCode U
W
public static final AVSCode W
X
public static final AVSCode X
Y
public static final AVSCode Y
Z
public static final AVSCode Z
values
public static AVSCode[] 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 (AVSCode c : AVSCode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static AVSCode valueOf(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:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
findByValue
public static AVSCode findByValue(String value)
getValue
public String getValue()
- Returns:
- the value
getDescription
public String getDescription()
- Returns:
- the description
Copyright © 2014. All Rights Reserved.