@Deprecated public enum ResponseCode extends java.lang.Enum<ResponseCode>
Enum Constant and Description |
---|
APPROVED
Deprecated.
|
DECLINED
Deprecated.
|
ERROR
Deprecated.
|
REVIEW
Deprecated.
|
UNKNOWN
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static ResponseCode |
findByResponseCode(int code)
Deprecated.
Lookup a ResponseCode by it's response code.
|
static ResponseCode |
findByResponseCode(java.lang.String code)
Deprecated.
Lookup a ResponseCode by it's response code.
|
int |
getCode()
Deprecated.
|
java.lang.String |
getDescription()
Deprecated.
|
static ResponseCode |
valueOf(java.lang.String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static ResponseCode[] |
values()
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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
public static ResponseCode[] values()
for (ResponseCode c : ResponseCode.values()) System.out.println(c);
public static ResponseCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static ResponseCode findByResponseCode(int code)
code
- public static ResponseCode findByResponseCode(java.lang.String code)
code
- public int getCode()
public java.lang.String getDescription()
Copyright © 2019. All Rights Reserved.