|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<AddressVerificationCode>
org.starhope.appius.pay.util.AddressVerificationCode
public enum AddressVerificationCode
This is based upon the following codes enumerated by Authorize.Net. (Future gateways may add other codes or reuse existing codes for conformity.)
A = Address (Street) matches, ZIP does not
B = Address information not provided for AVS check
TODO: Case "C" Response.Write"Street address and Postal Code not verified for international transaction due to incompatible formats. (Acquirer sent both street address and Postal Code.)" Case "D" Response.Write "International Transaction: Street address and Postal Code match."
E = AVS error
G = Non-U.S. Card Issuing Bank
N = No Match on Address (Street) or ZIP
P = AVS not applicable for this transaction
R = Retry – System unavailable or timed out
S = Service not supported by issuer
U = Address information is unavailable
W = Nine digit ZIP matches, Address (Street) does not
X = Address (Street) and nine digit ZIP match
Y = Address (Street) and five digit ZIP match
Z = Five digit ZIP matches, Address (Street) does not
TODO: Copy the documentation and codes from here (the class Javadocs) into the individual Javadoc comments for each enumerated value.
Enum Constant Summary | |
---|---|
ADDRESS_AND_ZIP_MISMATCH
WRITEME |
|
ADDRESS_AND_ZIP_OK
WRITEME |
|
ADDRESS_AND_ZIP_PLUS4_OK
WRITEME |
|
ADDRESS_NOT_PROVIDED
WRITEME |
|
ADDRESS_OK_ZIP_BAD
WRITEME |
|
ADDRESS_UNAVAILABLE
WRITEME |
|
AVS_ERROR
WRITEME |
|
AVS_NOT_APPLICABLE
WRITEME |
|
AVS_NOT_SUPPORTED_BY_BANK
WRITEME |
|
AVS_SYSTEM_UNAVAIL_RETRY
WRITEME |
|
INVALID_AVS
WRITEME |
|
NON_US_ADDRESS
WRITEME |
|
NON_US_BANK
WRITEME |
|
NON_US_STREET_AND_POSTAL_OK
WRITEME |
|
ZIP_OK_ADDRESS_BAD
WRITEME |
|
ZIP_PLUS4_OK_ADDRESS_BAD
WRITEME |
Method Summary | |
---|---|
static String |
explain(AddressVerificationCode avs)
Generate a human-presentable (end-user-visible) explanation of this status code. |
static Object |
forAuthorizeNetCode(String string)
WRITEME: document this method (brpocock@star-hope.org, Jul 14, 2009) |
static AddressVerificationCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static AddressVerificationCode[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final AddressVerificationCode ADDRESS_AND_ZIP_MISMATCH
public static final AddressVerificationCode ADDRESS_AND_ZIP_OK
public static final AddressVerificationCode ADDRESS_AND_ZIP_PLUS4_OK
public static final AddressVerificationCode ADDRESS_NOT_PROVIDED
public static final AddressVerificationCode ADDRESS_OK_ZIP_BAD
public static final AddressVerificationCode ADDRESS_UNAVAILABLE
public static final AddressVerificationCode AVS_ERROR
public static final AddressVerificationCode AVS_NOT_APPLICABLE
public static final AddressVerificationCode AVS_NOT_SUPPORTED_BY_BANK
public static final AddressVerificationCode AVS_SYSTEM_UNAVAIL_RETRY
public static final AddressVerificationCode INVALID_AVS
public static final AddressVerificationCode NON_US_ADDRESS
public static final AddressVerificationCode NON_US_BANK
public static final AddressVerificationCode NON_US_STREET_AND_POSTAL_OK
public static final AddressVerificationCode ZIP_OK_ADDRESS_BAD
public static final AddressVerificationCode ZIP_PLUS4_OK_ADDRESS_BAD
Method Detail |
---|
public static AddressVerificationCode[] values()
for (AddressVerificationCode c : AddressVerificationCode.values()) System.out.println(c);
public static AddressVerificationCode valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic static String explain(AddressVerificationCode avs)
avs
- The AddressVerificationCode to be explained
public static Object forAuthorizeNetCode(String string)
string
- WRITEME
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |