Interface AddOrderEntryGroupFixedPriceDiscountRAOAction
-
@Deprecated(forRemoval=true, since="2005") public interface AddOrderEntryGroupFixedPriceDiscountRAOActionDeprecated, for removal: This API element is subject to removal in a future version.not used since 6.2 releaseAddOrderEntryGroupFixedPriceDiscountRAOAction adds a discount to a bundle of products.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.List<DiscountRAO>addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal targetPrice, RuleEngineResultRAO result, java.lang.Object ruleContext)Deprecated, for removal: This API element is subject to removal in a future version.Sets the target pricetargetPriceto a group of products, selecting them from order entries according to the givenentriesSelectionStrategyRPDs.
-
-
-
Method Detail
-
addOrderEntryGroupFixedPriceDiscount
java.util.List<DiscountRAO> addOrderEntryGroupFixedPriceDiscount(AbstractOrderRAO order, java.util.List<EntriesSelectionStrategyRPD> entriesSelectionStrategyRPDs, java.math.BigDecimal targetPrice, RuleEngineResultRAO result, java.lang.Object ruleContext)
Deprecated, for removal: This API element is subject to removal in a future version.Sets the target pricetargetPriceto a group of products, selecting them from order entries according to the givenentriesSelectionStrategyRPDs.- Parameters:
order- the order / cartentriesSelectionStrategyRPDs- list ofEntriesSelectionStrategyRPDdefining 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 DiscountRAO- Returns:
- list of discounts that should be applied to gain the target price.
-
-