public class RuleFreeGiftRAOAction extends AbstractRulePartnerProductAction
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
QUALIFYING_CONTAINERS_PARAM |
| Constructor and Description |
|---|
RuleFreeGiftRAOAction() |
createSelectionStrategyRPD, createSelectionStrategyRPDsQualifyingProducts, createSelectionStrategyRPDsTargetProducts, getOrderEntriesaddMetadataToRao, adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, allowedByRuntimeConfiguration, checkAndGetRuleContext, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, extractAmountForCurrency, extractFact, filterByRuleGroup, getActionSupplementStrategies, getBeanName, getConfigurationService, getConsumableQuantity, getConsumableQuantityStackable, getCurrencyUtils, getEligibleEntryQuantities, getEntriesSelectionStrategies, getMetaDataFromRule, getMetaDataFromRule, getRaoUtils, getRuleCode, getRuleConfigurationRRD, getRuleConfigurationRRDFilter, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getRuleGroupExecutionRRDFilter, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, getSelectedOrderEntryRaosStackable, hasEnoughQuantity, lookupRAOByType, lookupRAOObjectsByType, mergeDiscounts, mergeOrderEntryConsumed, performAction, performAction, postProcessAction, putEligibleEntryQuantities, setActionSupplementStrategies, setBeanName, setConfigurationService, setCurrencyUtils, setEntriesSelectionStrategies, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, splitEntriesSelectionStrategies, trackActionExecution, trackConsumedProducts, trackRuleExecution, trackRuleGroupCode, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, updateOrderConsumedQuantity, validateCurrencyIsoCode, validateParameters, validateRule, validateSelectionStrategypublic static final java.lang.String QUALIFYING_CONTAINERS_PARAM
public boolean performActionInternal(RuleActionContext context)
AbstractRuleExecutableSupportAbstractRuleExecutableSupport.performAction(RuleActionContext, Map)performActionInternal in class AbstractRuleExecutableSupportcontext - the contextprotected boolean performAction(RuleActionContext context, java.util.Map<java.lang.String,java.lang.Integer> qualifyingProductsContainers, java.lang.String productCode, java.lang.Integer quantity)
protected void updateFactsWithOrderEntries(RuleActionContext context, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDS)
protected ProductModel findProduct(java.lang.String productCode, RuleActionContext context)
protected ProductConsumedRAO createProductConsumedRAO(OrderEntryRAO orderEntryRAO)
protected ProductService getProductService()
public void setProductService(ProductService productService)
protected RuleOrderEntryPercentageDiscountRAOAction getRuleOrderEntryPercentageDiscountRAOAction()
public void setRuleOrderEntryPercentageDiscountRAOAction(RuleOrderEntryPercentageDiscountRAOAction ruleOrderEntryPercentageDiscountRAOAction)
Copyright © 2018 SAP SE. All Rights Reserved.