org.broadleafcommerce.core.web.api.wrapper
Class OrderItemWrapper
java.lang.Object
org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
org.broadleafcommerce.core.web.api.wrapper.OrderItemWrapper
- All Implemented Interfaces:
- APIWrapper<OrderItem>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware
public class OrderItemWrapper
- extends BaseWrapper
- implements APIWrapper<OrderItem>
This is a JAXB wrapper around OrderItem.
For simplicity and most use cases, this wrapper only serializes attributes of DiscreteOrderItem
This wrapper should be extended for BundledOrderItems etc...
User: Elbert Bautista
Date: 4/10/12
| Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper |
context |
|
Method Summary |
void |
wrap(OrderItem model,
javax.servlet.http.HttpServletRequest request)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
id
protected Long id
name
protected String name
quantity
protected Integer quantity
retailPrice
protected Money retailPrice
salePrice
protected Money salePrice
category
protected CategoryWrapper category
orderId
protected Long orderId
sku
protected SkuWrapper sku
product
protected ProductWrapper product
orderItemAttributes
protected List<OrderItemAttributeWrapper> orderItemAttributes
OrderItemWrapper
public OrderItemWrapper()
wrap
public void wrap(OrderItem model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrap in interface APIWrapper<OrderItem>
Copyright © 2013. All Rights Reserved.