public enum FraudServiceExceptionCodes extends java.lang.Enum<FraudServiceExceptionCodes> implements StandardServiceExceptionCode
| Enum Constant and Description |
|---|
INVALID_ADDRESS_TYPE
"The address type is not valid".
|
INVALID_FRAUD_STATUS
"The service responded with an invalid fraud status".
|
INVALID_ORDER_STATUS_UPDATE
"The order status update is not valid".
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static FraudServiceExceptionCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FraudServiceExceptionCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FraudServiceExceptionCodes INVALID_ORDER_STATUS_UPDATE
public static final FraudServiceExceptionCodes INVALID_ADDRESS_TYPE
public static final FraudServiceExceptionCodes INVALID_FRAUD_STATUS
public static FraudServiceExceptionCodes[] values()
for (FraudServiceExceptionCodes c : FraudServiceExceptionCodes.values()) System.out.println(c);
public static FraudServiceExceptionCodes 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 int getCode()
getCode in interface StandardServiceExceptionCodepublic java.lang.String getMessage()
getMessage in interface StandardServiceExceptionCodepublic java.lang.String toString()
toString in class java.lang.Enum<FraudServiceExceptionCodes>Copyright © 2018 SAP SE. All Rights Reserved.