Package com.adyen.model.nexo
Enum TerminalEnvironmentType
- java.lang.Object
-
- java.lang.Enum<TerminalEnvironmentType>
-
- com.adyen.model.nexo.TerminalEnvironmentType
-
- All Implemented Interfaces:
Serializable,Comparable<TerminalEnvironmentType>
public enum TerminalEnvironmentType extends Enum<TerminalEnvironmentType>
Java class for TerminalEnvironmentType.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="TerminalEnvironmentType"> <restriction base="{http://www.w3.org/2001/XMLSchema}string"> <enumeration value="Attended"/> <enumeration value="SemiAttended"/> <enumeration value="Unattended"/> </restriction> </simpleType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTENDEDThe Sale Terminal is managed by a Cashier through the Sale System.SEMI_ATTENDEDWithout a Cashier Interface.UNATTENDEDThe Sale Terminal is managed as a logical terminal without any Cashier Interface (typically a background process).
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TerminalEnvironmentTypefromValue(String v)From value terminal environment type.Stringvalue()Value string.static TerminalEnvironmentTypevalueOf(String name)Returns the enum constant of this type with the specified name.static TerminalEnvironmentType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ATTENDED
public static final TerminalEnvironmentType ATTENDED
The Sale Terminal is managed by a Cashier through the Sale System. A Cashier Interface is provided by the POI System during the process of a request from the
-
SEMI_ATTENDED
public static final TerminalEnvironmentType SEMI_ATTENDED
Without a Cashier Interface. The POI Terminal is managed by the Customer through the Customer Interface. A Cashier could help the Cardholder during the
-
UNATTENDED
public static final TerminalEnvironmentType UNATTENDED
The Sale Terminal is managed as a logical terminal without any Cashier Interface (typically a background process). The POI Terminal is managed by the Customer
-
-
Method Detail
-
values
public static TerminalEnvironmentType[] 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 (TerminalEnvironmentType c : TerminalEnvironmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TerminalEnvironmentType 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 TerminalEnvironmentType fromValue(String v)
From value terminal environment type.- Parameters:
v- the v- Returns:
- the terminal environment type
-
-