public class OrderItemWrapper extends BaseWrapper implements APIWrapper<OrderItem>
DiscreteOrderItem
This wrapper should be extended for BundledOrderItems etc...
User: Elbert Bautista
Date: 4/10/12| Modifier and Type | Field and Description |
|---|---|
protected List<OrderItemWrapper> |
bundleItems |
protected Long |
categoryId |
protected Long |
id |
protected Boolean |
isBundle |
protected String |
name |
protected Long |
orderId |
protected List<OrderItemAttributeWrapper> |
orderItemAttributes |
protected List<OrderItemPriceDetailWrapper> |
orderItemPriceDetails |
protected Long |
productId |
protected List<OrderItemQualifierWrapper> |
qualifiers |
protected Integer |
quantity |
protected Money |
retailPrice |
protected Money |
salePrice |
protected Long |
skuId |
context| Constructor and Description |
|---|
OrderItemWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
wrapDetails(OrderItem model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(OrderItem model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected String name
protected Integer quantity
protected Money retailPrice
protected Money salePrice
protected Long orderId
protected Long categoryId
protected Long skuId
protected Long productId
protected Boolean isBundle
protected List<OrderItemAttributeWrapper> orderItemAttributes
protected List<OrderItemPriceDetailWrapper> orderItemPriceDetails
protected List<OrderItemWrapper> bundleItems
protected List<OrderItemQualifierWrapper> qualifiers
public void wrapDetails(OrderItem model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<OrderItem>public void wrapSummary(OrderItem model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<OrderItem>Copyright © 2014. All Rights Reserved.