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)Returns the enum constant matching the given string, ornullif no match is found.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
@SerializedName("Aborted") public static final ErrorConditionType ABORTEDThe Initiator of the request has sent an Abort messageType request, which was accepted and processed.
-
BUSY
@SerializedName("Busy") public static final ErrorConditionType BUSYThe system is busy, try later
-
CANCEL
@SerializedName("Cancel") public static final ErrorConditionType CANCELThe user has aborted the transaction on the PED keyboard, for instance during PIN entering.
-
DEVICE_OUT
@SerializedName("DeviceOut") public static final ErrorConditionType DEVICE_OUTDevice out of order
-
INSERTED_CARD
@SerializedName("InsertedCard") public static final ErrorConditionType INSERTED_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 the
-
IN_PROGRESS
@SerializedName("InProgress") public static final ErrorConditionType IN_PROGRESSThe transaction is still in progress and then the command cannot be processed
-
LOGGED_OUT
@SerializedName("LoggedOut") public static final ErrorConditionType LOGGED_OUTNot logged in
-
MESSAGE_FORMAT
@SerializedName("MessageFormat") public static final ErrorConditionType MESSAGE_FORMATError on the format of the messageType, AdditionalResponse shall contain the identification of the data, and the reason in clear text.
-
NOT_ALLOWED
@SerializedName("NotAllowed") public static final ErrorConditionType NOT_ALLOWEDA 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
@SerializedName("NotFound") public static final ErrorConditionType NOT_FOUNDThe transaction is not found (e.g. for a reversal or a repeat)
-
PAYMENT_RESTRICTION
@SerializedName("PaymentRestriction") public static final ErrorConditionType PAYMENT_RESTRICTIONSome sale items are not payable by the card proposed by the Customer.
-
REFUSAL
@SerializedName("Refusal") public static final ErrorConditionType REFUSALThe transaction is refused by the host or the rules associated to the card, and cannot be repeated.
-
UNAVAILABLE_DEVICE
@SerializedName("UnavailableDevice") public static final ErrorConditionType UNAVAILABLE_DEVICEThe hardware is not available (absent, not configured...)
-
UNAVAILABLE_SERVICE
@SerializedName("UnavailableService") public static final ErrorConditionType UNAVAILABLE_SERVICEThe service is not available (not implemented, not configured, protocol version too old...)
-
INVALID_CARD
@SerializedName("InvalidCard") public static final ErrorConditionType INVALID_CARDThe card entered by the Customer cannot be processed by the POI because this card is not configured in the system
-
UNREACHABLE_HOST
@SerializedName("UnreachableHost") public static final ErrorConditionType UNREACHABLE_HOSTAcquirer 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
@SerializedName("WrongPIN") public static final ErrorConditionType WRONG_PINThe 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)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the ErrorConditionType, or
nullif no match is found.
-
-