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

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

public class OrderWrapper
extends BaseWrapper
implements APIWrapper<Order>

This is a JAXB wrapper around Order.

User: Elbert Bautista Date: 4/10/12


Field Summary
protected  CustomerWrapper customer
           
protected  List<FulfillmentGroupWrapper> fulfillmentGroups
           
protected  Long id
           
protected  List<OrderItemWrapper> orderItems
           
protected  List<PaymentInfoWrapper> paymentInfos
           
protected  String status
           
protected  Money subTotal
           
protected  Money total
           
protected  Money totalShipping
           
protected  Money totalTax
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
OrderWrapper()
           
 
Method Summary
 void wrap(Order 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

status

protected String status

totalTax

protected Money totalTax

totalShipping

protected Money totalShipping

subTotal

protected Money subTotal

total

protected Money total

customer

protected CustomerWrapper customer

orderItems

protected List<OrderItemWrapper> orderItems

fulfillmentGroups

protected List<FulfillmentGroupWrapper> fulfillmentGroups

paymentInfos

protected List<PaymentInfoWrapper> paymentInfos
Constructor Detail

OrderWrapper

public OrderWrapper()
Method Detail

wrap

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


Copyright © 2012. All Rights Reserved.