Class PromotionRuleIrProcessor
java.lang.Object
de.hybris.platform.promotionengineservices.compiler.processors.PromotionRuleIrProcessor
- All Implemented Interfaces:
RuleIrProcessor
Adds required conditions to the intermediate representation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSharedParameters(List<RuleConditionData> ruleConditionDataList) protected SwitchServicevoidprocess(RuleCompilerContext context, RuleIr ruleIr) Processes the intermediate representation.voidsetPromotionsService(PromotionsService promotionsService) voidsetSharedParametersProvider(SharedParametersProvider sharedParametersProvider) voidsetSwitchService(SwitchService switchService)
-
Field Details
-
WEBSITE_GROUP_RAO_ID_ATTRIBUTE
- See Also:
-
ORDER_CONSUMED_RAO_CART_ATTRIBUTE
- See Also:
-
AVAILABLE_QUANTITY_PARAM
- See Also:
-
CART_RAO_CURRENCY_ATTRIBUTE
- See Also:
-
CART_RAO_TOTAL_ATTRIBUTE
- See Also:
-
-
Constructor Details
-
PromotionRuleIrProcessor
public PromotionRuleIrProcessor()
-
-
Method Details
-
process
Description copied from interface:RuleIrProcessorProcesses the intermediate representation.- Specified by:
processin interfaceRuleIrProcessor- Parameters:
context- - the compiler context
-
getPromotionsService
-
setPromotionsService
-
getSwitchService
-
setSwitchService
-