Package com.adyen.model.nexo
Enum InputCommandType
- java.lang.Object
-
- java.lang.Enum<InputCommandType>
-
- com.adyen.model.nexo.InputCommandType
-
- All Implemented Interfaces:
Serializable,Comparable<InputCommandType>
public enum InputCommandType extends Enum<InputCommandType>
Java class for InputCommandType.The following schema fragment specifies the expected content contained within this class.
<simpleType name="InputCommandType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="GetAnyKey"/> <enumeration value="GetConfirmation"/> <enumeration value="SiteManager"/> <enumeration value="TextString"/> <enumeration value="DigitString"/> <enumeration value="DecimalString"/> <enumeration value="GetFunctionKey"/> <enumeration value="GetMenuEntry"/> <enumeration value="Password"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECIMAL_STRINGWait for a string of digit characters with a decimal point, the length range could be specified.DIGIT_STRINGWait for a string of digit characters, the length range could be specified.GET_ANY_KEYWait for a key pressed on the Terminal, to be able to read the messageType displayed on the Terminal.GET_CONFIRMATIONWait for a confirmation Yes (Y) or No (N) on the Sale Terminal.GET_FUNCTION_KEYWait for a function key pressed on the Terminal: From POI, Valid, Clear, Correct, Generic Function key number.GET_MENU_ENTRYTo choose an entry among a list of entrys (all of them are not necessary selectable).PASSWORDRequest to enter a password with masked characters while typing the password.SITE_MANAGERWait for a confirmation Yes (Y) or No (N) of the Site Manager on the Sale Terminal.TEXT_STRINGWait for a string of alphanumeric characters, the length range could be specified.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputCommandTypefromValue(String v)Returns the enum constant matching the given string, ornullif no match is found.Stringvalue()Value string.static InputCommandTypevalueOf(String name)Returns the enum constant of this type with the specified name.static InputCommandType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
GET_ANY_KEY
@SerializedName("GetAnyKey") public static final InputCommandType GET_ANY_KEYWait for a key pressed on the Terminal, to be able to read the messageType displayed on the Terminal.
-
GET_CONFIRMATION
@SerializedName("GetConfirmation") public static final InputCommandType GET_CONFIRMATIONWait for a confirmation Yes (Y) or No (N) on the Sale Terminal. Wait for a confirmation (Valid or Cancel button) on the POI Terminal. The result of the command
-
SITE_MANAGER
@SerializedName("SiteManager") public static final InputCommandType SITE_MANAGERWait for a confirmation Yes (Y) or No (N) of the Site Manager on the Sale Terminal.
-
TEXT_STRING
@SerializedName("TextString") public static final InputCommandType TEXT_STRINGWait for a string of alphanumeric characters, the length range could be specified.
-
DIGIT_STRING
@SerializedName("DigitString") public static final InputCommandType DIGIT_STRINGWait for a string of digit characters, the length range could be specified.
-
DECIMAL_STRING
@SerializedName("DecimalString") public static final InputCommandType DECIMAL_STRINGWait for a string of digit characters with a decimal point, the length range could be specified.
-
GET_FUNCTION_KEY
@SerializedName("GetFunctionKey") public static final InputCommandType GET_FUNCTION_KEYWait for a function key pressed on the Terminal: From POI, Valid, Clear, Correct, Generic Function key number. From Sale, Generic Function key.
-
GET_MENU_ENTRY
@SerializedName("GetMenuEntry") public static final InputCommandType GET_MENU_ENTRYTo choose an entry among a list of entrys (all of them are not necessary selectable). The OutputFormat has to be MenuEntry.
-
PASSWORD
@SerializedName("Password") public static final InputCommandType PASSWORDRequest to enter a password with masked characters while typing the password.
-
-
Method Detail
-
values
public static InputCommandType[] 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 (InputCommandType c : InputCommandType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputCommandType 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 InputCommandType fromValue(String v)
Returns the enum constant matching the given string, ornullif no match is found.- Parameters:
v- string value- Returns:
- the InputCommandType, or
nullif no match is found.
-
-