public class DefaultAddCouponActionStrategy extends AbstractRuleActionStrategy<RuleBasedAddCouponActionModel>
| Constructor and Description |
|---|
DefaultAddCouponActionStrategy() |
| Modifier and Type | Method and Description |
|---|---|
java.util.List<PromotionResultModel> |
apply(AbstractRuleActionRAO action)
Applies the action described by the given
AbstractRuleActionRAO. |
void |
undo(ItemModel item)
Revokes the Promotion Action that was applied.
|
createPromotionAction, getActionUtils, getCalculationService, getExtendedOrderDao, getForceImmediateRecalculation, getMetadataHandlers, getModelService, getPromotionAction, getPromotionActionService, getPromotionResultUtils, getRuleActionMetadataHandlers, getStrategyId, handleActionMetadata, handleUndoActionMetadata, recalculateIfNeeded, setActionUtils, setBeanName, setCalculationService, setExtendedOrderDao, setForceImmediateRecalculation, setModelService, setPromotionAction, setPromotionActionService, setPromotionResultUtils, setRuleActionMetadataHandlers, undoInternalpublic java.util.List<PromotionResultModel> apply(AbstractRuleActionRAO action)
RuleActionStrategyAbstractRuleActionRAO.action - the action to applyItemModel that are affected by the application of this action.public void undo(ItemModel item)
RuleActionStrategyitem - the action to be undoneCopyright © 2018 SAP SE. All Rights Reserved.