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 |
| 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
orderId
protected Long orderId
categoryId
protected Long categoryId
skuId
protected Long skuId
productId
protected Long productId
isBundle
protected Boolean isBundle
orderItemAttributes
protected List<OrderItemAttributeWrapper> orderItemAttributes
orderItemPriceDetails
protected List<OrderItemPriceDetailWrapper> orderItemPriceDetails
bundleItems
protected List<OrderItemWrapper> bundleItems
qualifiers
protected List<OrderItemQualifierWrapper> qualifiers
OrderItemWrapper
public OrderItemWrapper()
wrapDetails
public void wrapDetails(OrderItem model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapDetails in interface APIWrapper<OrderItem>
wrapSummary
public void wrapSummary(OrderItem model,
javax.servlet.http.HttpServletRequest request)
- Specified by:
wrapSummary in interface APIWrapper<OrderItem>
Copyright © 2013. All Rights Reserved.