com.softslate.commerce.businessobjects.shipping
Class ShippingMethodBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.shipping.ShippingMethodBean
- All Implemented Interfaces:
- BusinessObject, ShippingMethod, java.io.Serializable
public class ShippingMethodBean
- extends BaseBusinessObject
- implements ShippingMethod, java.io.Serializable
Object representing a shipping method within the system.
ShippingMethodBean
is the default implementation of the
ShippingMethod
interface for the application.
The database stores shipping methods in the sscShippingMethod
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file
ShippingMethodBean.hbm.xml
maps that table's columns to the
properties in this object.
- Author:
- David Tobey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
shippingMethodID
private int shippingMethodID
code
private java.lang.String code
name
private java.lang.String name
minimum
private java.lang.Double minimum
base
private java.lang.Double base
methodType
private java.lang.String methodType
isActive
private boolean isActive
numberDaysToShip
private java.lang.Integer numberDaysToShip
methodOrder
private java.lang.Integer methodOrder
shippingRates
private java.util.Collection shippingRates
ShippingMethodBean
public ShippingMethodBean()
getShippingRates
public java.util.Collection getShippingRates()
- Specified by:
getShippingRates
in interface ShippingMethod
setShippingRates
public void setShippingRates(java.util.Collection shippingRates)
- Specified by:
setShippingRates
in interface ShippingMethod
getShippingMethodID
public int getShippingMethodID()
- Specified by:
getShippingMethodID
in interface ShippingMethod
setShippingMethodID
public void setShippingMethodID(int shippingMethodID)
- Specified by:
setShippingMethodID
in interface ShippingMethod
getBase
public java.lang.Double getBase()
- Specified by:
getBase
in interface ShippingMethod
setBase
public void setBase(java.lang.Double base)
- Specified by:
setBase
in interface ShippingMethod
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interface ShippingMethod
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode
in interface ShippingMethod
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive
in interface ShippingMethod
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive
in interface ShippingMethod
getMethodType
public java.lang.String getMethodType()
- Specified by:
getMethodType
in interface ShippingMethod
setMethodType
public void setMethodType(java.lang.String methodType)
- Specified by:
setMethodType
in interface ShippingMethod
getMinimum
public java.lang.Double getMinimum()
- Specified by:
getMinimum
in interface ShippingMethod
setMinimum
public void setMinimum(java.lang.Double minimum)
- Specified by:
setMinimum
in interface ShippingMethod
getName
public java.lang.String getName()
- Specified by:
getName
in interface ShippingMethod
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface ShippingMethod
getNumberDaysToShip
public java.lang.Integer getNumberDaysToShip()
- Specified by:
getNumberDaysToShip
in interface ShippingMethod
setNumberDaysToShip
public void setNumberDaysToShip(java.lang.Integer numberDaysToShip)
- Specified by:
setNumberDaysToShip
in interface ShippingMethod
getMethodOrder
public java.lang.Integer getMethodOrder()
- Specified by:
getMethodOrder
in interface ShippingMethod
setMethodOrder
public void setMethodOrder(java.lang.Integer methodOrder)
- Specified by:
setMethodOrder
in interface ShippingMethod
Copyright © SoftSlate, LLC 20032005