|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.konakart.bl.modules.BaseModule
com.konakart.bl.modules.payment.BasePaymentModule
public class BasePaymentModule
Base class for Payment Modules.
| Field Summary | |
|---|---|
protected org.apache.commons.logging.Log |
log
The Log instance for this application. |
| Fields inherited from class com.konakart.bl.modules.BaseModule |
|---|
basePackage |
| Constructor Summary | |
|---|---|
BasePaymentModule()
|
|
| Method Summary | |
|---|---|
protected void |
addParameters(PaymentDetailsIf pd,
java.util.List<NameValueIf> newParameters)
Add more parameters to the PaymentDetails object. |
protected void |
checkZone(PaymentInfo info,
int zone)
Ensures that the zone is within one of the Geo Zones contained in the DeliveryInfo object. |
protected java.util.HashMap<java.lang.String,java.lang.String> |
hashParameters(PaymentDetailsIf pd,
java.util.List<NameValueIf> ccParmList)
This method is optionally called from the sub class to load up the parameters into a HashTable for efficient subsequent processing |
protected java.lang.String[] |
splitNameIntoFirstAndLastNames(java.lang.String name)
Split the name into first name and surname using simple logic... |
| 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 |
|---|
protected org.apache.commons.logging.Log log
Log instance for this application.
| Constructor Detail |
|---|
public BasePaymentModule()
| Method Detail |
|---|
protected void checkZone(PaymentInfo info,
int zone)
throws KKException
info - zone -
KKExceptionprotected java.lang.String[] splitNameIntoFirstAndLastNames(java.lang.String name)
name - the name as a String to convert.
protected java.util.HashMap<java.lang.String,java.lang.String> hashParameters(PaymentDetailsIf pd,
java.util.List<NameValueIf> ccParmList)
pd - PaymentDetails objectccParmList - name value pair list of CC parameters
protected void addParameters(PaymentDetailsIf pd,
java.util.List<NameValueIf> newParameters)
pd - the PaymentDetails objectnewParameters - The parameters to set.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||