public class PromotionRuleIrProcessor extends java.lang.Object implements RuleIrProcessor
| Modifier and Type | Field and Description |
|---|---|
protected static java.lang.String |
AVAILABLE_QUANTITY_PARAM |
protected static java.lang.String |
CART_RAO_CURRENCY_ATTRIBUTE |
protected static java.lang.String |
CART_RAO_TOTAL_ATTRIBUTE |
protected static java.lang.String |
ORDER_CONSUMED_RAO_CART_ATTRIBUTE |
static java.lang.String |
WEBSITE_GROUP_RAO_ID_ATTRIBUTE |
| Constructor and Description |
|---|
PromotionRuleIrProcessor() |
| Modifier and Type | Method and Description |
|---|---|
PromotionsService |
getPromotionsService() |
protected java.util.Map<java.lang.String,java.lang.Object> |
getSharedParameters(java.util.List<RuleConditionData> ruleConditionDataList) |
protected boolean |
isRuleNonStackable(RuleCompilerContext context)
Deprecated.
since 6.7
|
void |
process(RuleCompilerContext context,
RuleIr ruleIr)
Processes the intermediate representation.
|
void |
setPromotionsService(PromotionsService promotionsService) |
void |
setSharedParametersProvider(SharedParametersProvider sharedParametersProvider) |
public static final java.lang.String WEBSITE_GROUP_RAO_ID_ATTRIBUTE
protected static final java.lang.String ORDER_CONSUMED_RAO_CART_ATTRIBUTE
protected static final java.lang.String AVAILABLE_QUANTITY_PARAM
protected static final java.lang.String CART_RAO_CURRENCY_ATTRIBUTE
protected static final java.lang.String CART_RAO_TOTAL_ATTRIBUTE
public void process(RuleCompilerContext context, RuleIr ruleIr)
RuleIrProcessorprocess in interface RuleIrProcessorcontext - - the compiler contextprotected java.util.Map<java.lang.String,java.lang.Object> getSharedParameters(java.util.List<RuleConditionData> ruleConditionDataList)
@Deprecated protected boolean isRuleNonStackable(RuleCompilerContext context)
public PromotionsService getPromotionsService()
public void setPromotionsService(PromotionsService promotionsService)
public void setSharedParametersProvider(SharedParametersProvider sharedParametersProvider)
Copyright © 2018 SAP SE. All Rights Reserved.