|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakartadmin.bl.AdminBaseMgr
com.konakartadmin.modules.payment.AdminBasePayment
public class AdminBasePayment
Base class for sending payment information to the payment gateway
| Nested Class Summary | |
|---|---|
class |
AdminBasePayment.AdminPaymentDetails
Class used to pass around the payment details |
| Nested classes/interfaces inherited from class com.konakartadmin.bl.AdminBaseMgr |
|---|
AdminBaseMgr.StaticData |
| Field Summary | |
|---|---|
private static org.apache.commons.logging.Log |
log
the log |
| Fields inherited from class com.konakartadmin.bl.AdminBaseMgr |
|---|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir |
| Constructor Summary | |
|---|---|
AdminBasePayment()
|
|
| Method Summary | |
|---|---|
protected void |
customizeConnection(java.net.HttpURLConnection connection)
This method is normally specialized in the super class to customize the connection |
java.lang.String |
getData(AdminBasePayment.AdminPaymentDetails pd)
Sends data to the payment gateway via a GET. |
protected java.lang.String |
getGatewayRequest(AdminBasePayment.AdminPaymentDetails pd)
This method can be specialized in the super class to customize the format of the request. |
java.lang.String |
postData(AdminBasePayment.AdminPaymentDetails pd)
Sends data to the payment gateway via a POST. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static org.apache.commons.logging.Log log
| Constructor Detail |
|---|
public AdminBasePayment()
| Method Detail |
|---|
public java.lang.String postData(AdminBasePayment.AdminPaymentDetails pd)
throws java.io.IOException
pd -
java.io.IOException
public java.lang.String getData(AdminBasePayment.AdminPaymentDetails pd)
throws java.io.IOException
pd -
java.io.IOExceptionprotected java.lang.String getGatewayRequest(AdminBasePayment.AdminPaymentDetails pd)
pd - the PaymentDetailsprotected void customizeConnection(java.net.HttpURLConnection connection)
connection -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||