Package com.six.timapi.constants
Enum HardwareType
- java.lang.Object
-
- java.lang.Enum<HardwareType>
-
- com.six.timapi.constants.HardwareType
-
- All Implemented Interfaces:
Serializable
,Comparable<HardwareType>
public enum HardwareType extends Enum<HardwareType>
HardwareTypes are used to label hardware related data in the HardwareInformation response.
The following values are valid:
Specification: retail.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BLUETOOTH_ADAPTER
Bluetooth DeviceCONTACT_READER
Contact ICC reader.CONTACTLESS_READER
Contactless card reader.EFT_APPLICATION
Software that runs on the terminal.LAN_ADAPTER
Wired LAN Network DeviceMAG_STRIPE_READER
Magnetic stripe reader.MOBILE_ADAPTER
Mobile Network DevicePIN_PAD
Secure part of the terminal.TERMINAL
Terminal device related, not the secure part.WIFI_ADAPTER
Wireless LAN Network Device
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HardwareType
valueOf(String name)
Returns the enum constant of this type with the specified name.static HardwareType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TERMINAL
public static final HardwareType TERMINAL
Terminal device related, not the secure part.
Specification: retail.
-
EFT_APPLICATION
public static final HardwareType EFT_APPLICATION
Software that runs on the terminal.
Specification: retail.
-
PIN_PAD
public static final HardwareType PIN_PAD
Secure part of the terminal.
Specification: retail.
-
CONTACT_READER
public static final HardwareType CONTACT_READER
Contact ICC reader.
Specification: retail.
-
CONTACTLESS_READER
public static final HardwareType CONTACTLESS_READER
Contactless card reader.
Specification: retail.
-
MAG_STRIPE_READER
public static final HardwareType MAG_STRIPE_READER
Magnetic stripe reader.
Specification: retail.
-
WIFI_ADAPTER
public static final HardwareType WIFI_ADAPTER
Wireless LAN Network Device
Specification: retail.
-
LAN_ADAPTER
public static final HardwareType LAN_ADAPTER
Wired LAN Network Device
Specification: retail.
-
BLUETOOTH_ADAPTER
public static final HardwareType BLUETOOTH_ADAPTER
Bluetooth Device
Specification: retail.
-
MOBILE_ADAPTER
public static final HardwareType MOBILE_ADAPTER
Mobile Network Device
Specification: retail.
-
-
Method Detail
-
values
public static HardwareType[] 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 (HardwareType c : HardwareType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HardwareType 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
-
-