org.broadleafcommerce.core.pricing.service.module
Class BandedShippingModule

java.lang.Object
  extended by org.broadleafcommerce.core.pricing.service.module.BandedShippingModule
All Implemented Interfaces:
ShippingModule

public class BandedShippingModule
extends Object
implements ShippingModule


Field Summary
protected  Boolean isDefaultModule
           
static String MODULENAME
           
protected  String name
           
 
Constructor Summary
BandedShippingModule()
           
 
Method Summary
 FulfillmentGroup calculateShippingForFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
           
 Map<String,String> getFeeSubTypeMapping()
           
 Map<String,String> getFeeTypeMapping()
           
 String getName()
           
 String getServiceName()
           
 Boolean isDefaultModule()
           
 Boolean isValidModuleForService(String serviceName)
           
 void setDefaultModule(Boolean isDefaultModule)
           
 void setFeeSubTypeMapping(Map<String,String> feeSubTypeMapping)
           
 void setFeeTypeMapping(Map<String,String> feeTypeMapping)
           
 void setName(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MODULENAME

public static final String MODULENAME
See Also:
Constant Field Values

name

protected String name

isDefaultModule

protected Boolean isDefaultModule
Constructor Detail

BandedShippingModule

public BandedShippingModule()
Method Detail

calculateShippingForFulfillmentGroup

public FulfillmentGroup calculateShippingForFulfillmentGroup(FulfillmentGroup fulfillmentGroup)
Specified by:
calculateShippingForFulfillmentGroup in interface ShippingModule

getName

public String getName()
Specified by:
getName in interface ShippingModule

setName

public void setName(String name)
Specified by:
setName in interface ShippingModule

getFeeTypeMapping

public Map<String,String> getFeeTypeMapping()

setFeeTypeMapping

public void setFeeTypeMapping(Map<String,String> feeTypeMapping)

getFeeSubTypeMapping

public Map<String,String> getFeeSubTypeMapping()

setFeeSubTypeMapping

public void setFeeSubTypeMapping(Map<String,String> feeSubTypeMapping)

getServiceName

public String getServiceName()
Specified by:
getServiceName in interface ShippingModule

isValidModuleForService

public Boolean isValidModuleForService(String serviceName)
Specified by:
isValidModuleForService in interface ShippingModule

isDefaultModule

public Boolean isDefaultModule()
Specified by:
isDefaultModule in interface ShippingModule

setDefaultModule

public void setDefaultModule(Boolean isDefaultModule)
Specified by:
setDefaultModule in interface ShippingModule


Copyright © 2012. All Rights Reserved.