net.authorize
Enum ResponseField

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

public enum ResponseField
extends Enum<ResponseField>

ResponseField mappings used in processing and matching the returned data from the payment gateway. This enum is leveraged across all the integrations of AIM,SIM,DPM,ARB and CIM.


Enum Constant Summary
ACCOUNT_NUMBER
           
ADDRESS
           
AMOUNT
           
AUTHORIZATION_CODE
           
AVS_CODE
           
CARD_CODE_RESPONSE
           
CARD_TYPE
           
CARDHOLDER_AUTHENTICATION_VERIFICATION_RESPONSE
           
CITY
           
COMPANY
           
COUNTRY
           
CUSTOMER_ID
           
DESCRIPTION
           
DUTY
           
EMAIL_ADDRESS
           
FAX
           
FIRST_NAME
           
FREIGHT
           
INVOICE_NUMBER
           
LAST_NAME
           
MD5_HASH
           
METHOD
           
PHONE
           
PREPAID_BALANCE_ON_CARD
           
PREPAID_REQUESTED_AMOUNT
           
PURCHASE_ORDER_NUMBER
           
RESERVED_1
           
RESERVED_10
           
RESERVED_11
           
RESERVED_12
           
RESERVED_13
           
RESERVED_14
           
RESERVED_15
           
RESERVED_16
           
RESERVED_17
           
RESERVED_18
           
RESERVED_19
           
RESERVED_2
           
RESERVED_20
           
RESERVED_21
           
RESERVED_22
           
RESERVED_23
           
RESERVED_3
           
RESERVED_4
           
RESERVED_5
           
RESERVED_6
           
RESERVED_7
           
RESERVED_8
           
RESERVED_9
           
RESPONSE_CODE
           
RESPONSE_REASON_CODE
           
RESPONSE_REASON_TEXT
           
RESPONSE_SUBCODE
           
SHIP_TO_ADDRESS
           
SHIP_TO_CITY
           
SHIP_TO_COMPANY
           
SHIP_TO_COUNTRY
           
SHIP_TO_FIRST_NAME
           
SHIP_TO_LAST_NAME
           
SHIP_TO_STATE
           
SHIP_TO_ZIP_CODE
           
SPLIT_TENDER_ID
           
STATE
           
TAX
           
TAX_EXEMPT
           
TRANSACTION_ID
           
TRANSACTION_TYPE
           
ZIP_CODE
           
 
Method Summary
static ResponseField findByFieldName(String fieldName)
          Lookup a ResponseField by it's field name.
static ResponseField get(int order)
          Get the ResponseField identified by the order specified.
 String getFieldName()
           
 int getResponseOrder()
           
 int getResponsOrder()
          Get the true response order.
static ResponseField valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ResponseField[] 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

RESPONSE_CODE

public static final ResponseField RESPONSE_CODE

RESPONSE_SUBCODE

public static final ResponseField RESPONSE_SUBCODE

RESPONSE_REASON_CODE

public static final ResponseField RESPONSE_REASON_CODE

RESPONSE_REASON_TEXT

public static final ResponseField RESPONSE_REASON_TEXT

AUTHORIZATION_CODE

public static final ResponseField AUTHORIZATION_CODE

AVS_CODE

public static final ResponseField AVS_CODE

TRANSACTION_ID

public static final ResponseField TRANSACTION_ID

INVOICE_NUMBER

public static final ResponseField INVOICE_NUMBER

DESCRIPTION

public static final ResponseField DESCRIPTION

AMOUNT

public static final ResponseField AMOUNT

METHOD

public static final ResponseField METHOD

TRANSACTION_TYPE

public static final ResponseField TRANSACTION_TYPE

CUSTOMER_ID

public static final ResponseField CUSTOMER_ID

FIRST_NAME

public static final ResponseField FIRST_NAME

LAST_NAME

public static final ResponseField LAST_NAME

COMPANY

public static final ResponseField COMPANY

ADDRESS

public static final ResponseField ADDRESS

CITY

public static final ResponseField CITY

STATE

public static final ResponseField STATE

ZIP_CODE

public static final ResponseField ZIP_CODE

COUNTRY

public static final ResponseField COUNTRY

PHONE

public static final ResponseField PHONE

FAX

public static final ResponseField FAX

EMAIL_ADDRESS

public static final ResponseField EMAIL_ADDRESS

SHIP_TO_FIRST_NAME

public static final ResponseField SHIP_TO_FIRST_NAME

SHIP_TO_LAST_NAME

public static final ResponseField SHIP_TO_LAST_NAME

SHIP_TO_COMPANY

public static final ResponseField SHIP_TO_COMPANY

SHIP_TO_ADDRESS

public static final ResponseField SHIP_TO_ADDRESS

SHIP_TO_CITY

public static final ResponseField SHIP_TO_CITY

SHIP_TO_STATE

public static final ResponseField SHIP_TO_STATE

SHIP_TO_ZIP_CODE

public static final ResponseField SHIP_TO_ZIP_CODE

SHIP_TO_COUNTRY

public static final ResponseField SHIP_TO_COUNTRY

TAX

public static final ResponseField TAX

DUTY

public static final ResponseField DUTY

FREIGHT

public static final ResponseField FREIGHT

TAX_EXEMPT

public static final ResponseField TAX_EXEMPT

PURCHASE_ORDER_NUMBER

public static final ResponseField PURCHASE_ORDER_NUMBER

MD5_HASH

public static final ResponseField MD5_HASH

CARD_CODE_RESPONSE

public static final ResponseField CARD_CODE_RESPONSE

CARDHOLDER_AUTHENTICATION_VERIFICATION_RESPONSE

public static final ResponseField CARDHOLDER_AUTHENTICATION_VERIFICATION_RESPONSE

RESERVED_1

public static final ResponseField RESERVED_1

RESERVED_2

public static final ResponseField RESERVED_2

RESERVED_3

public static final ResponseField RESERVED_3

RESERVED_4

public static final ResponseField RESERVED_4

RESERVED_5

public static final ResponseField RESERVED_5

RESERVED_6

public static final ResponseField RESERVED_6

RESERVED_7

public static final ResponseField RESERVED_7

RESERVED_8

public static final ResponseField RESERVED_8

RESERVED_9

public static final ResponseField RESERVED_9

RESERVED_10

public static final ResponseField RESERVED_10

ACCOUNT_NUMBER

public static final ResponseField ACCOUNT_NUMBER

CARD_TYPE

public static final ResponseField CARD_TYPE

SPLIT_TENDER_ID

public static final ResponseField SPLIT_TENDER_ID

PREPAID_REQUESTED_AMOUNT

public static final ResponseField PREPAID_REQUESTED_AMOUNT

PREPAID_BALANCE_ON_CARD

public static final ResponseField PREPAID_BALANCE_ON_CARD

RESERVED_11

public static final ResponseField RESERVED_11

RESERVED_12

public static final ResponseField RESERVED_12

RESERVED_13

public static final ResponseField RESERVED_13

RESERVED_14

public static final ResponseField RESERVED_14

RESERVED_15

public static final ResponseField RESERVED_15

RESERVED_16

public static final ResponseField RESERVED_16

RESERVED_17

public static final ResponseField RESERVED_17

RESERVED_18

public static final ResponseField RESERVED_18

RESERVED_19

public static final ResponseField RESERVED_19

RESERVED_20

public static final ResponseField RESERVED_20

RESERVED_21

public static final ResponseField RESERVED_21

RESERVED_22

public static final ResponseField RESERVED_22

RESERVED_23

public static final ResponseField RESERVED_23
Method Detail

values

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

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

valueOf

public static ResponseField 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

getResponsOrder

public int getResponsOrder()
Get the true response order.

Returns:
Integer of the response order.

get

public static ResponseField get(int order)
Get the ResponseField identified by the order specified.

Parameters:
order -
Returns:
the ResponseField keyed off the order

findByFieldName

public static ResponseField findByFieldName(String fieldName)
Lookup a ResponseField by it's field name.

Parameters:
fieldName -
Returns:
Returns a ResponseField if the fieldName match is found.

getResponseOrder

public int getResponseOrder()
Returns:
the responseOrder

getFieldName

public String getFieldName()
Returns:
the fieldName


Copyright © 2014. All Rights Reserved.