|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.struts.action.Action
com.konakart.actions.BaseAction
com.konakart.actions.gateways.BaseGatewayAction
public class BaseGatewayAction
Base Gateway Action for KonaKart application.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
The Log instance for this application. |
| Fields inherited from class com.konakart.actions.BaseAction |
|---|
loginForward |
| Fields inherited from class org.apache.struts.action.Action |
|---|
defaultLocale, servlet |
| Constructor Summary | |
|---|---|
BaseGatewayAction()
|
|
| 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 |
getLogFileDirectory(KKAppEng kkAppEng)
|
java.lang.String |
postData(com.konakart.appif.PaymentDetailsIf pd,
java.util.List ccParmList)
Sends data to the payment gateway via a POST. |
protected void |
validateOrder(com.konakart.appif.OrderIf order,
java.lang.String code)
Validate the order and ensure that we are using the correct payment gateway |
| Methods inherited from class com.konakart.actions.BaseAction |
|---|
checkSSL, clearErrors, getForward, getKKAppEng, handleException, isOnePageCheckout, loggedIn, runningInPortal |
| Methods inherited from class org.apache.struts.action.Action |
|---|
addErrors, addMessages, execute, execute, generateToken, getDataSource, getDataSource, getErrors, getLocale, getMessages, getResources, getResources, getServlet, isCancelled, isTokenValid, isTokenValid, resetToken, saveErrors, saveErrors, saveErrors, saveMessages, saveMessages, saveToken, setLocale, setServlet |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected org.apache.commons.logging.Log log
Log instance for this application.
| Constructor Detail |
|---|
public BaseGatewayAction()
| Method Detail |
|---|
protected void validateOrder(com.konakart.appif.OrderIf order,
java.lang.String code)
throws KKAppException
order - code -
KKAppException
public java.lang.String postData(com.konakart.appif.PaymentDetailsIf pd,
java.util.List ccParmList)
throws java.io.IOException
pd - ccParmList -
java.io.IOExceptionpublic java.lang.String getLogFileDirectory(KKAppEng kkAppEng)
kkAppEng -
protected void customizeConnection(java.net.HttpURLConnection connection)
connection -
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||