com.softslate.commerce.businessobjects.shipping
Interface ShippingMethod
- All Superinterfaces:
- BusinessObject
- All Known Implementing Classes:
- ShippingMethodBean
- public interface ShippingMethod
- extends BusinessObject
Interface representing a shipping method within the system.
The database stores shipping methods in the npcShippingMethod
table, and this interface can be used to represent a single row of that
table. Each of the columns in npcShippingMethod
map to getters
and setters in this interface.
When the application needs to create an instance that implements
npcShippingMethod
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"shippingMethodImplementer" setting in the npcSetting
database
table.
The default "shippingMethodImplementer" is
ShippingMethodBean
.
- Author:
- David Tobey
getShippingMethodID
public int getShippingMethodID()
setShippingMethodID
public void setShippingMethodID(int shippingMethodID)
getBase
public double getBase()
setBase
public void setBase(double base)
getCode
public java.lang.String getCode()
setCode
public void setCode(java.lang.String code)
getIsActive
public boolean getIsActive()
setIsActive
public void setIsActive(boolean isActive)
getMethodType
public java.lang.String getMethodType()
setMethodType
public void setMethodType(java.lang.String methodType)
getMinimum
public double getMinimum()
setMinimum
public void setMinimum(double minimum)
getName
public java.lang.String getName()
setName
public void setName(java.lang.String name)
Copyright © SoftSlate, Inc. 20032005