net.authorize
Enum DeviceType

java.lang.Object
  extended by java.lang.Enum<DeviceType>
      extended by net.authorize.DeviceType
All Implemented Interfaces:
Serializable, Comparable<DeviceType>

public enum DeviceType
extends Enum<DeviceType>

DeviceType is used for Card Present transactions.


Enum Constant Summary
AIRPAY
           
DIAL_TERMINAL
           
ELECTRONIC_CASH_REGISTER
           
PERSONAL_COMPUTER_BASED_TERMINAL
           
SELF_SERVICE_TERMINAL
           
UNATTENDED
           
UNKNOWN
           
VIRTUAL_TERMINAL
           
WEBSITE
           
WIRELESS_POS
           
 
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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.