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
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. 20032005