Package com.adyen.model.tapi
Enum InputCommand
- java.lang.Object
-
- java.lang.Enum<InputCommand>
-
- com.adyen.model.tapi.InputCommand
-
- All Implemented Interfaces:
Serializable,Comparable<InputCommand>
public enum InputCommand extends Enum<InputCommand>
Gets or Sets InputCommand
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DECIMAL_STRINGDIGIT_STRINGGET_ANY_KEYGET_CONFIRMATIONGET_FUNCTION_KEYGET_MENU_ENTRYPASSWORDSITE_MANAGERTEXT_STRING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static InputCommandfromValue(String value)StringgetValue()StringtoString()static InputCommandvalueOf(String name)Returns the enum constant of this type with the specified name.static InputCommand[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DECIMAL_STRING
public static final InputCommand DECIMAL_STRING
-
DIGIT_STRING
public static final InputCommand DIGIT_STRING
-
GET_ANY_KEY
public static final InputCommand GET_ANY_KEY
-
GET_CONFIRMATION
public static final InputCommand GET_CONFIRMATION
-
GET_FUNCTION_KEY
public static final InputCommand GET_FUNCTION_KEY
-
GET_MENU_ENTRY
public static final InputCommand GET_MENU_ENTRY
-
PASSWORD
public static final InputCommand PASSWORD
-
SITE_MANAGER
public static final InputCommand SITE_MANAGER
-
TEXT_STRING
public static final InputCommand TEXT_STRING
-
-
Method Detail
-
values
public static InputCommand[] 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 (InputCommand c : InputCommand.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static InputCommand 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<InputCommand>
-
fromValue
public static InputCommand fromValue(String value)
-
-