Package com.adyen.model.tapi
Enum ErrorCondition
- java.lang.Object
-
- java.lang.Enum<ErrorCondition>
-
- com.adyen.model.tapi.ErrorCondition
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorCondition>
public enum ErrorCondition extends Enum<ErrorCondition>
Gets or Sets ErrorCondition
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDBUSYCANCELDEVICE_OUTIN_PROGRESSINSERTED_CARDINVALID_CARDLOGGED_OUTMESSAGE_FORMATNOT_ALLOWEDNOT_FOUNDPAYMENT_RESTRICTIONREFUSALUNAVAILABLE_DEVICEUNAVAILABLE_SERVICEUNREACHABLE_HOSTWRONG_PIN
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorConditionfromValue(String value)StringgetValue()StringtoString()static ErrorConditionvalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorCondition[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final ErrorCondition ABORTED
-
BUSY
public static final ErrorCondition BUSY
-
CANCEL
public static final ErrorCondition CANCEL
-
DEVICE_OUT
public static final ErrorCondition DEVICE_OUT
-
IN_PROGRESS
public static final ErrorCondition IN_PROGRESS
-
INSERTED_CARD
public static final ErrorCondition INSERTED_CARD
-
INVALID_CARD
public static final ErrorCondition INVALID_CARD
-
LOGGED_OUT
public static final ErrorCondition LOGGED_OUT
-
MESSAGE_FORMAT
public static final ErrorCondition MESSAGE_FORMAT
-
NOT_ALLOWED
public static final ErrorCondition NOT_ALLOWED
-
NOT_FOUND
public static final ErrorCondition NOT_FOUND
-
PAYMENT_RESTRICTION
public static final ErrorCondition PAYMENT_RESTRICTION
-
REFUSAL
public static final ErrorCondition REFUSAL
-
UNAVAILABLE_DEVICE
public static final ErrorCondition UNAVAILABLE_DEVICE
-
UNAVAILABLE_SERVICE
public static final ErrorCondition UNAVAILABLE_SERVICE
-
UNREACHABLE_HOST
public static final ErrorCondition UNREACHABLE_HOST
-
WRONG_PIN
public static final ErrorCondition WRONG_PIN
-
-
Method Detail
-
values
public static ErrorCondition[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ErrorCondition c : ErrorCondition.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorCondition valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getValue
public String getValue()
-
toString
public String toString()
- Overrides:
toStringin classEnum<ErrorCondition>
-
fromValue
public static ErrorCondition fromValue(String value)
-
-