|
|||||||||
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
com.konakart.actions.gateways.CaledonAction
public class CaledonAction
This class is an Action class for sending credit card details to Caledon and receiving
confirmation Typical replies:
TEXT=DECLINED (DUP) &CODE=1007
TEXT=T68414 $12.34&AUTH=T68414&CODE=0000
Field Summary | |
---|---|
protected org.apache.commons.logging.Log |
log
The Log instance for this application. |
Fields inherited from class org.apache.struts.action.Action |
---|
defaultLocale, servlet |
Constructor Summary | |
---|---|
CaledonAction()
|
Method Summary | |
---|---|
org.apache.struts.action.ActionForward |
execute(org.apache.struts.action.ActionMapping mapping,
org.apache.struts.action.ActionForm form,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
java.lang.String |
getData(com.konakart.appif.PaymentDetailsIf pd,
java.util.List<com.konakart.appif.NameValueIf> ccParmList)
Sends data to the payment gateway via a GET. |
Methods inherited from class com.konakart.actions.gateways.BaseGatewayAction |
---|
addParameters, customizeConnection, customizeConnection, getGatewayRequest, getLogFileDirectory, getParameterFromPaymentDetails, hashParameters, postData, postData, saveIPNrecord, sendOrderConfirmationMail, sendOrderConfirmationMail, validateOrder |
Methods inherited from class org.apache.struts.action.Action |
---|
addErrors, addMessages, 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 CaledonAction()
Method Detail |
---|
public org.apache.struts.action.ActionForward execute(org.apache.struts.action.ActionMapping mapping, org.apache.struts.action.ActionForm form, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
execute
in class org.apache.struts.action.Action
mapping
- The ActionMapping used to select this instanceform
- The optional ActionForm bean for this request (if any)request
- The HTTP request we are processingresponse
- The HTTP response we are creatingpublic java.lang.String getData(com.konakart.appif.PaymentDetailsIf pd, java.util.List<com.konakart.appif.NameValueIf> ccParmList) throws java.io.IOException
getData
in class BaseGatewayAction
pd
- ccParmList
-
java.io.IOException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |