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
Modifier and TypeFieldDescriptionprivate Double
private String
private String
private Double
private String
private String
private String
private String
private Double
private String
private String
private String
private Order
private int
private OrderItem
private Integer
private int
private String
private String
private String
private String
private String
private String
private Double
private Double
private Double
private Double
private String
private static final long
private ShippingRule
private Integer
private String
private Double
private Double
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetCode()
getFloor()
getName()
getOrder()
int
int
getTotal()
void
setCeiling
(Double ceiling) void
void
setCountries
(String countries) void
setDiscount
(Double discount) void
setDiscountType
(String discountType) void
void
void
void
void
setLimitMethods
(String limitMethods) void
setLimitType
(String limitType) void
void
void
setOrderID
(int orderID) void
setOrderItem
(OrderItem orderItem) void
setOrderItemID
(Integer orderItemID) void
setOrderShippingRuleID
(int orderShippingRuleID) void
setPkgDescription
(String pkgDescription) void
setPkgExtra1
(String pkgExtra1) void
setPkgExtra2
(String pkgExtra2) void
setPkgExtra3
(String pkgExtra3) void
setPkgExtra4
(String pkgExtra4) void
setPkgExtra5
(String pkgExtra5) void
setPkgHeight
(Double pkgHeight) void
setPkgLength
(Double pkgLength) void
setPkgWeight
(Double pkgWeight) void
setPkgWidth
(Double pkgWidth) void
setRuleType
(String ruleType) void
setShippingRule
(ShippingRule shippingRule) void
setShippingRuleID
(Integer shippingRuleID) void
void
setSubtotal
(Double subtotal) void
Methods inherited from class com.softslate.commerce.businessobjects.core.BaseBusinessObject
initialize
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
getOrderShippingRuleID
in interfaceOrderShippingRule
-
setOrderShippingRuleID
public void setOrderShippingRuleID(int orderShippingRuleID) - Specified by:
setOrderShippingRuleID
in interfaceOrderShippingRule
-
getOrderID
public int getOrderID()- Specified by:
getOrderID
in interfaceOrderShippingRule
-
setOrderID
public void setOrderID(int orderID) - Specified by:
setOrderID
in interfaceOrderShippingRule
-
getOrderItemID
- Specified by:
getOrderItemID
in interfaceOrderShippingRule
-
setOrderItemID
- Specified by:
setOrderItemID
in interfaceOrderShippingRule
-
getTotal
- Specified by:
getTotal
in interfaceOrderShippingRule
-
setTotal
- Specified by:
setTotal
in interfaceOrderShippingRule
-
getShippingRuleID
- Specified by:
getShippingRuleID
in interfaceOrderShippingRule
-
setShippingRuleID
- Specified by:
setShippingRuleID
in interfaceOrderShippingRule
-
getCode
- Specified by:
getCode
in interfaceOrderShippingRule
-
setCode
- Specified by:
setCode
in interfaceOrderShippingRule
-
getName
- Specified by:
getName
in interfaceOrderShippingRule
-
setName
- Specified by:
setName
in interfaceOrderShippingRule
-
getRuleType
- Specified by:
getRuleType
in interfaceOrderShippingRule
-
setRuleType
- Specified by:
setRuleType
in interfaceOrderShippingRule
-
getFloor
- Specified by:
getFloor
in interfaceOrderShippingRule
-
setFloor
- Specified by:
setFloor
in interfaceOrderShippingRule
-
getCeiling
- Specified by:
getCeiling
in interfaceOrderShippingRule
-
setCeiling
- Specified by:
setCeiling
in interfaceOrderShippingRule
-
getDiscountType
- Specified by:
getDiscountType
in interfaceOrderShippingRule
-
setDiscountType
- Specified by:
setDiscountType
in interfaceOrderShippingRule
-
getDiscount
- Specified by:
getDiscount
in interfaceOrderShippingRule
-
setDiscount
- Specified by:
setDiscount
in interfaceOrderShippingRule
-
getPkgDescription
- Specified by:
getPkgDescription
in interfaceOrderShippingRule
-
setPkgDescription
- Specified by:
setPkgDescription
in interfaceOrderShippingRule
-
getPkgWeight
- Specified by:
getPkgWeight
in interfaceOrderShippingRule
-
setPkgWeight
- Specified by:
setPkgWeight
in interfaceOrderShippingRule
-
getPkgLength
- Specified by:
getPkgLength
in interfaceOrderShippingRule
-
setPkgLength
- Specified by:
setPkgLength
in interfaceOrderShippingRule
-
getPkgHeight
- Specified by:
getPkgHeight
in interfaceOrderShippingRule
-
setPkgHeight
- Specified by:
setPkgHeight
in interfaceOrderShippingRule
-
getPkgWidth
- Specified by:
getPkgWidth
in interfaceOrderShippingRule
-
setPkgWidth
- Specified by:
setPkgWidth
in interfaceOrderShippingRule
-
getLimitMethods
- Specified by:
getLimitMethods
in interfaceOrderShippingRule
-
setLimitMethods
- Specified by:
setLimitMethods
in interfaceOrderShippingRule
-
getLimitType
- Specified by:
getLimitType
in interfaceOrderShippingRule
-
setLimitType
- Specified by:
setLimitType
in interfaceOrderShippingRule
-
getExtra1
- Specified by:
getExtra1
in interfaceOrderShippingRule
-
setExtra1
- Specified by:
setExtra1
in interfaceOrderShippingRule
-
getExtra2
- Specified by:
getExtra2
in interfaceOrderShippingRule
-
setExtra2
- Specified by:
setExtra2
in interfaceOrderShippingRule
-
getExtra3
- Specified by:
getExtra3
in interfaceOrderShippingRule
-
setExtra3
- Specified by:
setExtra3
in interfaceOrderShippingRule
-
getPkgExtra1
- Specified by:
getPkgExtra1
in interfaceOrderShippingRule
-
setPkgExtra1
- Specified by:
setPkgExtra1
in interfaceOrderShippingRule
-
getPkgExtra2
- Specified by:
getPkgExtra2
in interfaceOrderShippingRule
-
setPkgExtra2
- Specified by:
setPkgExtra2
in interfaceOrderShippingRule
-
getPkgExtra3
- Specified by:
getPkgExtra3
in interfaceOrderShippingRule
-
setPkgExtra3
- Specified by:
setPkgExtra3
in interfaceOrderShippingRule
-
getPkgExtra4
- Specified by:
getPkgExtra4
in interfaceOrderShippingRule
-
setPkgExtra4
- Specified by:
setPkgExtra4
in interfaceOrderShippingRule
-
getPkgExtra5
- Specified by:
getPkgExtra5
in interfaceOrderShippingRule
-
setPkgExtra5
- Specified by:
setPkgExtra5
in interfaceOrderShippingRule
-
getSubtotal
- Specified by:
getSubtotal
in interfaceOrderShippingRule
-
setSubtotal
- Specified by:
setSubtotal
in interfaceOrderShippingRule
-
getShippingRule
- Specified by:
getShippingRule
in interfaceOrderShippingRule
-
setShippingRule
- Specified by:
setShippingRule
in interfaceOrderShippingRule
-
getOrder
- Specified by:
getOrder
in interfaceOrderShippingRule
-
setOrder
- Specified by:
setOrder
in interfaceOrderShippingRule
-
getOrderItem
- Specified by:
getOrderItem
in interfaceOrderShippingRule
-
setOrderItem
- Specified by:
setOrderItem
in interfaceOrderShippingRule
-
getCountries
- Specified by:
getCountries
in interfaceOrderShippingRule
-
setCountries
- Specified by:
setCountries
in interfaceOrderShippingRule
-
getStates
- Specified by:
getStates
in interfaceOrderShippingRule
-
setStates
- Specified by:
setStates
in interfaceOrderShippingRule
-