Package com.adyen.model.nexo
Enum ErrorConditionType
- java.lang.Object
-
- java.lang.Enum<ErrorConditionType>
-
- com.adyen.model.nexo.ErrorConditionType
-
- All Implemented Interfaces:
Serializable,Comparable<ErrorConditionType>
public enum ErrorConditionType extends Enum<ErrorConditionType>
Java class for ErrorConditionType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="ErrorConditionType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Aborted"/> <enumeration value="Busy"/> <enumeration value="Cancel"/> <enumeration value="DeviceOut"/> <enumeration value="InsertedCard"/> <enumeration value="InProgress"/> <enumeration value="LoggedOut"/> <enumeration value="MessageFormat"/> <enumeration value="NotAllowed"/> <enumeration value="NotFound"/> <enumeration value="PaymentRestriction"/> <enumeration value="Refusal"/> <enumeration value="UnavailableDevice"/> <enumeration value="UnavailableService"/> <enumeration value="InvalidCard"/> <enumeration value="UnreachableHost"/> <enumeration value="WrongPIN"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ABORTEDThe Initiator of the request has sent an Abort messageType request, which was accepted and processed.BUSYThe system is busy, try laterCANCELThe user has aborted the transaction on the PED keyboard, for instance during PIN entering.DEVICE_OUTDevice out of orderIN_PROGRESSThe transaction is still in progress and then the command cannot be processedINSERTED_CARDIf the Input Device request a NotifyCardInputFlag and the Customer enters a card in the card reader without answers to the Input command, the POI abort theINVALID_CARDThe card entered by the Customer cannot be processed by the POI because this card is not configured in the systemLOGGED_OUTNot logged inMESSAGE_FORMATError on the format of the messageType, AdditionalResponse shall contain the identification of the data, and the reason in clear text.NOT_ALLOWEDA service request is sent during a Service dialogue.NOT_FOUNDThe transaction is not found (e.g. for a reversal or a repeat)PAYMENT_RESTRICTIONSome sale items are not payable by the card proposed by the Customer.REFUSALThe transaction is refused by the host or the rules associated to the card, and cannot be repeated.UNAVAILABLE_DEVICEThe hardware is not available (absent, not configured...)UNAVAILABLE_SERVICEThe service is not available (not implemented, not configured, protocol version too old...)UNREACHABLE_HOSTAcquirer or any host is unreachable or has not answered to an online request, so is considered as temporary unavailable.WRONG_PINThe user has entered the PIN on the PED keyboard and the verification fails.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ErrorConditionTypefromValue(String v)From value error condition type.Stringvalue()Value string.static ErrorConditionTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ErrorConditionType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ABORTED
public static final ErrorConditionType ABORTED
The Initiator of the request has sent an Abort messageType request, which was accepted and processed.
-
BUSY
public static final ErrorConditionType BUSY
The system is busy, try later
-
CANCEL
public static final ErrorConditionType CANCEL
The user has aborted the transaction on the PED keyboard, for instance during PIN entering.
-
DEVICE_OUT
public static final ErrorConditionType DEVICE_OUT
Device out of order
-
INSERTED_CARD
public static final ErrorConditionType INSERTED_CARD
If the Input Device request a NotifyCardInputFlag and the Customer enters a card in the card reader without answers to the Input command, the POI abort the
-
IN_PROGRESS
public static final ErrorConditionType IN_PROGRESS
The transaction is still in progress and then the command cannot be processed
-
LOGGED_OUT
public static final ErrorConditionType LOGGED_OUT
Not logged in
-
MESSAGE_FORMAT
public static final ErrorConditionType MESSAGE_FORMAT
Error on the format of the messageType, AdditionalResponse shall contain the identification of the data, and the reason in clear text.
-
NOT_ALLOWED
public static final ErrorConditionType NOT_ALLOWED
A service request is sent during a Service dialogue. A combination of services not possible to provide. During the CardReaderInit messageType processing, the user
-
NOT_FOUND
public static final ErrorConditionType NOT_FOUND
The transaction is not found (e.g. for a reversal or a repeat)
-
PAYMENT_RESTRICTION
public static final ErrorConditionType PAYMENT_RESTRICTION
Some sale items are not payable by the card proposed by the Customer.
-
REFUSAL
public static final ErrorConditionType REFUSAL
The transaction is refused by the host or the rules associated to the card, and cannot be repeated.
-
UNAVAILABLE_DEVICE
public static final ErrorConditionType UNAVAILABLE_DEVICE
The hardware is not available (absent, not configured...)
-
UNAVAILABLE_SERVICE
public static final ErrorConditionType UNAVAILABLE_SERVICE
The service is not available (not implemented, not configured, protocol version too old...)
-
INVALID_CARD
public static final ErrorConditionType INVALID_CARD
The card entered by the Customer cannot be processed by the POI because this card is not configured in the system
-
UNREACHABLE_HOST
public static final ErrorConditionType UNREACHABLE_HOST
Acquirer or any host is unreachable or has not answered to an online request, so is considered as temporary unavailable. Depending on the Sale context, the
-
WRONG_PIN
public static final ErrorConditionType WRONG_PIN
The user has entered the PIN on the PED keyboard and the verification fails.
-
-
Method Detail
-
values
public static ErrorConditionType[] 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 (ErrorConditionType c : ErrorConditionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ErrorConditionType 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
-
value
public String value()
Value string.- Returns:
- the string
-
fromValue
public static ErrorConditionType fromValue(String v)
From value error condition type.- Parameters:
v- the v- Returns:
- the error condition type
-
-