public interface PromotionResultIf
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getOrderTotalCode() |
int |
getPromotionId() |
java.math.BigDecimal |
getValue()
The promotion discount
|
boolean |
isApplyBeforeTax()
When true, the discount should be applied before tax
|
boolean |
isPercentageDiscount()
When true, the value specifies a percentage
|
boolean |
isUsed()
Set to true if this promotion result has been used to modify the price of the product it is
attached to.
|
void |
setApplyBeforeTax(boolean applyBeforeTax)
When true, the discount should be applied before tax
|
void |
setOrderTotalCode(java.lang.String orderTotalCode) |
void |
setPercentageDiscount(boolean percentageDiscount)
When true, the value specifies a percentage
|
void |
setPromotionId(int promotionId) |
void |
setUsed(boolean used)
Set to true if this promotion result has been used to modify the price of the product it is
attached to.
|
void |
setValue(java.math.BigDecimal value)
The promotion discount
|
int getPromotionId()
void setPromotionId(int promotionId)
promotionId
- the promotionId to setjava.lang.String getOrderTotalCode()
void setOrderTotalCode(java.lang.String orderTotalCode)
orderTotalCode
- the orderTotalCode to setjava.math.BigDecimal getValue()
void setValue(java.math.BigDecimal value)
value
- the value to setboolean isPercentageDiscount()
void setPercentageDiscount(boolean percentageDiscount)
percentageDiscount
- the percentageDiscount to setboolean isApplyBeforeTax()
void setApplyBeforeTax(boolean applyBeforeTax)
applyBeforeTax
- the applyBeforeTax to setboolean isUsed()
void setUsed(boolean used)
used
- the used to setCopyright © 2018 DS Data Systems UK Ltd.