Class OrderShippingRuleBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.OrderShippingRuleBean
- All Implemented Interfaces:
BusinessObject,OrderShippingRule,Serializable
public class OrderShippingRuleBean
extends BaseBusinessObject
implements OrderShippingRule, Serializable
Object representing a order shipping rule within the system.
OrderShippingRuleBean is the default implementation of the
OrderShippingRule interface for the application.
The database stores order shipping rules in the
sscOrderShippingRule table, and this interface can be used to
represent a single row of that table. The Hibernate configuration file
OrderShippingRule.hbm.xml maps that table's columns to the
properties in this object.
- Author:
- Jason McWilliams
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate Doubleprivate Stringprivate Stringprivate Doubleprivate Stringprivate Stringprivate Stringprivate Stringprivate Doubleprivate Stringprivate Stringprivate Stringprivate Orderprivate intprivate OrderItemprivate Integerprivate intprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Stringprivate Doubleprivate Doubleprivate Doubleprivate Doubleprivate Stringprivate static final longprivate ShippingRuleprivate Integerprivate Stringprivate Doubleprivate Double -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()getFloor()getName()getOrder()intintgetTotal()voidsetCeiling(Double ceiling) voidvoidsetCountries(String countries) voidsetDiscount(Double discount) voidsetDiscountType(String discountType) voidvoidvoidvoidvoidsetLimitMethods(String limitMethods) voidsetLimitType(String limitType) voidvoidvoidsetOrderID(int orderID) voidsetOrderItem(OrderItem orderItem) voidsetOrderItemID(Integer orderItemID) voidsetOrderShippingRuleID(int orderShippingRuleID) voidsetPkgDescription(String pkgDescription) voidsetPkgExtra1(String pkgExtra1) voidsetPkgExtra2(String pkgExtra2) voidsetPkgExtra3(String pkgExtra3) voidsetPkgExtra4(String pkgExtra4) voidsetPkgExtra5(String pkgExtra5) voidsetPkgHeight(Double pkgHeight) voidsetPkgLength(Double pkgLength) voidsetPkgWeight(Double pkgWeight) voidsetPkgWidth(Double pkgWidth) voidsetRuleType(String ruleType) voidsetShippingRule(ShippingRule shippingRule) voidsetShippingRuleID(Integer shippingRuleID) voidvoidsetSubtotal(Double subtotal) voidMethods 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:
-
orderShippingRuleID
private int orderShippingRuleID -
orderID
private int orderID -
orderItemID
-
total
-
shippingRuleID
-
code
-
name
-
ruleType
-
floor
-
ceiling
-
discountType
-
discount
-
pkgDescription
-
pkgWeight
-
pkgLength
-
pkgHeight
-
pkgWidth
-
limitMethods
-
limitType
-
extra1
-
extra2
-
extra3
-
pkgExtra1
-
pkgExtra2
-
pkgExtra3
-
pkgExtra4
-
pkgExtra5
-
subtotal
-
order
-
orderItem
-
shippingRule
-
countries
-
states
-
-
Constructor Details
-
OrderShippingRuleBean
public OrderShippingRuleBean()
-
-
Method Details
-
getOrderShippingRuleID
public int getOrderShippingRuleID()- Specified by:
getOrderShippingRuleIDin interfaceOrderShippingRule
-
setOrderShippingRuleID
public void setOrderShippingRuleID(int orderShippingRuleID) - Specified by:
setOrderShippingRuleIDin interfaceOrderShippingRule
-
getOrderID
public int getOrderID()- Specified by:
getOrderIDin interfaceOrderShippingRule
-
setOrderID
public void setOrderID(int orderID) - Specified by:
setOrderIDin interfaceOrderShippingRule
-
getOrderItemID
- Specified by:
getOrderItemIDin interfaceOrderShippingRule
-
setOrderItemID
- Specified by:
setOrderItemIDin interfaceOrderShippingRule
-
getTotal
- Specified by:
getTotalin interfaceOrderShippingRule
-
setTotal
- Specified by:
setTotalin interfaceOrderShippingRule
-
getShippingRuleID
- Specified by:
getShippingRuleIDin interfaceOrderShippingRule
-
setShippingRuleID
- Specified by:
setShippingRuleIDin interfaceOrderShippingRule
-
getCode
- Specified by:
getCodein interfaceOrderShippingRule
-
setCode
- Specified by:
setCodein interfaceOrderShippingRule
-
getName
- Specified by:
getNamein interfaceOrderShippingRule
-
setName
- Specified by:
setNamein interfaceOrderShippingRule
-
getRuleType
- Specified by:
getRuleTypein interfaceOrderShippingRule
-
setRuleType
- Specified by:
setRuleTypein interfaceOrderShippingRule
-
getFloor
- Specified by:
getFloorin interfaceOrderShippingRule
-
setFloor
- Specified by:
setFloorin interfaceOrderShippingRule
-
getCeiling
- Specified by:
getCeilingin interfaceOrderShippingRule
-
setCeiling
- Specified by:
setCeilingin interfaceOrderShippingRule
-
getDiscountType
- Specified by:
getDiscountTypein interfaceOrderShippingRule
-
setDiscountType
- Specified by:
setDiscountTypein interfaceOrderShippingRule
-
getDiscount
- Specified by:
getDiscountin interfaceOrderShippingRule
-
setDiscount
- Specified by:
setDiscountin interfaceOrderShippingRule
-
getPkgDescription
- Specified by:
getPkgDescriptionin interfaceOrderShippingRule
-
setPkgDescription
- Specified by:
setPkgDescriptionin interfaceOrderShippingRule
-
getPkgWeight
- Specified by:
getPkgWeightin interfaceOrderShippingRule
-
setPkgWeight
- Specified by:
setPkgWeightin interfaceOrderShippingRule
-
getPkgLength
- Specified by:
getPkgLengthin interfaceOrderShippingRule
-
setPkgLength
- Specified by:
setPkgLengthin interfaceOrderShippingRule
-
getPkgHeight
- Specified by:
getPkgHeightin interfaceOrderShippingRule
-
setPkgHeight
- Specified by:
setPkgHeightin interfaceOrderShippingRule
-
getPkgWidth
- Specified by:
getPkgWidthin interfaceOrderShippingRule
-
setPkgWidth
- Specified by:
setPkgWidthin interfaceOrderShippingRule
-
getLimitMethods
- Specified by:
getLimitMethodsin interfaceOrderShippingRule
-
setLimitMethods
- Specified by:
setLimitMethodsin interfaceOrderShippingRule
-
getLimitType
- Specified by:
getLimitTypein interfaceOrderShippingRule
-
setLimitType
- Specified by:
setLimitTypein interfaceOrderShippingRule
-
getExtra1
- Specified by:
getExtra1in interfaceOrderShippingRule
-
setExtra1
- Specified by:
setExtra1in interfaceOrderShippingRule
-
getExtra2
- Specified by:
getExtra2in interfaceOrderShippingRule
-
setExtra2
- Specified by:
setExtra2in interfaceOrderShippingRule
-
getExtra3
- Specified by:
getExtra3in interfaceOrderShippingRule
-
setExtra3
- Specified by:
setExtra3in interfaceOrderShippingRule
-
getPkgExtra1
- Specified by:
getPkgExtra1in interfaceOrderShippingRule
-
setPkgExtra1
- Specified by:
setPkgExtra1in interfaceOrderShippingRule
-
getPkgExtra2
- Specified by:
getPkgExtra2in interfaceOrderShippingRule
-
setPkgExtra2
- Specified by:
setPkgExtra2in interfaceOrderShippingRule
-
getPkgExtra3
- Specified by:
getPkgExtra3in interfaceOrderShippingRule
-
setPkgExtra3
- Specified by:
setPkgExtra3in interfaceOrderShippingRule
-
getPkgExtra4
- Specified by:
getPkgExtra4in interfaceOrderShippingRule
-
setPkgExtra4
- Specified by:
setPkgExtra4in interfaceOrderShippingRule
-
getPkgExtra5
- Specified by:
getPkgExtra5in interfaceOrderShippingRule
-
setPkgExtra5
- Specified by:
setPkgExtra5in interfaceOrderShippingRule
-
getSubtotal
- Specified by:
getSubtotalin interfaceOrderShippingRule
-
setSubtotal
- Specified by:
setSubtotalin interfaceOrderShippingRule
-
getShippingRule
- Specified by:
getShippingRulein interfaceOrderShippingRule
-
setShippingRule
- Specified by:
setShippingRulein interfaceOrderShippingRule
-
getOrder
- Specified by:
getOrderin interfaceOrderShippingRule
-
setOrder
- Specified by:
setOrderin interfaceOrderShippingRule
-
getOrderItem
- Specified by:
getOrderItemin interfaceOrderShippingRule
-
setOrderItem
- Specified by:
setOrderItemin interfaceOrderShippingRule
-
getCountries
- Specified by:
getCountriesin interfaceOrderShippingRule
-
setCountries
- Specified by:
setCountriesin interfaceOrderShippingRule
-
getStates
- Specified by:
getStatesin interfaceOrderShippingRule
-
setStates
- Specified by:
setStatesin interfaceOrderShippingRule
-