com.broadleafcommerce.core.rest.api.v2.wrapper.WeightWrapper
User: Kelly Tisdell
Date: 4/10/12@Deprecated public class WeightWrapper extends Object implements APIWrapper<Weight>, APIUnwrapper<Weight>
| Modifier and Type | Field and Description |
|---|---|
protected String |
unitOfMeasure
Deprecated.
|
protected BigDecimal |
weight
Deprecated.
|
| Constructor and Description |
|---|
WeightWrapper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getUnitOfMeasure()
Deprecated.
|
BigDecimal |
getWeight()
Deprecated.
|
void |
setUnitOfMeasure(String unitOfMeasure)
Deprecated.
|
void |
setWeight(BigDecimal weight)
Deprecated.
|
Weight |
unwrap(javax.servlet.http.HttpServletRequest request,
org.springframework.context.ApplicationContext context)
Deprecated.
|
void |
wrapDetails(Weight model,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
void |
wrapSummary(Weight model,
javax.servlet.http.HttpServletRequest request)
Deprecated.
|
protected BigDecimal weight
protected String unitOfMeasure
public void wrapDetails(Weight model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Weight>public void wrapSummary(Weight model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Weight>public BigDecimal getWeight()
public void setWeight(BigDecimal weight)
weight - the weight to setpublic String getUnitOfMeasure()
public void setUnitOfMeasure(String unitOfMeasure)
unitOfMeasure - the unitOfMeasure to setpublic Weight unwrap(javax.servlet.http.HttpServletRequest request, org.springframework.context.ApplicationContext context)
unwrap in interface APIUnwrapper<Weight>Copyright © 2020. All rights reserved.