RAOAction hierarchy instead@Deprecated public class DefaultAddOrderEntryGroupFixedPriceDiscountRAOAction extends AbstractCommerceRAOAction implements AddOrderEntryGroupFixedPriceDiscountRAOAction
| Constructor and Description |
|---|
DefaultAddOrderEntryGroupFixedPriceDiscountRAOAction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
List<DiscountRAO> |
addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order,
List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
BigDecimal targetPrice,
RuleEngineResultRAO result,
Object ruleContext)
Deprecated.
Sets the target price
targetPrice to a group of products, selecting them from order entries according to
the given entriesSelectionStrategyRPDs. |
adjustStrategyQuantity, adjustUnitPrice, adjustUnitPrice, consumeOrderEntries, consumeOrderEntries, consumeOrderEntry, consumeOrderEntry, createOrderEntryConsumedRAO, getBeanName, getEntriesSelectionStrategies, getNotExecutableActionStrategy, getRaoUtils, getRuleConfigurationRRD, getRuleEngineCalculationService, getRuleGroupExecutionRRD, getSelectedOrderEntryQuantities, getSelectedOrderEntryRaos, hasEnoughQuantity, hasEnoughQuantity, setBeanName, setEntriesSelectionStrategies, setNotExecutableActionStrategy, setRAOMetaData, setRaoUtils, setRuleEngineCalculationService, splitEntriesSelectionStrategies, trackRuleExecution, trackRuleGroupExecution, trackRuleGroupExecutions, updateActionRAOWithConsumed, validateCurrencyIsoCode, validateSelectionStrategycheckAndGetRuleContext, getConfigurationService, getMetaDataFromRule, getMetaDataFromRule, getRuleCode, insertFacts, insertFacts, setConfigurationService, updateFacts, validateRulepublic DefaultAddOrderEntryGroupFixedPriceDiscountRAOAction()
public List<DiscountRAO> addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order, List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, BigDecimal targetPrice, RuleEngineResultRAO result, Object ruleContext)
AddOrderEntryGroupFixedPriceDiscountRAOActiontargetPrice to a group of products, selecting them from order entries according to
the given entriesSelectionStrategyRPDs.addOrderEntryGroupFixedPriceDiscount in interface AddOrderEntryGroupFixedPriceDiscountRAOActionorder - the order / cartentriesSelectionStrategyRPDs - list of EntriesSelectionStrategyRPD defining which and how many products should take part in the
promotiontargetPrice - target price for the product groupresult - the result raoruleContext - an optional context object that can be used to provide additional information for the returned
DiscountRAOCopyright © 2017 SAP SE. All Rights Reserved.