com.softslate.commerce.businessobjects.order
Class OrderItemBean
java.lang.Object
com.softslate.commerce.businessobjects.core.BaseBusinessObject
com.softslate.commerce.businessobjects.order.OrderItemBean
- All Implemented Interfaces:
- BusinessObject, OrderItem, java.io.Serializable
- public class OrderItemBean
- extends BaseBusinessObject
- implements OrderItem, java.io.Serializable
Object representing an order item within the system.
OrderItemBean
is the default implementation of the
OrderItem
interface for the application.
- Author:
- David Tobey
- See Also:
OrderItem
,
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
log
static org.apache.commons.logging.Log log
orderItemID
private int orderItemID
orderDeliveryID
private int orderDeliveryID
orderID
private int orderID
total
private double total
formattedTotal
private java.lang.String formattedTotal
weight
private double weight
quantity
private int quantity
isActive
private boolean isActive
productID
private int productID
code
private java.lang.String code
name
private java.lang.String name
unitPrice
private double unitPrice
unitCost
private double unitCost
altPrice
private double altPrice
productWeight
private double productWeight
formattedCost
private java.lang.String formattedCost
formattedPrice
private java.lang.String formattedPrice
formattedAltPrice
private java.lang.String formattedAltPrice
isTaxed
private boolean isTaxed
image
private java.lang.String image
shortDescription
private java.lang.String shortDescription
extra1
private java.lang.String extra1
extra2
private java.lang.String extra2
extra3
private java.lang.String extra3
extra4
private java.lang.String extra4
extra5
private java.lang.String extra5
decrementedSKUs
private java.lang.String decrementedSKUs
orderItemAttributes
private java.util.Collection orderItemAttributes
OrderItemBean
public OrderItemBean()
getOrderItemID
public int getOrderItemID()
- Specified by:
getOrderItemID
in interface OrderItem
setOrderItemID
public void setOrderItemID(int orderItemID)
- Specified by:
setOrderItemID
in interface OrderItem
getOrderDeliveryID
public int getOrderDeliveryID()
- Specified by:
getOrderDeliveryID
in interface OrderItem
setOrderDeliveryID
public void setOrderDeliveryID(int orderDeliveryID)
- Specified by:
setOrderDeliveryID
in interface OrderItem
getOrderID
public int getOrderID()
- Specified by:
getOrderID
in interface OrderItem
setOrderID
public void setOrderID(int orderID)
- Specified by:
setOrderID
in interface OrderItem
getTotal
public double getTotal()
- Specified by:
getTotal
in interface OrderItem
setTotal
public void setTotal(double total)
- Specified by:
setTotal
in interface OrderItem
getFormattedTotal
public java.lang.String getFormattedTotal()
- Specified by:
getFormattedTotal
in interface OrderItem
setFormattedTotal
public void setFormattedTotal(java.lang.String formattedTotal)
- Specified by:
setFormattedTotal
in interface OrderItem
getWeight
public double getWeight()
- Specified by:
getWeight
in interface OrderItem
setWeight
public void setWeight(double weight)
- Specified by:
setWeight
in interface OrderItem
getQuantity
public int getQuantity()
- Specified by:
getQuantity
in interface OrderItem
setQuantity
public void setQuantity(int quantity)
- Specified by:
setQuantity
in interface OrderItem
getIsActive
public boolean getIsActive()
- Specified by:
getIsActive
in interface OrderItem
setIsActive
public void setIsActive(boolean isActive)
- Specified by:
setIsActive
in interface OrderItem
getProductID
public int getProductID()
- Specified by:
getProductID
in interface OrderItem
setProductID
public void setProductID(int productID)
- Specified by:
setProductID
in interface OrderItem
getCode
public java.lang.String getCode()
- Specified by:
getCode
in interface OrderItem
setCode
public void setCode(java.lang.String code)
- Specified by:
setCode
in interface OrderItem
getName
public java.lang.String getName()
- Specified by:
getName
in interface OrderItem
setName
public void setName(java.lang.String name)
- Specified by:
setName
in interface OrderItem
getUnitPrice
public double getUnitPrice()
- Specified by:
getUnitPrice
in interface OrderItem
setUnitPrice
public void setUnitPrice(double unitPrice)
- Specified by:
setUnitPrice
in interface OrderItem
getUnitCost
public double getUnitCost()
- Specified by:
getUnitCost
in interface OrderItem
setUnitCost
public void setUnitCost(double unitCost)
- Specified by:
setUnitCost
in interface OrderItem
getAltPrice
public double getAltPrice()
- Specified by:
getAltPrice
in interface OrderItem
setAltPrice
public void setAltPrice(double altPrice)
- Specified by:
setAltPrice
in interface OrderItem
getProductWeight
public double getProductWeight()
- Specified by:
getProductWeight
in interface OrderItem
setProductWeight
public void setProductWeight(double productWeight)
- Specified by:
setProductWeight
in interface OrderItem
getFormattedCost
public java.lang.String getFormattedCost()
- Specified by:
getFormattedCost
in interface OrderItem
setFormattedCost
public void setFormattedCost(java.lang.String formattedCost)
- Specified by:
setFormattedCost
in interface OrderItem
getFormattedPrice
public java.lang.String getFormattedPrice()
- Specified by:
getFormattedPrice
in interface OrderItem
setFormattedPrice
public void setFormattedPrice(java.lang.String formattedPrice)
- Specified by:
setFormattedPrice
in interface OrderItem
getFormattedAltPrice
public java.lang.String getFormattedAltPrice()
- Specified by:
getFormattedAltPrice
in interface OrderItem
setFormattedAltPrice
public void setFormattedAltPrice(java.lang.String formattedAltPrice)
- Specified by:
setFormattedAltPrice
in interface OrderItem
getIsTaxed
public boolean getIsTaxed()
- Specified by:
getIsTaxed
in interface OrderItem
setIsTaxed
public void setIsTaxed(boolean isTaxed)
- Specified by:
setIsTaxed
in interface OrderItem
getImage
public java.lang.String getImage()
- Specified by:
getImage
in interface OrderItem
setImage
public void setImage(java.lang.String image)
- Specified by:
setImage
in interface OrderItem
getExtra1
public java.lang.String getExtra1()
- Specified by:
getExtra1
in interface OrderItem
setExtra1
public void setExtra1(java.lang.String extra1)
- Specified by:
setExtra1
in interface OrderItem
getExtra2
public java.lang.String getExtra2()
- Specified by:
getExtra2
in interface OrderItem
setExtra2
public void setExtra2(java.lang.String extra2)
- Specified by:
setExtra2
in interface OrderItem
getExtra3
public java.lang.String getExtra3()
- Specified by:
getExtra3
in interface OrderItem
setExtra3
public void setExtra3(java.lang.String extra3)
- Specified by:
setExtra3
in interface OrderItem
getExtra4
public java.lang.String getExtra4()
- Specified by:
getExtra4
in interface OrderItem
setExtra4
public void setExtra4(java.lang.String extra4)
- Specified by:
setExtra4
in interface OrderItem
getExtra5
public java.lang.String getExtra5()
- Specified by:
getExtra5
in interface OrderItem
setExtra5
public void setExtra5(java.lang.String extra5)
- Specified by:
setExtra5
in interface OrderItem
getShortDescription
public java.lang.String getShortDescription()
- Specified by:
getShortDescription
in interface OrderItem
setShortDescription
public void setShortDescription(java.lang.String shortDescription)
- Specified by:
setShortDescription
in interface OrderItem
getDecrementedSKUs
public java.lang.String getDecrementedSKUs()
- Specified by:
getDecrementedSKUs
in interface OrderItem
setDecrementedSKUs
public void setDecrementedSKUs(java.lang.String decrementedSKUs)
- Specified by:
setDecrementedSKUs
in interface OrderItem
setActive
public void setActive(boolean isActive)
setTaxed
public void setTaxed(boolean isTaxed)
getOrderItemAttributes
public java.util.Collection getOrderItemAttributes()
- Specified by:
getOrderItemAttributes
in interface OrderItem
setOrderItemAttributes
public void setOrderItemAttributes(java.util.Collection orderAttributes)
- Specified by:
setOrderItemAttributes
in interface OrderItem
addFormatting
public void addFormatting(java.util.Locale locale,
java.lang.String currencyCode)
- Specified by:
addFormatting
in interface OrderItem
Copyright © SoftSlate, Inc. 20032005