com.konakart.bl.modules.shipping
Class BaseShippingModule

java.lang.Object
  extended by com.konakart.bl.modules.BaseModule
      extended by com.konakart.bl.modules.shipping.BaseShippingModule
Direct Known Subclasses:
DigitalDownload, Flat, Free, FreeProduct, Item, Table, Ups, Zones

public class BaseShippingModule
extends BaseModule

The Base class for shipping modules


Field Summary
 
Fields inherited from class com.konakart.bl.modules.BaseModule
basePackage, log
 
Constructor Summary
BaseShippingModule()
           
 
Method Summary
protected  void checkForProducts(ShippingInfo info)
          If there are no products it throws an exception since shipping isn't required.
protected  void checkZone(ShippingInfo info, int zone)
          Ensures that the zone is within one of the Geo Zones contained in the ShippingInfo object.
 
Methods inherited from class com.konakart.bl.modules.BaseModule
getResourceBundle, isAvailable
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseShippingModule

public BaseShippingModule()
Method Detail

checkZone

protected void checkZone(ShippingInfo info,
                         int zone)
                  throws com.konakart.app.KKException
Ensures that the zone is within one of the Geo Zones contained in the ShippingInfo object.

Parameters:
info -
zone -
Throws:
com.konakart.app.KKException

checkForProducts

protected void checkForProducts(ShippingInfo info)
                         throws com.konakart.app.KKException
If there are no products it throws an exception since shipping isn't required. They may be all digital download products.

Parameters:
info - ShippingInfo object - this defines the items to be shipped
Throws:
com.konakart.app.KKException


Copyright © 2006 DS Data Systems UK Ltd.