|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.authorize.arb.ARBAPI
public class ARBAPI
WRITEME
| Field Summary | |
|---|---|
private BasicXmlDocument |
current_request
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) current_request (ARBAPI) |
private BasicXmlDocument |
current_response
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) current_response (ARBAPI) |
private HttpUtil |
http_util
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) http_util (ARBAPI) |
private String |
merchant_name
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) merchant_name (ARBAPI) |
private ArrayList<Message> |
messages
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) messages (ARBAPI) |
private String |
result_code
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) result_code (ARBAPI) |
private String |
result_subscription_id
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) result_subscription_id (ARBAPI) |
private String |
transaction_key
WRITEME: document this field (brpocock@star-hope.org, Nov 19, 2009) transaction_key (ARBAPI) |
| Constructor Summary | |
|---|---|
ARBAPI(URL in_api_url,
String in_merchant_name,
String in_transaction_key)
|
|
| Method Summary | |
|---|---|
private void |
addAuthenticationToRequest(BasicXmlDocument document)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addBillingInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addCustomerInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addOrderInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addPaymentScheduleToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addPaymentToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addShippingInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addSubscriptionIdToRequest(BasicXmlDocument document,
ARBSubscription subscription)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
addSubscriptionToRequest(BasicXmlDocument document,
ARBSubscription subscription)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
cancelSubscriptionRequest(ARBSubscription subscription)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
void |
clearRequest()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
createSubscriptionRequest(ARBSubscription subscription)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
void |
destroy()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
BasicXmlDocument |
getCurrentRequest()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
BasicXmlDocument |
getCurrentResponse()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private String |
getElementText(Element parent_el,
String element_name)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
getMessages()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
getResultCode()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
getResultSubscriptionId()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
private void |
importResponseMessages()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
void |
printMessages()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
BasicXmlDocument |
sendRequest()
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
BasicXmlDocument |
sendRequest(BasicXmlDocument request_document)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
String |
updateSubscriptionRequest(ARBSubscription subscription)
WRITEME: document this method (brpocock@star-hope.org, Nov 19, 2009) |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private BasicXmlDocument current_request
private BasicXmlDocument current_response
private HttpUtil http_util
private String merchant_name
private ArrayList<Message> messages
private String result_code
private String result_subscription_id
private String transaction_key
| Constructor Detail |
|---|
public ARBAPI(URL in_api_url,
String in_merchant_name,
String in_transaction_key)
in_api_url - WRITEMEin_merchant_name - WRITEMEin_transaction_key - WRITEME| Method Detail |
|---|
private void addAuthenticationToRequest(BasicXmlDocument document)
document - WRITEME
private void addBillingInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
document - WRITEMEsubscription - WRITEMEsubscr_el - WRITEME
private void addCustomerInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
document - WRITEMEsubscription - WRITEMEsubscr_el - WRITEME
private void addOrderInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
document - WRITEMEsubscription - WRITEMEsubscr_el - WRITEME
private void addPaymentScheduleToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
document - WRITEMEsubscription - WRITEMEsubscr_el - WRITEME
private void addPaymentToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
document - WRITEMEsubscription - WRITEMEsubscr_el - WRITEME
private void addShippingInfoToSubscription(BasicXmlDocument document,
ARBSubscription subscription,
Element subscr_el)
document - WRITEMEsubscription - WRITEMEsubscr_el - WRITEME
private void addSubscriptionIdToRequest(BasicXmlDocument document,
ARBSubscription subscription)
document - WRITEMEsubscription - WRITEME
private void addSubscriptionToRequest(BasicXmlDocument document,
ARBSubscription subscription)
document - WRITEMEsubscription - WRITEMEpublic String cancelSubscriptionRequest(ARBSubscription subscription)
subscription - WRITEME
public void clearRequest()
public String createSubscriptionRequest(ARBSubscription subscription)
subscription - WRITEME
public void destroy()
public BasicXmlDocument getCurrentRequest()
public BasicXmlDocument getCurrentResponse()
private String getElementText(Element parent_el,
String element_name)
parent_el - WRITEMEelement_name - WRITEME
public String getMessages()
public String getResultCode()
public String getResultSubscriptionId()
private void importResponseMessages()
public void printMessages()
public BasicXmlDocument sendRequest()
public BasicXmlDocument sendRequest(BasicXmlDocument request_document)
request_document - WRITEME
public String updateSubscriptionRequest(ARBSubscription subscription)
subscription - WRITEME
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||