net.authorize
Enum DeviceType
java.lang.Object
java.lang.Enum<DeviceType>
net.authorize.DeviceType
- All Implemented Interfaces:
- Serializable, Comparable<DeviceType>
public enum DeviceType
- extends Enum<DeviceType>
DeviceType is used for Card Present transactions.
|
Method Summary |
String |
getValue()
Return the DeviceType value. |
static DeviceType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DeviceType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
UNKNOWN
public static final DeviceType UNKNOWN
UNATTENDED
public static final DeviceType UNATTENDED
SELF_SERVICE_TERMINAL
public static final DeviceType SELF_SERVICE_TERMINAL
ELECTRONIC_CASH_REGISTER
public static final DeviceType ELECTRONIC_CASH_REGISTER
PERSONAL_COMPUTER_BASED_TERMINAL
public static final DeviceType PERSONAL_COMPUTER_BASED_TERMINAL
AIRPAY
public static final DeviceType AIRPAY
WIRELESS_POS
public static final DeviceType WIRELESS_POS
WEBSITE
public static final DeviceType WEBSITE
DIAL_TERMINAL
public static final DeviceType DIAL_TERMINAL
VIRTUAL_TERMINAL
public static final DeviceType VIRTUAL_TERMINAL
values
public static DeviceType[] 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 (DeviceType c : DeviceType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DeviceType 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 name
NullPointerException - if the argument is null
getValue
public String getValue()
- Return the DeviceType value.
- Returns:
- the value
Copyright © 2014. All Rights Reserved.