Interface OrderItem
- All Superinterfaces:
BusinessObject
- All Known Implementing Classes:
OrderItemBean
Interface representing an order item within the system. An order item
corresponds to a single
Product
that a
customer purchases in an order.
When the application needs to create an instance that implements
OrderItem
,
BusinessObjectFactory
finds the name of the Java class to instantiate from the
"orderItemImplementer" setting in the appComponents.properties
file.
The default "orderItemImplementer" is
OrderItemBean
.
- Author:
- David Tobey
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addFormatting
(Locale locale, String currencyCode) getCode()
getImage()
boolean
boolean
double
double
getName()
getOrder()
int
int
int
int
int
getTotal()
void
setAltPrice
(Double altPrice) void
void
setCostTotal
(Double costTotal) void
setDecrementedSKUs
(String decrementedSKUs) void
setDiscounts
(Collection discounts) void
void
void
void
void
void
setFormattedAltPrice
(String formattedAltPrice) void
setFormattedCost
(String formattedCost) void
setFormattedPrice
(String formattedPrice) void
setFormattedTotal
(String formattedTotal) void
void
setIsActive
(boolean isActive) void
setIsTaxed
(boolean isTaxed) void
setManufacturer
(Manufacturer manufacturer) void
setManufacturerID
(Integer manufacturerID) void
void
void
setOrderDelivery
(OrderDelivery orderDelivery) void
setOrderDeliveryID
(int orderDeliveryID) void
setOrderDiscounts
(Collection orderDiscounts) void
setOrderID
(int orderID) void
setOrderItemAttributes
(Collection orderItemAttributes) void
setOrderItemID
(int orderItemID) void
setOrderShippingRules
(Collection orderShippingRules) void
setProduct
(Product product) void
setProductID
(int productID) void
setProductWeight
(Double productWeight) void
setQuantity
(int quantity) void
setSeoCode
(String seoCode) void
setShortDescription
(String shortDescription) void
void
setUnitCost
(Double unitCost) void
setUnitPrice
(Double unitPrice) void
Methods inherited from interface com.softslate.commerce.businessobjects.core.BusinessObject
initialize
-
Method Details
-
getOrderItemID
int getOrderItemID() -
setOrderItemID
void setOrderItemID(int orderItemID) -
getOrderDeliveryID
int getOrderDeliveryID() -
setOrderDeliveryID
void setOrderDeliveryID(int orderDeliveryID) -
getOrderID
int getOrderID() -
setOrderID
void setOrderID(int orderID) -
getTotal
Double getTotal() -
setTotal
-
getFormattedTotal
String getFormattedTotal() -
setFormattedTotal
-
getWeight
Double getWeight() -
setWeight
-
getCostTotal
Double getCostTotal() -
setCostTotal
-
getQuantity
int getQuantity() -
setQuantity
void setQuantity(int quantity) -
getIsActive
boolean getIsActive() -
setIsActive
void setIsActive(boolean isActive) -
getProductID
int getProductID() -
setProductID
void setProductID(int productID) -
getManufacturerID
Integer getManufacturerID() -
setManufacturerID
-
getCode
String getCode() -
setCode
-
getSeoCode
String getSeoCode() -
setSeoCode
-
getName
String getName() -
setName
-
getUnitPrice
Double getUnitPrice() -
setUnitPrice
-
getUnitCost
Double getUnitCost() -
setUnitCost
-
getAltPrice
Double getAltPrice() -
setAltPrice
-
getProductWeight
Double getProductWeight() -
setProductWeight
-
getFormattedCost
String getFormattedCost() -
setFormattedCost
-
getFormattedPrice
String getFormattedPrice() -
setFormattedPrice
-
getFormattedAltPrice
String getFormattedAltPrice() -
setFormattedAltPrice
-
getIsTaxed
boolean getIsTaxed() -
setIsTaxed
void setIsTaxed(boolean isTaxed) -
getImage
String getImage() -
setImage
-
getExtra1
String getExtra1() -
setExtra1
-
getExtra2
String getExtra2() -
setExtra2
-
getExtra3
String getExtra3() -
setExtra3
-
getExtra4
String getExtra4() -
setExtra4
-
getExtra5
String getExtra5() -
setExtra5
-
getShortDescription
String getShortDescription() -
setShortDescription
-
getDecrementedSKUs
String getDecrementedSKUs() -
setDecrementedSKUs
-
getOrderItemAttributes
Collection getOrderItemAttributes() -
setOrderItemAttributes
-
getOrder
Order getOrder() -
setOrder
-
getOrderDelivery
OrderDelivery getOrderDelivery() -
setOrderDelivery
-
getProduct
Product getProduct() -
setProduct
-
getManufacturer
Manufacturer getManufacturer() -
setManufacturer
-
getOrderDiscounts
Collection getOrderDiscounts() -
setOrderDiscounts
-
getOrderShippingRules
Collection getOrderShippingRules() -
setOrderShippingRules
-
getDiscounts
Collection getDiscounts() -
setDiscounts
-
addFormatting
-
getItemDiscountTotal
double getItemDiscountTotal() -
getItemUnitPrice
double getItemUnitPrice()
-