com.softslate.commerce.businessobjects.shipping
Interface ShippingRate

All Superinterfaces:
BusinessObject
All Known Implementing Classes:
ShippingRateBean

public interface ShippingRate
extends BusinessObject

Interface representing a shipping rate within the system.

The database stores shipping rates in the npcShippingRate table, and this interface can be used to represent a single row of that table. Each of the columns in npcShippingRate map to getters and setters in this interface.

When the application needs to create an instance that implements npcShippingRate, BusinessObjectFactory finds the name of the Java class to instantiate from the "shippingRateImplementer" setting in the npcSetting database table.

The default "shippingRateImplementer" is ShippingRateBean.

Author:
David Tobey

Method Summary
 double getAmount()
           
 double getCeiling()
           
 double getFloor()
           
 boolean getIsActive()
           
 int getShippingMethodID()
           
 int getShippingRateID()
           
 void setAmount(double amount)
           
 void setCeiling(double ceiling)
           
 void setFloor(double floor)
           
 void setIsActive(boolean isActive)
           
 void setShippingMethodID(int shippingMethodID)
           
 void setShippingRateID(int shippingRateID)
           
 
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
 

Method Detail

getShippingRateID

public int getShippingRateID()

setShippingRateID

public void setShippingRateID(int shippingRateID)

getAmount

public double getAmount()

setAmount

public void setAmount(double amount)

getCeiling

public double getCeiling()

setCeiling

public void setCeiling(double ceiling)

getFloor

public double getFloor()

setFloor

public void setFloor(double floor)

getIsActive

public boolean getIsActive()

setIsActive

public void setIsActive(boolean isActive)

getShippingMethodID

public int getShippingMethodID()

setShippingMethodID

public void setShippingMethodID(int shippingMethodID)


Copyright © SoftSlate, Inc. 2003–2005