Class PcChargeApi
- java.lang.Object
-
- org.apache.ofbiz.accounting.thirdparty.gosoftware.PcChargeApi
-
public class PcChargeApi 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
CARD_ID_CODE
static java.lang.String
CARDHOLDER
static java.lang.String
COMMAND
static java.lang.String
CUSTOMER_CODE
static java.lang.String
CVV2
static java.lang.String
CVV2_CODE
protected org.w3c.dom.Document
document
static java.lang.String
EXP_DATE
protected java.lang.String
host
static java.lang.String
MANUAL_FLAG
static java.lang.String
MERCH_NUM
protected int
mode
protected static int
MODE_IN
protected static int
MODE_OUT
static java.lang.String
module
static java.lang.String
MULTI_FLAG
static java.lang.String
OFFLINE_FLAG
static java.lang.String
PERIODIC_PAYMENT_FLAG
protected int
port
static java.lang.String
PRESENT_FLAG
static java.lang.String
PRINT_RECEIPTS_FLAG
static java.lang.String
PROCESSOR_ID
static java.lang.String
REFERENCE
protected org.w3c.dom.Element
req
static java.lang.String
reqElement
static java.lang.String
RESULT
static java.lang.String
rootElement
static java.lang.String
STREET
static java.lang.String
TAX_AMOUNT
static java.lang.String
TICKET
static java.lang.String
TICKET_NUM
static java.lang.String
TOTAL_AUTH
static java.lang.String
TRACK_DATA
static java.lang.String
TRANS_AMOUNT
static java.lang.String
TRANS_DATE
static java.lang.String
TRANS_ID
static java.lang.String
TRANS_STORE
static java.lang.String
TROUTD
static java.lang.String
USER_ID
static java.lang.String
USER_PW
static java.lang.String
VOID_FLAG
static java.lang.String
xschema
static java.lang.String
ZIP_CODE
-
Constructor Summary
Constructors Constructor Description PcChargeApi()
PcChargeApi(boolean isFile)
PcChargeApi(java.lang.String host, int port)
PcChargeApi(org.w3c.dom.Document document)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
get(java.lang.String name)
org.w3c.dom.Document
getDocument()
PcChargeApi
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
-
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
-
TROUTD
public static final java.lang.String TROUTD
- See Also:
- Constant Field Values
-
PROCESSOR_ID
public static final java.lang.String PROCESSOR_ID
- See Also:
- Constant Field Values
-
MERCH_NUM
public static final java.lang.String MERCH_NUM
- See Also:
- Constant Field Values
-
ACCT_NUM
public static final java.lang.String ACCT_NUM
- See Also:
- Constant Field Values
-
EXP_DATE
public static final java.lang.String EXP_DATE
- See Also:
- Constant Field Values
-
MANUAL_FLAG
public static final java.lang.String MANUAL_FLAG
- See Also:
- Constant Field Values
-
TRANS_AMOUNT
public static final java.lang.String TRANS_AMOUNT
- See Also:
- Constant Field Values
-
REFERENCE
public static final java.lang.String REFERENCE
- See Also:
- Constant Field Values
-
TRACK_DATA
public static final java.lang.String TRACK_DATA
- See Also:
- Constant Field Values
-
CUSTOMER_CODE
public static final java.lang.String CUSTOMER_CODE
- See Also:
- Constant Field Values
-
TAX_AMOUNT
public static final java.lang.String TAX_AMOUNT
- See Also:
- Constant Field Values
-
PRINT_RECEIPTS_FLAG
public static final java.lang.String PRINT_RECEIPTS_FLAG
- See Also:
- Constant Field Values
-
PERIODIC_PAYMENT_FLAG
public static final java.lang.String PERIODIC_PAYMENT_FLAG
- See Also:
- Constant Field Values
-
OFFLINE_FLAG
public static final java.lang.String OFFLINE_FLAG
- See Also:
- Constant Field Values
-
VOID_FLAG
public static final java.lang.String VOID_FLAG
- See Also:
- Constant Field Values
-
ZIP_CODE
public static final java.lang.String ZIP_CODE
- See Also:
- Constant Field Values
-
STREET
public static final java.lang.String STREET
- See Also:
- Constant Field Values
-
TICKET_NUM
public static final java.lang.String TICKET_NUM
- See Also:
- Constant Field Values
-
CARDHOLDER
public static final java.lang.String CARDHOLDER
- See Also:
- Constant Field Values
-
TRANS_STORE
public static final java.lang.String TRANS_STORE
- See Also:
- Constant Field Values
-
TRANS_ID
public static final java.lang.String TRANS_ID
- See Also:
- Constant Field Values
-
TOTAL_AUTH
public static final java.lang.String TOTAL_AUTH
- See Also:
- Constant Field Values
-
MULTI_FLAG
public static final java.lang.String MULTI_FLAG
- See Also:
- Constant Field Values
-
PRESENT_FLAG
public static final java.lang.String PRESENT_FLAG
- See Also:
- Constant Field Values
-
CVV2
public static final java.lang.String CVV2
- See Also:
- Constant Field Values
-
AUTH_CODE
public static final java.lang.String AUTH_CODE
- See Also:
- Constant Field Values
-
RESULT
public static final java.lang.String RESULT
- See Also:
- Constant Field Values
-
AVS_CODE
public static final java.lang.String AVS_CODE
- See Also:
- Constant Field Values
-
TRANS_DATE
public static final java.lang.String TRANS_DATE
- See Also:
- Constant Field Values
-
TICKET
public static final java.lang.String TICKET
- See Also:
- Constant Field Values
-
CARD_ID_CODE
public static final java.lang.String CARD_ID_CODE
- See Also:
- Constant Field Values
-
CVV2_CODE
public static final java.lang.String CVV2_CODE
- 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 org.w3c.dom.Document document
-
req
protected org.w3c.dom.Element req
-
host
protected java.lang.String host
-
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 org.w3c.dom.Document getDocument()
-
send
public PcChargeApi send() throws java.io.IOException, GeneralException
- Throws:
java.io.IOException
GeneralException
-
-