public class AdminBasePayment extends AdminBaseMgr
Modifier and Type | Class and Description |
---|---|
class |
AdminBasePayment.AdminPaymentDetails
Class used to pass around the payment details
|
AdminBaseMgr.StaticData
Modifier and Type | Field and Description |
---|---|
private static org.apache.commons.logging.Log |
log
the log
|
adminEng, baseMgrMutex, baseStaticDataHM, cDataEnd, cDataStart, debugStackTraceExclusions, kkAdminPropsFilePath, kkConf, kkInstanceId, mgrFactory, STORE_ID, templateBaseDir
Constructor and Description |
---|
AdminBasePayment() |
Modifier and Type | Method and Description |
---|---|
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.
|
protected java.util.HashMap<java.lang.String,java.lang.String> |
getParameterHash(com.konakart.app.NameValue[] parameters)
Add the NameValue pairs in the parameters array into a hashMap
|
java.lang.String |
postData(AdminBasePayment.AdminPaymentDetails pd)
Sends data to the payment gateway via a POST.
|
addInsertAttr, addInsertAttr, addStringRuleConstraint, addStringRuleConstraint, checkAPICallEnabled, checkIntInRange, checkIntIsSet, checkRequired, executeQuery, executeQuery, getAdminAddressMgr, getAdminAuditMgr, getAdminBillingMgr, getAdminBookableProductMgr, getAdminCatMgr, getAdminConfigMgr, getAdminContentMgr, getAdminCurrMgr, getAdminCustMgr, getAdminCustPwdHistMgr, getAdminCustTagMgr, getAdminEmailMgr, getAdminEng, getAdminEngineCacheMgr, getAdminEventMgr, getAdminExecuteMgr, getAdminFileMgr, getAdminFilterMgr, getAdminHtmlMgr, getAdminImportMgr, getAdminLanguageMgr, getAdminManuMgr, getAdminMessageMgr, getAdminMiscItemMgr, getAdminMiscPriceMgr, getAdminModulesMgr, getAdminMultiStoreMgr, getAdminOrderMgr, getAdminPdfMgr, getAdminProdAttrMgr, getAdminProdMgr, getAdminPromMgr, getAdminReviewMgr, getAdminSearchRuleMgr, getAdminSecMgr, getAdminServletMgr, getAdminShipmentMgr, getAdminSolrMgr, getAdminStoreMgr, getAdminSuggestionMgr, getAdminTagMgr, getAdminTaxMgr, getAdminValidationMgr, getAdminVelocityContextMgr, getAdminWishListMgr, getBooleanFromString, getDebugStackTraceExclusions, getEmailThreadGracefulShutdownTimeout, getExportMgr, getExportMgr, getExportXMLData, getIntFromString, getKkAdminPropsFilePath, getKkConfig, getKkInstanceId, getMode, getModeString, getMqMgr, getNewCriteria, getNewCriteria, getNewCriteria, getNewCriteria, getOtherModuleByName, getPostSearchText, getPreSearchText, getProductsToCategoresCriteria, getPropertyValue, getPropertyValue, getPropertyValueAsBool, getPropertyValueAsInt, getPropertyValueAsLong, getRecordCount, getRecordCount, getRewardPointMgr, getSingleIntResult, getStoreId, getTemplate, getTemplateBase, getXml_io, init, insertKKEvent, insertKKEvent, isBusiness, isBusinessOrEnterprise, isCommunity, isConfigSet, isEnterprise, isMultiStoreLanguagesShared, isMultiStoreMode, isMultiStoreShareCategories, isMultiStoreShareCustomers, isMultiStoreShareCustomersOrProducts, isMultiStoreShareProducts, isMultiStoreSingleDBCSMode, isMultiStoreSingleDBMode, isMultiStoreSingleDBNonCSMode, isUnix, isWindows, manageException, manageThrowable, refreshConfigs, removeCData, sendMQMessages, setAdminEng, setDebugStackTraceExclusions, setKkAdminPropsFilePath, setupWildCardRules, setWildCardAfter, setWildCardBefore, shutdownGracefully, shutdownGracefully, timestampStr, updateStaticVariablesNow
public java.lang.String postData(AdminBasePayment.AdminPaymentDetails pd) throws java.io.IOException
pd
- the pdjava.io.IOException
- an unexpected IOException exceptionpublic java.lang.String getData(AdminBasePayment.AdminPaymentDetails pd) throws java.io.IOException
pd
- the pdjava.io.IOException
- an unexpected IOException exceptionprotected java.lang.String getGatewayRequest(AdminBasePayment.AdminPaymentDetails pd)
pd
- the PaymentDetailsprotected void customizeConnection(java.net.HttpURLConnection connection)
connection
- the connectionprotected java.util.HashMap<java.lang.String,java.lang.String> getParameterHash(com.konakart.app.NameValue[] parameters)
parameters
- an array of NameValue objectsCopyright © 2018 DS Data Systems UK Ltd.