com.konakart.bl.modules.payment.worldpayxmlredirect
Class WorldPayXMLRedirect

java.lang.Object
  extended by com.konakart.bl.modules.BaseModule
      extended by com.konakart.bl.modules.payment.BasePaymentModule
          extended by com.konakart.bl.modules.payment.worldpayxmlredirect.WorldPayXMLRedirect
All Implemented Interfaces:
PaymentInterface

public class WorldPayXMLRedirect
extends BasePaymentModule
implements PaymentInterface

WorldPay XML Redirect payment module. This payment module allows for credit card credentials to be collected from a WorldPay page.


Nested Class Summary
protected  class WorldPayXMLRedirect.StaticData
          Used to store the static data of this module
 
Field Summary
static java.lang.String WP_XML_REDIRECT_GATEWAY_CODE
          Module name must be the same as the class name although it can be all in lowercase
 
Fields inherited from class com.konakart.bl.modules.payment.BasePaymentModule
log
 
Fields inherited from class com.konakart.bl.modules.BaseModule
basePackage
 
Constructor Summary
WorldPayXMLRedirect(KKEngIf eng)
          Constructor
 
Method Summary
 PaymentDetails getPaymentDetails(Order order, PaymentInfo info)
          Return a payment details object for the payment module
 boolean isAvailable()
          Returns true or false
 void setStaticVariables()
          Sets some static variables during setup
 
Methods inherited from class com.konakart.bl.modules.payment.BasePaymentModule
addParameters, checkZone, hashParameters, splitNameIntoFirstAndLastNames
 
Methods inherited from class com.konakart.bl.modules.BaseModule
getBasketMgr, getCatMgr, getConfigMgr, getCurrMgr, getCustMgr, getEmailMgr, getEng, getLangMgr, getMultiStoreMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getPromMgr, getResourceBundle, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getTaxMgr, init, isAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WP_XML_REDIRECT_GATEWAY_CODE

public static final java.lang.String WP_XML_REDIRECT_GATEWAY_CODE
Module name must be the same as the class name although it can be all in lowercase

See Also:
Constant Field Values
Constructor Detail

WorldPayXMLRedirect

public WorldPayXMLRedirect(KKEngIf eng)
                    throws KKException
Constructor

Parameters:
eng -
Throws:
KKException
Method Detail

setStaticVariables

public void setStaticVariables()
                        throws KKException
Sets some static variables during setup

Specified by:
setStaticVariables in interface PaymentInterface
Throws:
KKException

getPaymentDetails

public PaymentDetails getPaymentDetails(Order order,
                                        PaymentInfo info)
                                 throws java.lang.Exception
Return a payment details object for the payment module

Specified by:
getPaymentDetails in interface PaymentInterface
Parameters:
order -
info -
Returns:
Returns information in a PaymentDetails object
Throws:
java.lang.Exception

isAvailable

public boolean isAvailable()
                    throws KKException
Returns true or false

Specified by:
isAvailable in interface PaymentInterface
Returns:
True or False
Throws:
KKException


Copyright © 2011 DS Data Systems UK Ltd.