Class LowestFareStrategy
java.lang.Object
de.hybris.platform.travelfacades.strategies.impl.LowestFareStrategy
- All Implemented Interfaces:
ProductsSortStrategy<ProductData>
Strategy implementation to sort the products in ascending order.
This strategy sorts the collection of products using the price information. The products are sorted in ascending
order and the lowest priced product will appear at the top.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyStrategy(List<? extends ProductData> productDatas) Method to apply the ordering of products in a collection.
-
Constructor Details
-
LowestFareStrategy
public LowestFareStrategy()
-
-
Method Details
-
applyStrategy
Description copied from interface:ProductsSortStrategyMethod to apply the ordering of products in a collection.- Specified by:
applyStrategyin interfaceProductsSortStrategy<ProductData>- Parameters:
productDatas- the product datas
-