Class RitaApi
- java.lang.Object
-
- org.apache.ofbiz.accounting.thirdparty.gosoftware.RitaApi
-
public class RitaApi extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ACCT_NUM
static java.lang.String
AUTH_CODE
static java.lang.String
AVS_CODE
static java.lang.String
CARDHOLDER
static java.lang.String
CLIENT_ID
static java.lang.String
COMMAND
static java.lang.String
CUSTOMER_STREET
static java.lang.String
CUSTOMER_ZIP
static java.lang.String
CVV2
static java.lang.String
CVV2_CODE
protected java.util.Map<java.lang.String,java.lang.String>
document
static java.lang.String
EXP_MONTH
static java.lang.String
EXP_YEAR
static java.lang.String
FORCE_FLAG
static java.lang.String
FUNCTION_TYPE
protected java.lang.String
host
static java.lang.String
INTRN_SEQ_NUM
static java.lang.String
INVOICE
protected int
mode
protected static int
MODE_IN
protected static int
MODE_OUT
static java.lang.String
module
static java.lang.String
ORIG_SEQ_NUM
static java.lang.String
ORIG_TRANS_AMOUNT
static java.lang.String
PAYMENT_TYPE
protected int
port
static java.lang.String
PRESENT_FLAG
static java.lang.String
PURCHASE_ID
static java.lang.String
REFERENCE
static java.lang.String
reqElement
static java.lang.String
RESPONSE_TEXT
static java.lang.String
RESULT
static java.lang.String
RESULT_CODE
static java.lang.String
rootElement
protected boolean
ssl
static java.lang.String
TAX_AMOUNT
static java.lang.String
TERMINATION_STATUS
static java.lang.String
TRACK_DATA
static java.lang.String
TRANS_AMOUNT
static java.lang.String
TRANS_DATE
static java.lang.String
TRANS_TIME
static java.lang.String
USER_ID
static java.lang.String
USER_PW
static java.lang.String
xschema
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
get(java.lang.String name)
java.util.Map<java.lang.String,java.lang.String>
getDocument()
RitaApi
send()
void
set(java.lang.String name, java.lang.Object value)
java.lang.String
toString()
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
xschema
public static final java.lang.String xschema
- See Also:
- Constant Field Values
-
rootElement
public static final java.lang.String rootElement
- See Also:
- Constant Field Values
-
reqElement
public static final java.lang.String reqElement
- See Also:
- Constant Field Values
-
FUNCTION_TYPE
public static final java.lang.String FUNCTION_TYPE
- See Also:
- Constant Field Values
-
PAYMENT_TYPE
public static final java.lang.String PAYMENT_TYPE
- See Also:
- Constant Field Values
-
USER_ID
public static final java.lang.String USER_ID
- See Also:
- Constant Field Values
-
USER_PW
public static final java.lang.String USER_PW
- See Also:
- Constant Field Values
-
COMMAND
public static final java.lang.String COMMAND
- See Also:
- Constant Field Values
-
CLIENT_ID
public static final java.lang.String CLIENT_ID
- See Also:
- Constant Field Values
-
ACCT_NUM
public static final java.lang.String ACCT_NUM
- See Also:
- Constant Field Values
-
EXP_MONTH
public static final java.lang.String EXP_MONTH
- See Also:
- Constant Field Values
-
EXP_YEAR
public static final java.lang.String EXP_YEAR
- See Also:
- Constant Field Values
-
TRANS_AMOUNT
public static final java.lang.String TRANS_AMOUNT
- See Also:
- Constant Field Values
-
CARDHOLDER
public static final java.lang.String CARDHOLDER
- See Also:
- Constant Field Values
-
TRACK_DATA
public static final java.lang.String TRACK_DATA
- See Also:
- Constant Field Values
-
INVOICE
public static final java.lang.String INVOICE
- See Also:
- Constant Field Values
-
PRESENT_FLAG
public static final java.lang.String PRESENT_FLAG
- See Also:
- Constant Field Values
-
CUSTOMER_STREET
public static final java.lang.String CUSTOMER_STREET
- See Also:
- Constant Field Values
-
CUSTOMER_ZIP
public static final java.lang.String CUSTOMER_ZIP
- See Also:
- Constant Field Values
-
CVV2
public static final java.lang.String CVV2
- See Also:
- Constant Field Values
-
TAX_AMOUNT
public static final java.lang.String TAX_AMOUNT
- See Also:
- Constant Field Values
-
PURCHASE_ID
public static final java.lang.String PURCHASE_ID
- See Also:
- Constant Field Values
-
FORCE_FLAG
public static final java.lang.String FORCE_FLAG
- See Also:
- Constant Field Values
-
ORIG_SEQ_NUM
public static final java.lang.String ORIG_SEQ_NUM
- See Also:
- Constant Field Values
-
TERMINATION_STATUS
public static final java.lang.String TERMINATION_STATUS
- See Also:
- Constant Field Values
-
INTRN_SEQ_NUM
public static final java.lang.String INTRN_SEQ_NUM
- See Also:
- Constant Field Values
-
RESULT
public static final java.lang.String RESULT
- See Also:
- Constant Field Values
-
RESULT_CODE
public static final java.lang.String RESULT_CODE
- See Also:
- Constant Field Values
-
RESPONSE_TEXT
public static final java.lang.String RESPONSE_TEXT
- See Also:
- Constant Field Values
-
AUTH_CODE
public static final java.lang.String AUTH_CODE
- See Also:
- Constant Field Values
-
AVS_CODE
public static final java.lang.String AVS_CODE
- See Also:
- Constant Field Values
-
CVV2_CODE
public static final java.lang.String CVV2_CODE
- See Also:
- Constant Field Values
-
REFERENCE
public static final java.lang.String REFERENCE
- See Also:
- Constant Field Values
-
TRANS_DATE
public static final java.lang.String TRANS_DATE
- See Also:
- Constant Field Values
-
TRANS_TIME
public static final java.lang.String TRANS_TIME
- See Also:
- Constant Field Values
-
ORIG_TRANS_AMOUNT
public static final java.lang.String ORIG_TRANS_AMOUNT
- See Also:
- Constant Field Values
-
MODE_OUT
protected static final int MODE_OUT
- See Also:
- Constant Field Values
-
MODE_IN
protected static final int MODE_IN
- See Also:
- Constant Field Values
-
document
protected java.util.Map<java.lang.String,java.lang.String> document
-
host
protected java.lang.String host
-
ssl
protected boolean ssl
-
port
protected int port
-
mode
protected int mode
-
-
Method Detail
-
set
public void set(java.lang.String name, java.lang.Object value)
-
get
public java.lang.String get(java.lang.String name)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
getDocument
public java.util.Map<java.lang.String,java.lang.String> getDocument()
-
send
public RitaApi send() throws java.io.IOException, GeneralException
- Throws:
java.io.IOException
GeneralException
-
-