org.ota.air
Enum Authorization.CreditCardAuthorization.Source

java.lang.Object
  extended by java.lang.Enum<Authorization.CreditCardAuthorization.Source>
      extended by org.ota.air.Authorization.CreditCardAuthorization.Source
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Authorization.CreditCardAuthorization.Source>
Enclosing class:
Authorization.CreditCardAuthorization

public static enum Authorization.CreditCardAuthorization.Source
extends java.lang.Enum<Authorization.CreditCardAuthorization.Source>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="NormalTransaction"/>
     <xs:enumeration value="MailOrPhoneOrder"/>
     <xs:enumeration value="UnattendedTerminal"/>
     <xs:enumeration value="MerchantIsSuspicious"/>
     <xs:enumeration value="eCommerceSecuredTransaction"/>
     <xs:enumeration value="eCommerceUnsecuredTransaction"/>
     <xs:enumeration value="InFlightAirPhone"/>
     <xs:enumeration value="CID_NotLegible"/>
     <xs:enumeration value="CID_NotOnCard"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
CID_NOT_LEGIBLE
          The customer identification number cannot be read.
CID_NOT_ON_CARD
          There is no customer identification number on the card.
E_COMMERCE_SECURED_TRANSACTION
          Indicates an e-comerce transaction provided over a secure channel.
E_COMMERCE_UNSECURED_TRANSACTION
          Indicates an e-comerce transaction provided over an unsecured channel.
IN_FLIGHT_AIR_PHONE
          The purchase request is made from an in flight air phone.
MAIL_OR_PHONE_ORDER
          The source of the purchase request is a mail or phone order.
MERCHANT_IS_SUSPICIOUS
          Indicates that the merchant requesting the credit seems to be suspicious or fraudulent.
NORMAL_TRANSACTION
          Agent representation (for example, a ticket office).
UNATTENDED_TERMINAL
          The source of the purchase request is an unattended terminal such as a kiosk or ATM.
 
Method Summary
static Authorization.CreditCardAuthorization.Source convert(java.lang.String value)
           
 java.lang.String toString()
           
static Authorization.CreditCardAuthorization.Source valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Authorization.CreditCardAuthorization.Source[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NORMAL_TRANSACTION

public static final Authorization.CreditCardAuthorization.Source NORMAL_TRANSACTION
Agent representation (for example, a ticket office).


MAIL_OR_PHONE_ORDER

public static final Authorization.CreditCardAuthorization.Source MAIL_OR_PHONE_ORDER
The source of the purchase request is a mail or phone order.


UNATTENDED_TERMINAL

public static final Authorization.CreditCardAuthorization.Source UNATTENDED_TERMINAL
The source of the purchase request is an unattended terminal such as a kiosk or ATM.


MERCHANT_IS_SUSPICIOUS

public static final Authorization.CreditCardAuthorization.Source MERCHANT_IS_SUSPICIOUS
Indicates that the merchant requesting the credit seems to be suspicious or fraudulent.


E_COMMERCE_SECURED_TRANSACTION

public static final Authorization.CreditCardAuthorization.Source E_COMMERCE_SECURED_TRANSACTION
Indicates an e-comerce transaction provided over a secure channel. For example, SSL (secure sockets layer).


E_COMMERCE_UNSECURED_TRANSACTION

public static final Authorization.CreditCardAuthorization.Source E_COMMERCE_UNSECURED_TRANSACTION
Indicates an e-comerce transaction provided over an unsecured channel. For example HTTP.


IN_FLIGHT_AIR_PHONE

public static final Authorization.CreditCardAuthorization.Source IN_FLIGHT_AIR_PHONE
The purchase request is made from an in flight air phone.


CID_NOT_LEGIBLE

public static final Authorization.CreditCardAuthorization.Source CID_NOT_LEGIBLE
The customer identification number cannot be read.


CID_NOT_ON_CARD

public static final Authorization.CreditCardAuthorization.Source CID_NOT_ON_CARD
There is no customer identification number on the card.

Method Detail

values

public static Authorization.CreditCardAuthorization.Source[] 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 (Authorization.CreditCardAuthorization.Source c : Authorization.CreditCardAuthorization.Source.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Authorization.CreditCardAuthorization.Source valueOf(java.lang.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:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<Authorization.CreditCardAuthorization.Source>

convert

public static Authorization.CreditCardAuthorization.Source convert(java.lang.String value)