public enum PaymentServiceExceptionCodes extends java.lang.Enum<PaymentServiceExceptionCodes> implements StandardServiceExceptionCode
| Enum Constant and Description |
|---|
AMOUNT_INVALID
"The amount requested is invalid".
|
AMOUNT_MISSING
"The amount requested is missing".
|
CARD_ACCOUNTNUMBER_INVALID
"The card number is invalid".
|
CARD_ACCOUNTNUMBER_MISSING
"The card number is missing".
|
CARD_EXP_DATE_INVALID
The expiration date is invalid".
|
CARD_EXP_DATE_MISSING
"The expiration date is missing".
|
CARD_TYPE_INVALID
"The card type is invalid".
|
CARD_TYPE_MISSING
"The card type is missing".
|
CVV_NUMBER_REJECTED
"The CV number was rejected.".
|
GENERAL_DECLINE_OF_CARD
"An unhandled critical error code was returned by the psp ".
|
INVALID_BILLING_ADDRESS
"The billing address is invalid".
|
INVALID_CAPTURE_TYPE
"The capture type is not valid".
|
INVALID_ORDER_STATUS_UPDATE
"The order status update is not valid".
|
MISSING_CUSTOMER_EMAIL
"The customer email is missing".
|
SIGNATURE_VERIFICATION_FAILED
"Signature verification failed for request".
|
UNKNOWN_CRITICAL_ERROR
"An unhandled critical error code was returned by the psp ".
|
UNKNOWN_UNCRITICAL_ERROR
"An unhandled uncritical error code was returned by the psp ".
|
UNREADABLE_REQUEST
"Unreadable request was send".
|
| Modifier and Type | Method and Description |
|---|---|
int |
getCode() |
java.lang.String |
getMessage() |
java.lang.String |
toString() |
static PaymentServiceExceptionCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaymentServiceExceptionCodes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaymentServiceExceptionCodes CARD_TYPE_INVALID
public static final PaymentServiceExceptionCodes CARD_ACCOUNTNUMBER_INVALID
public static final PaymentServiceExceptionCodes CARD_EXP_DATE_INVALID
public static final PaymentServiceExceptionCodes AMOUNT_INVALID
public static final PaymentServiceExceptionCodes AMOUNT_MISSING
public static final PaymentServiceExceptionCodes CARD_TYPE_MISSING
public static final PaymentServiceExceptionCodes CARD_ACCOUNTNUMBER_MISSING
public static final PaymentServiceExceptionCodes CARD_EXP_DATE_MISSING
public static final PaymentServiceExceptionCodes SIGNATURE_VERIFICATION_FAILED
public static final PaymentServiceExceptionCodes INVALID_ORDER_STATUS_UPDATE
public static final PaymentServiceExceptionCodes INVALID_CAPTURE_TYPE
public static final PaymentServiceExceptionCodes MISSING_CUSTOMER_EMAIL
public static final PaymentServiceExceptionCodes INVALID_BILLING_ADDRESS
public static final PaymentServiceExceptionCodes UNKNOWN_UNCRITICAL_ERROR
public static final PaymentServiceExceptionCodes UNKNOWN_CRITICAL_ERROR
public static final PaymentServiceExceptionCodes GENERAL_DECLINE_OF_CARD
public static final PaymentServiceExceptionCodes CVV_NUMBER_REJECTED
public static final PaymentServiceExceptionCodes UNREADABLE_REQUEST
public static PaymentServiceExceptionCodes[] values()
for (PaymentServiceExceptionCodes c : PaymentServiceExceptionCodes.values()) System.out.println(c);
public static PaymentServiceExceptionCodes 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<PaymentServiceExceptionCodes>Copyright © 2018 SAP SE. All Rights Reserved.