org.ota.misc
Enum AuthorizationRS.Authorization.AuthorizationResult.Result

java.lang.Object
  extended by java.lang.Enum<AuthorizationRS.Authorization.AuthorizationResult.Result>
      extended by org.ota.misc.AuthorizationRS.Authorization.AuthorizationResult.Result
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<AuthorizationRS.Authorization.AuthorizationResult.Result>
Enclosing class:
AuthorizationRS.Authorization.AuthorizationResult

public static enum AuthorizationRS.Authorization.AuthorizationResult.Result
extends java.lang.Enum<AuthorizationRS.Authorization.AuthorizationResult.Result>

Schema fragment(s) for this class:

 <xs:simpleType xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:restriction base="xs:string">
     <xs:enumeration value="Approved"/>
     <xs:enumeration value="ApprovedWithPositiveID"/>
     <xs:enumeration value="Denied"/>
     <xs:enumeration value="DeniedPickupCard"/>
     <xs:enumeration value="ReferToIssuer"/>
     <xs:enumeration value="EditError"/>
   </xs:restriction>
 </xs:simpleType>
 


Enum Constant Summary
APPROVED
          Credit card authorization was approved
APPROVED_WITH_POSITIVE_ID
          Credit card authorization is approved upon card holder presenting positive identification.
DENIED
          Credit card authorization is denied and no reason is given.
DENIED_PICKUP_CARD
          Indicates that credit card authorization is not approved and that the credit card should be withheld from the customer.
EDIT_ERROR
          Credit card authorization request has incurred an edit error on the information entered.
REFER_TO_ISSUER
          Credit card authorization is not approved and card holder should check with the issuer of the card.
 
Method Summary
static AuthorizationRS.Authorization.AuthorizationResult.Result convert(java.lang.String value)
           
 java.lang.String toString()
           
static AuthorizationRS.Authorization.AuthorizationResult.Result valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static AuthorizationRS.Authorization.AuthorizationResult.Result[] 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

APPROVED

public static final AuthorizationRS.Authorization.AuthorizationResult.Result APPROVED
Credit card authorization was approved


APPROVED_WITH_POSITIVE_ID

public static final AuthorizationRS.Authorization.AuthorizationResult.Result APPROVED_WITH_POSITIVE_ID
Credit card authorization is approved upon card holder presenting positive identification.


DENIED

public static final AuthorizationRS.Authorization.AuthorizationResult.Result DENIED
Credit card authorization is denied and no reason is given.


DENIED_PICKUP_CARD

public static final AuthorizationRS.Authorization.AuthorizationResult.Result DENIED_PICKUP_CARD
Indicates that credit card authorization is not approved and that the credit card should be withheld from the customer.


REFER_TO_ISSUER

public static final AuthorizationRS.Authorization.AuthorizationResult.Result REFER_TO_ISSUER
Credit card authorization is not approved and card holder should check with the issuer of the card.


EDIT_ERROR

public static final AuthorizationRS.Authorization.AuthorizationResult.Result EDIT_ERROR
Credit card authorization request has incurred an edit error on the information entered.

Method Detail

values

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

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

valueOf

public static AuthorizationRS.Authorization.AuthorizationResult.Result 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<AuthorizationRS.Authorization.AuthorizationResult.Result>

convert

public static AuthorizationRS.Authorization.AuthorizationResult.Result convert(java.lang.String value)