Class CheapestEntriesSelectionStrategy
- java.lang.Object
-
- de.hybris.platform.ruleengineservices.calculation.impl.AbstractEntriesSelectionStrategy
-
- de.hybris.platform.ruleengineservices.calculation.impl.CheapestEntriesSelectionStrategy
-
- All Implemented Interfaces:
EntriesSelectionStrategy
public class CheapestEntriesSelectionStrategy extends AbstractEntriesSelectionStrategy
Defines method(s) to pickup the cheapest products from set of Order Entries to be used in a rule for a group of products.
-
-
Constructor Summary
Constructors Constructor Description CheapestEntriesSelectionStrategy()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.util.List<OrderEntryRAO>
getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)
Gets ordered list of Order Entries from strategy according to product prices comparing OrderEntryRAO.price - the cheapest first.-
Methods inherited from class de.hybris.platform.ruleengineservices.calculation.impl.AbstractEntriesSelectionStrategy
pickup
-
-
-
-
Method Detail
-
getOrderEntriesToProcess
protected java.util.List<OrderEntryRAO> getOrderEntriesToProcess(EntriesSelectionStrategyRPD strategy)
Gets ordered list of Order Entries from strategy according to product prices comparing OrderEntryRAO.price - the cheapest first.- Specified by:
getOrderEntriesToProcess
in classAbstractEntriesSelectionStrategy
-
-