public class OrderItemWrapper extends BaseWrapper implements APIWrapper<OrderItem>
DiscreteOrderItem
This wrapper should be extended for BundledOrderItems etc...
User: Elbert Bautista
Date: 4/10/12| Modifier and Type | Field and Description |
|---|---|
protected List<OrderItemWrapper> |
bundleItems |
protected Long |
categoryId |
protected Long |
id |
protected Boolean |
isBundle |
protected Boolean |
isDiscountingAllowed |
protected String |
name |
protected Long |
orderId |
protected List<OrderItemAttributeWrapper> |
orderItemAttributes |
protected List<OrderItemPriceDetailWrapper> |
orderItemPriceDetails |
protected Long |
productId |
protected List<OrderItemQualifierWrapper> |
qualifiers |
protected Integer |
quantity |
protected Money |
retailPrice |
protected Money |
salePrice |
protected Long |
skuId |
context| Constructor and Description |
|---|
OrderItemWrapper() |
createElementWrappers, setApplicationContextprotected Long id
protected String name
protected Integer quantity
protected Money retailPrice
protected Money salePrice
protected Long orderId
protected Long categoryId
protected Long skuId
protected Long productId
protected Boolean isBundle
protected List<OrderItemAttributeWrapper> orderItemAttributes
protected List<OrderItemPriceDetailWrapper> orderItemPriceDetails
protected List<OrderItemWrapper> bundleItems
protected List<OrderItemQualifierWrapper> qualifiers
protected Boolean isDiscountingAllowed
public void wrapDetails(OrderItem model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<OrderItem>public void wrapSummary(OrderItem model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<OrderItem>public Long getId()
public void setId(Long id)
id - the id to setpublic String getName()
public void setName(String name)
name - the name to setpublic Integer getQuantity()
public void setQuantity(Integer quantity)
quantity - the quantity to setpublic Money getRetailPrice()
public void setRetailPrice(Money retailPrice)
retailPrice - the retailPrice to setpublic Money getSalePrice()
public void setSalePrice(Money salePrice)
salePrice - the salePrice to setpublic Long getOrderId()
public void setOrderId(Long orderId)
orderId - the orderId to setpublic Long getCategoryId()
public void setCategoryId(Long categoryId)
categoryId - the categoryId to setpublic Long getSkuId()
public void setSkuId(Long skuId)
skuId - the skuId to setpublic Long getProductId()
public void setProductId(Long productId)
productId - the productId to setpublic Boolean getIsBundle()
public void setIsBundle(Boolean isBundle)
isBundle - the isBundle to setpublic List<OrderItemAttributeWrapper> getOrderItemAttributes()
public void setOrderItemAttributes(List<OrderItemAttributeWrapper> orderItemAttributes)
orderItemAttributes - the orderItemAttributes to setpublic List<OrderItemPriceDetailWrapper> getOrderItemPriceDetails()
public void setOrderItemPriceDetails(List<OrderItemPriceDetailWrapper> orderItemPriceDetails)
orderItemPriceDetails - the orderItemPriceDetails to setpublic List<OrderItemWrapper> getBundleItems()
public void setBundleItems(List<OrderItemWrapper> bundleItems)
bundleItems - the bundleItems to setpublic List<OrderItemQualifierWrapper> getQualifiers()
public void setQualifiers(List<OrderItemQualifierWrapper> qualifiers)
qualifiers - the qualifiers to setpublic Boolean getIsDiscountingAllowed()
public void setIsDiscountingAllowed(Boolean isDiscountingAllowed)
isDiscountingAllowed - the isDiscountingAllowed to setCopyright © 2015. All Rights Reserved.