static enum APICheckServiceImpl.ApiStatus extends java.lang.Enum<APICheckServiceImpl.ApiStatus>
Enum Constant and Description |
---|
OK |
UNAUTHORIZED_DEVELOPER |
UNKNOWN_MERCHANT_ID |
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
INVALID_ORDER_REFERENCE_ID |
private static java.lang.String |
INVALID_PARAMETER_VALUE |
Modifier and Type | Method and Description |
---|---|
static APICheckServiceImpl.ApiStatus |
getStatus(java.lang.String errorCode) |
static APICheckServiceImpl.ApiStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static APICheckServiceImpl.ApiStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final APICheckServiceImpl.ApiStatus OK
public static final APICheckServiceImpl.ApiStatus UNKNOWN_MERCHANT_ID
public static final APICheckServiceImpl.ApiStatus UNAUTHORIZED_DEVELOPER
private static final java.lang.String INVALID_PARAMETER_VALUE
private static final java.lang.String INVALID_ORDER_REFERENCE_ID
public static APICheckServiceImpl.ApiStatus[] values()
for (APICheckServiceImpl.ApiStatus c : APICheckServiceImpl.ApiStatus.values()) System.out.println(c);
public static APICheckServiceImpl.ApiStatus 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 APICheckServiceImpl.ApiStatus getStatus(java.lang.String errorCode)