public class Table extends BaseShippingModule implements ShippingInterface
Modifier and Type | Class and Description |
---|---|
protected class |
Table.StaticData
Used to store the static data of this module
|
log
basePackage, debugStackTraceExclusions
Modifier and Type | Method and Description |
---|---|
ShippingQuote |
getQuote(Order order,
ShippingInfo info)
From the ShippingCountry we find the iso code of the country and determine its zone.
|
boolean |
isAvailable()
Returns true or false
|
void |
setStaticVariables()
Sets some static variables during setup
|
checkForProducts, checkZone, getNewCriteria, isGeoZoneMappedToCountry, isMultiStoreShareCustomers
getBasketMgr, getCatMgr, getConfigMgr, getConfiguration, getConfigurationValue, getConfigurationValueAsBigDecimalWithDefault, getConfigurationValueAsBool, getConfigurationValueAsIntWithDefault, getCurrMgr, getCustMgr, getCustTagMgr, getDebugStackTraceExclusions, getEmailMgr, getEng, getLangMgr, getModuleClassName, getMultiStoreMgr, getOrderMgr, getOrderTotalMgr, getPaymentMgr, getProdMgr, getPromMgr, getRandomText, getRandomText, getResourceBundle, getRewardPointMgr, getSecMgr, getShippingMgr, getSolrMgr, getStoreId, getStoreMgr, getTaxMgr, getZoneCodeForZoneName, init, isAvailable, isAvailable, isMultiStoreShareCustomersOrProducts, setDebugStackTraceExclusions, updateStaticVariablesNow
public Table(KKEngIf eng) throws org.apache.torque.TorqueException, com.konakart.app.KKException, com.workingdogs.village.DataSetException
eng
- the engcom.workingdogs.village.DataSetException
- an unexpected exception due to data in Torque (the database layer)com.konakart.app.KKException
- an unexpected exception from the KonaKart engineorg.apache.torque.TorqueException
- an unexpected exception in Torque (the database layer)public ShippingQuote getQuote(Order order, ShippingInfo info) throws java.lang.Exception
getQuote
in interface ShippingInterface
order
- the orderinfo
- the ShippingInfocom.konakart.app.KKException
- an unexpected exception from the KonaKart enginejava.lang.Exception
- an unexpected exceptionpublic void setStaticVariables() throws com.konakart.app.KKException
setStaticVariables
in interface ShippingInterface
com.konakart.app.KKException
- an unexpected exception from the KonaKart enginepublic boolean isAvailable() throws com.konakart.app.KKException
isAvailable
in interface ShippingInterface
com.konakart.app.KKException
- an unexpected exception from the KonaKart engineCopyright © 2018 DS Data Systems UK Ltd.