public class ARBAPI
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
log
the log
|
Constructor and Description |
---|
ARBAPI(java.lang.String in_merchant_name,
java.lang.String in_transaction_key) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
cancelSubscriptionRequest(ARBSubscription subscription) |
void |
clearRequest() |
java.lang.String |
createSubscriptionRequest(ARBSubscription subscription) |
BasicXmlDocument |
getCurrentRequest() |
BasicXmlDocument |
getCurrentResponse() |
java.util.ArrayList<ARBMessage> |
getMessages() |
java.lang.String |
getResultCode() |
java.lang.String |
getResultStatus() |
java.lang.String |
getResultSubscriptionId() |
java.lang.String |
getSubscriptionStatusRequest(ARBSubscription subscription) |
BasicXmlDocument |
parseResponse(java.lang.String in_response) |
java.lang.String |
updateSubscriptionRequest(ARBSubscription subscription) |
public ARBAPI(java.lang.String in_merchant_name, java.lang.String in_transaction_key)
in_merchant_name
- the in_merchant_namein_transaction_key
- the in_transaction_keypublic java.lang.String createSubscriptionRequest(ARBSubscription subscription) throws java.lang.Exception
subscription
- the subscriptionjava.lang.Exception
- an unexpected Exception exceptionpublic java.lang.String updateSubscriptionRequest(ARBSubscription subscription) throws java.lang.Exception
subscription
- the subscriptionjava.lang.Exception
- an unexpected Exception exceptionpublic java.lang.String cancelSubscriptionRequest(ARBSubscription subscription) throws java.lang.Exception
subscription
- the subscriptionjava.lang.Exception
- an unexpected Exception exceptionpublic java.lang.String getSubscriptionStatusRequest(ARBSubscription subscription) throws java.lang.Exception
subscription
- the subscriptionjava.lang.Exception
- an unexpected Exception exceptionpublic void clearRequest()
public BasicXmlDocument parseResponse(java.lang.String in_response) throws java.lang.Exception
in_response
- the in_responsejava.lang.Exception
- an unexpected Exception exceptionpublic java.util.ArrayList<ARBMessage> getMessages()
public java.lang.String getResultStatus()
public BasicXmlDocument getCurrentRequest()
public BasicXmlDocument getCurrentResponse()
public java.lang.String getResultCode()
public java.lang.String getResultSubscriptionId()
Copyright © 2011 DS Data Systems UK Ltd.