Class CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy
java.lang.Object
de.hybris.platform.promotionengineservices.action.strategies.CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy
- All Implemented Interfaces:
ActionSupplementStrategy
public class CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy
extends Object
implements ActionSupplementStrategy
The class supplements
DisplayMessageRAO with dynamically-evaluated data for Cart Total Threshold condition.-
Field Summary
FieldsFields inherited from interface de.hybris.platform.ruleengineservices.rule.evaluation.actions.ActionSupplementStrategy
UUID_SUFFIX -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected BigDecimalgetValueToDisplay(RuleActionContext context) booleanisActionProperToHandle(AbstractRuleActionRAO actionRao, RuleActionContext context) Checks if the action result is proper to be processed by the strategyprotected booleanisMessageForCartTotalThreshold(Map<String, Object> parameters) booleanshouldPerformAction(AbstractRuleActionRAO actionRao, RuleActionContext context) Gives additional input into whether an action should be performed or notMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface de.hybris.platform.ruleengineservices.rule.evaluation.actions.ActionSupplementStrategy
postProcessAction
-
Field Details
-
CART_TOTAL_THRESHOLD_PARAMETER
- See Also:
-
CART_TOTAL_THRESHOLD_PARAMETER_UUID
- See Also:
-
-
Constructor Details
-
CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy
public CartTotalThresholdPotentialPromotionMessageActionSupplementStrategy()
-
-
Method Details
-
isActionProperToHandle
Description copied from interface:ActionSupplementStrategyChecks if the action result is proper to be processed by the strategy- Specified by:
isActionProperToHandlein interfaceActionSupplementStrategy- Parameters:
actionRao- - action resultcontext- - instance of RuleActionContext
-
shouldPerformAction
Description copied from interface:ActionSupplementStrategyGives additional input into whether an action should be performed or not- Specified by:
shouldPerformActionin interfaceActionSupplementStrategy- Parameters:
actionRao- - action resultcontext- - instance of RuleActionContext- Returns:
trueif action should be performed,false- otherwise
-
getValueToDisplay
-
isMessageForCartTotalThreshold
-