1 package com.jcommercesql.gateway.authorizenet; 2 3 23 24 public class AuthorizeNetCodes { 25 26 public static String INTERNALVERSION="3.1"; 27 public static String VERSION="3.1"; 28 29 public static int RESP_FIELD_TRANSACTIONID=7; 30 public static int RESP_FIELD_AMOUNT=10; 31 public static int RESP_FIELD_MD5HASH=38; 32 33 public static String REQ_FIELD_VERSION="x_Version"; 34 public static String REQ_FIELD_LOGIN="x_Login"; 35 public static String REQ_FIELD_TRAN_KEY="x_Tran_Key"; 36 public static String REQ_FIELD_AMOUNT="x_Amount"; 37 public static String REQ_FIELD_CARD_NUM="x_Card_Num"; 38 public static String REQ_FIELD_EXP_DATE="x_Exp_Date"; 39 public static String REQ_FIELD_TYPE="x_Type"; 40 public static String REQ_FIELD_TEST_REQUEST="x_Test_Request"; 41 public static String REQ_FIELD_DELIM_DATA="x_Delim_Data"; 42 public static String REQ_FIELD_DELIM_CHAR="x_Delim_Char"; 43 public static String REQ_FIELD_ENCAP_CHAR="x_Encap+Char"; 44 45 46 public static String RESP_CODE_APPROVED="1"; 47 public static String RESP_CODE_DECLINED="2"; 48 public static String RESP_CODE_ERROR="3"; 49 50 public static String getVersion() { 51 return VERSION; 52 } 53 54 public static String getInternalVersion() { 55 return INTERNALVERSION; 56 } 57 } 58 | Popular Tags |