public class AdjustmentWrapper extends BaseWrapper implements APIWrapper<Adjustment>
| Modifier and Type | Field and Description |
|---|---|
protected Money |
adjustmentValue |
protected BigDecimal |
discountAmount |
protected String |
discountType |
protected Long |
id |
protected String |
marketingMessage |
protected Long |
offerid |
protected String |
reason |
context| Constructor and Description |
|---|
AdjustmentWrapper() |
| Modifier and Type | Method and Description |
|---|---|
Money |
getAdjustmentValue() |
BigDecimal |
getDiscountAmount() |
String |
getDiscountType() |
Long |
getId() |
String |
getMarketingMessage() |
Long |
getOfferid() |
String |
getReason() |
void |
setAdjustmentValue(Money adjustmentValue) |
void |
setDiscountAmount(BigDecimal discountAmount) |
void |
setDiscountType(String discountType) |
void |
setId(Long id) |
void |
setMarketingMessage(String marketingMessage) |
void |
setOfferid(Long offerid) |
void |
setReason(String reason) |
void |
wrapDetails(Adjustment model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(Adjustment model,
javax.servlet.http.HttpServletRequest request) |
createElementWrappers, setApplicationContextprotected Long id
protected Long offerid
protected String reason
protected String marketingMessage
protected Money adjustmentValue
protected String discountType
protected BigDecimal discountAmount
public void wrapDetails(Adjustment model, javax.servlet.http.HttpServletRequest request)
wrapDetails in interface APIWrapper<Adjustment>public void wrapSummary(Adjustment model, javax.servlet.http.HttpServletRequest request)
wrapSummary in interface APIWrapper<Adjustment>public Long getId()
public void setId(Long id)
id - the id to setpublic Long getOfferid()
public void setOfferid(Long offerid)
offerid - the offerid to setpublic String getReason()
public void setReason(String reason)
reason - the reason to setpublic String getMarketingMessage()
public void setMarketingMessage(String marketingMessage)
marketingMessage - the marketingMessage to setpublic Money getAdjustmentValue()
public void setAdjustmentValue(Money adjustmentValue)
adjustmentValue - the adjustmentValue to setpublic String getDiscountType()
public void setDiscountType(String discountType)
discountType - the discountType to setpublic BigDecimal getDiscountAmount()
public void setDiscountAmount(BigDecimal discountAmount)
discountAmount - the discountAmount to setCopyright © 2015. All Rights Reserved.