public class AdjustmentWrapper
extends org.broadleafcommerce.common.rest.api.wrapper.BaseWrapper
implements org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.offer.domain.Adjustment>
| Modifier and Type | Field and Description |
|---|---|
protected org.broadleafcommerce.common.money.Money |
adjustmentValue |
protected BigDecimal |
discountAmount |
protected String |
discountType |
protected Long |
id |
protected String |
marketingMessage |
protected Long |
offerid |
protected String |
reason |
| Constructor and Description |
|---|
AdjustmentWrapper() |
| Modifier and Type | Method and Description |
|---|---|
org.broadleafcommerce.common.money.Money |
getAdjustmentValue() |
BigDecimal |
getDiscountAmount() |
String |
getDiscountType() |
Long |
getId() |
String |
getMarketingMessage() |
Long |
getOfferid() |
String |
getReason() |
void |
setAdjustmentValue(org.broadleafcommerce.common.money.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(org.broadleafcommerce.core.offer.domain.Adjustment model,
javax.servlet.http.HttpServletRequest request) |
void |
wrapSummary(org.broadleafcommerce.core.offer.domain.Adjustment model,
javax.servlet.http.HttpServletRequest request) |
protected Long id
protected Long offerid
protected String reason
protected String marketingMessage
protected org.broadleafcommerce.common.money.Money adjustmentValue
protected String discountType
protected BigDecimal discountAmount
public void wrapDetails(org.broadleafcommerce.core.offer.domain.Adjustment model,
javax.servlet.http.HttpServletRequest request)
wrapDetails in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.offer.domain.Adjustment>public void wrapSummary(org.broadleafcommerce.core.offer.domain.Adjustment model,
javax.servlet.http.HttpServletRequest request)
wrapSummary in interface org.broadleafcommerce.common.rest.api.wrapper.APIWrapper<org.broadleafcommerce.core.offer.domain.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 org.broadleafcommerce.common.money.Money getAdjustmentValue()
public void setAdjustmentValue(org.broadleafcommerce.common.money.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 © 2020. All rights reserved.