RAOAction hierarchy instead@Deprecated public class DefaultAddOrderEntryGroupFixedPriceDiscountRAOAction extends AbstractCommerceRAOAction implements AddOrderEntryGroupFixedPriceDiscountRAOAction
| Constructor and Description |
|---|
DefaultAddOrderEntryGroupFixedPriceDiscountRAOAction()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
java.util.List<DiscountRAO> |
addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order,
java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs,
java.math.BigDecimal targetPrice,
RuleEngineResultRAO result,
java.lang.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 java.util.List<DiscountRAO> addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal targetPrice, RuleEngineResultRAO result, java.lang.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.