org.broadleafcommerce.core.web.api.wrapper
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 CategoryWrapper |
category |
protected Long |
id |
protected String |
name |
protected Long |
orderId |
protected List<OrderItemAttributeWrapper> |
orderItemAttributes |
protected ProductWrapper |
product |
protected Integer |
quantity |
protected Money |
retailPrice |
protected Money |
salePrice |
protected SkuWrapper |
sku |
context| Constructor and Description |
|---|
OrderItemWrapper() |
| Modifier and Type | Method and Description |
|---|---|
void |
wrap(OrderItem model,
javax.servlet.http.HttpServletRequest request) |
setApplicationContextprotected Long id
protected String name
protected Integer quantity
protected Money retailPrice
protected Money salePrice
protected CategoryWrapper category
protected Long orderId
protected SkuWrapper sku
protected ProductWrapper product
protected List<OrderItemAttributeWrapper> orderItemAttributes
public void wrap(OrderItem model, javax.servlet.http.HttpServletRequest request)
wrap in interface APIWrapper<OrderItem>Copyright © 2015. All Rights Reserved.