org.broadleafcommerce.core.web.api.wrapper
Class OrderItemPriceDetailWrapper

java.lang.Object
  extended by org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
      extended by org.broadleafcommerce.core.web.api.wrapper.OrderItemPriceDetailWrapper
All Implemented Interfaces:
APIWrapper<OrderItemPriceDetail>, org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

public class OrderItemPriceDetailWrapper
extends BaseWrapper
implements APIWrapper<OrderItemPriceDetail>

API wrapper to wrap Order Item Price Details.

Author:
Priyesh Patel

Field Summary
protected  Long id
           
protected  List<AdjustmentWrapper> orderItemPriceDetailAdjustments
           
protected  Integer quantity
           
protected  Money totalAdjustedPrice
           
protected  Money totalAdjustmentValue
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
OrderItemPriceDetailWrapper()
           
 
Method Summary
 void wrapDetails(OrderItemPriceDetail model, javax.servlet.http.HttpServletRequest request)
           
 void wrapSummary(OrderItemPriceDetail model, javax.servlet.http.HttpServletRequest request)
           
 
Methods inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
setApplicationContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

id

protected Long id

totalAdjustmentValue

protected Money totalAdjustmentValue

totalAdjustedPrice

protected Money totalAdjustedPrice

quantity

protected Integer quantity

orderItemPriceDetailAdjustments

protected List<AdjustmentWrapper> orderItemPriceDetailAdjustments
Constructor Detail

OrderItemPriceDetailWrapper

public OrderItemPriceDetailWrapper()
Method Detail

wrapDetails

public void wrapDetails(OrderItemPriceDetail model,
                        javax.servlet.http.HttpServletRequest request)
Specified by:
wrapDetails in interface APIWrapper<OrderItemPriceDetail>

wrapSummary

public void wrapSummary(OrderItemPriceDetail model,
                        javax.servlet.http.HttpServletRequest request)
Specified by:
wrapSummary in interface APIWrapper<OrderItemPriceDetail>


Copyright © 2013. All Rights Reserved.