public interface Reward extends XMLizable
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Modifier and Type | Method and Description |
---|---|
boolean | computeReward(PromotionContext context, PromotionExecutionRecord record)
computeReward method applies the adjustments to the targeted line items.
|
AdjustmentFunction[] | getAdjustmentFunctions()
Gets AdjustmentFunctions of the Reward.
|
void | setAdjustmentFunctions(AdjustmentFunction[] adjustmentList)
Sets AdjustmentFunctions for the Reward.
|
static final java.lang.String COPYRIGHT
AdjustmentFunction[] getAdjustmentFunctions()
void setAdjustmentFunctions(AdjustmentFunction[] adjustmentList)
boolean computeReward(PromotionContext context, PromotionExecutionRecord record) throws PromotionRewardCalcuationException