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

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

public class SkuWrapper
extends BaseWrapper
implements APIWrapper<Sku>

This is a JAXB wrapper to wrap Sku.

User: Kelly Tisdell Date: 4/10/12


Field Summary
protected  Date activeEndDate
           
protected  Date activeStartDate
           
protected  String description
           
protected  DimensionWrapper dimension
           
protected  Long id
           
protected  String name
           
protected  Money retailPrice
           
protected  Money salePrice
           
protected  WeightWrapper weight
           
 
Fields inherited from class org.broadleafcommerce.core.web.api.wrapper.BaseWrapper
context
 
Constructor Summary
SkuWrapper()
           
 
Method Summary
 void wrap(Sku 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

activeStartDate

protected Date activeStartDate

activeEndDate

protected Date activeEndDate

name

protected String name

description

protected String description

retailPrice

protected Money retailPrice

salePrice

protected Money salePrice

weight

protected WeightWrapper weight

dimension

protected DimensionWrapper dimension
Constructor Detail

SkuWrapper

public SkuWrapper()
Method Detail

wrap

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


Copyright © 2012. All Rights Reserved.