Class ShippingRateBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.shipping.ShippingRateBean
- All Implemented Interfaces:
BusinessObject,ShippingRate,Serializable
Object representing a shipping rate within the system.
ShippingRateBean is the default implementation of the
ShippingRate interface for the application.
The database stores shipping rates in the sscShippingRate
table, and this interface can be used to represent a single row of that
table. The Hibernate configuration file ShippingRateBean.hbm.xml
maps that table's columns to the properties in this object.
- Author:
- David Tobey
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Doubleprivate Doubleprivate Doubleprivate booleanprivate static final longprivate ShippingMethodprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFloor()booleanintintvoidvoidsetCeiling(Double ceiling) voidvoidsetIsActive(boolean isActive) voidsetShippingMethod(ShippingMethod shippingMethod) voidsetShippingMethodID(int shippingMethodID) voidsetShippingRateID(int shippingRateID) Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initializeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
shippingRateID
private int shippingRateID -
shippingMethodID
private int shippingMethodID -
floor
-
ceiling
-
amount
-
isActive
private boolean isActive -
shippingMethod
-
-
Constructor Details
-
ShippingRateBean
public ShippingRateBean()
-
-
Method Details
-
getShippingMethod
- Specified by:
getShippingMethodin interfaceShippingRate
-
setShippingMethod
- Specified by:
setShippingMethodin interfaceShippingRate
-
getShippingRateID
public int getShippingRateID()- Specified by:
getShippingRateIDin interfaceShippingRate
-
setShippingRateID
public void setShippingRateID(int shippingRateID) - Specified by:
setShippingRateIDin interfaceShippingRate
-
getAmount
- Specified by:
getAmountin interfaceShippingRate
-
setAmount
- Specified by:
setAmountin interfaceShippingRate
-
getCeiling
- Specified by:
getCeilingin interfaceShippingRate
-
setCeiling
- Specified by:
setCeilingin interfaceShippingRate
-
getFloor
- Specified by:
getFloorin interfaceShippingRate
-
setFloor
- Specified by:
setFloorin interfaceShippingRate
-
getIsActive
public boolean getIsActive()- Specified by:
getIsActivein interfaceShippingRate
-
setIsActive
public void setIsActive(boolean isActive) - Specified by:
setIsActivein interfaceShippingRate
-
getShippingMethodID
public int getShippingMethodID()- Specified by:
getShippingMethodIDin interfaceShippingRate
-
setShippingMethodID
public void setShippingMethodID(int shippingMethodID) - Specified by:
setShippingMethodIDin interfaceShippingRate
-