public class OrderWrapper extends BaseWrapper implements APIWrapper<Order>
| Modifier and Type | Field and Description |
|---|---|
protected List<CartMessageWrapper> |
cartMessages |
protected CustomerWrapper |
customer |
protected List<FulfillmentGroupWrapper> |
fulfillmentGroups |
protected Long |
id |
protected List<AdjustmentWrapper> |
orderAdjustments |
protected List<OrderAttributeWrapper> |
orderAttributes |
protected List<OrderItemWrapper> |
orderItems |
protected List<OrderPaymentWrapper> |
payments |
protected String |
status |
protected Money |
subTotal |
protected Money |
total |
protected Money |
totalShipping |
protected Money |
totalTax |
context| Constructor and Description |
|---|
OrderWrapper() |
createElementWrappers, setApplicationContextprotected Long id
protected String status
protected Money totalTax
protected Money totalShipping
protected Money subTotal
protected Money total
protected CustomerWrapper customer
protected List<OrderItemWrapper> orderItems
protected List<FulfillmentGroupWrapper> fulfillmentGroups
protected List<OrderPaymentWrapper> payments
protected List<AdjustmentWrapper> orderAdjustments
protected List<OrderAttributeWrapper> orderAttributes
protected List<CartMessageWrapper> cartMessages
public void wrapDetails(Order model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Order>public void wrapSummary(Order model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Order>public Long getId()
public void setId(Long id)
id - the id to setpublic String getStatus()
public void setStatus(String status)
status - the status to setpublic Money getTotalTax()
public void setTotalTax(Money totalTax)
totalTax - the totalTax to setpublic Money getTotalShipping()
public void setTotalShipping(Money totalShipping)
totalShipping - the totalShipping to setpublic Money getSubTotal()
public void setSubTotal(Money subTotal)
subTotal - the subTotal to setpublic Money getTotal()
public void setTotal(Money total)
total - the total to setpublic CustomerWrapper getCustomer()
public void setCustomer(CustomerWrapper customer)
customer - the customer to setpublic List<OrderItemWrapper> getOrderItems()
public void setOrderItems(List<OrderItemWrapper> orderItems)
orderItems - the orderItems to setpublic List<FulfillmentGroupWrapper> getFulfillmentGroups()
public void setFulfillmentGroups(List<FulfillmentGroupWrapper> fulfillmentGroups)
fulfillmentGroups - the fulfillmentGroups to setpublic List<OrderPaymentWrapper> getPayments()
public void setPayments(List<OrderPaymentWrapper> payments)
payments - the payments to setpublic List<AdjustmentWrapper> getOrderAdjustments()
public void setOrderAdjustments(List<AdjustmentWrapper> orderAdjustments)
orderAdjustments - the orderAdjustments to setpublic List<OrderAttributeWrapper> getOrderAttributes()
public void setOrderAttributes(List<OrderAttributeWrapper> orderAttributes)
orderAttributes - the orderAttributes to setpublic List<CartMessageWrapper> getCartMessages()
public void setCartMessages(List<CartMessageWrapper> cartMessages)
cartMessages - the cartMessages to setCopyright © 2015. All Rights Reserved.