|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<ResponseCode>
net.authorize.ResponseCode
public enum ResponseCode
Response code indicates the overall status of the transaction with possible values of approved, declined, error, or held for review.
Enum Constant Summary | |
---|---|
APPROVED
|
|
DECLINED
|
|
ERROR
|
|
REVIEW
|
|
UNKNOWN
|
Method Summary | |
---|---|
static ResponseCode |
findByResponseCode(int code)
Lookup a ResponseCode by it's response code. |
static ResponseCode |
findByResponseCode(String code)
Lookup a ResponseCode by it's response code. |
int |
getCode()
|
String |
getDescription()
|
static ResponseCode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ResponseCode[] |
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 ResponseCode APPROVED
public static final ResponseCode DECLINED
public static final ResponseCode ERROR
public static final ResponseCode REVIEW
public static final ResponseCode UNKNOWN
Method Detail |
---|
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode 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 ResponseCode findByResponseCode(int code)
code
-
public static ResponseCode findByResponseCode(String code)
code
-
public int getCode()
public String getDescription()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |