public class PickUpInStore extends BaseShippingModule implements ShippingInterface
Modifier and Type | Class and Description |
---|---|
protected class |
PickUpInStore.StaticData
Used to store the static data of this module
|
log
basePackage, debugStackTraceExclusions
Constructor and Description |
---|
PickUpInStore(KKEngIf eng)
Constructor
|
Modifier and Type | Method and Description |
---|---|
ShippingQuote |
getQuote(Order order,
ShippingInfo info)
Return a quote of 0 every time, regardless of the ShippingInfo or Order
|
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 PickUpInStore(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 ShippingInfojava.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.