Class DefaultDiscountRowMatchComparatorProvider
- java.lang.Object
-
- de.hybris.platform.order.strategies.calculation.pdt.comparator.impl.DefaultDiscountRowMatchComparatorProvider
-
- All Implemented Interfaces:
PDTRowMatchComparatorProvider<DiscountValueInfoCriteria,AbstractDiscountRowModel>
public class DefaultDiscountRowMatchComparatorProvider extends java.lang.Object implements PDTRowMatchComparatorProvider<DiscountValueInfoCriteria,AbstractDiscountRowModel>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static classDefaultDiscountRowMatchComparatorProvider.DiscountRowMatchComparator
-
Constructor Summary
Constructors Constructor Description DefaultDiscountRowMatchComparatorProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Comparator<AbstractDiscountRowModel>comparator(DiscountValueInfoCriteria criteria)Compares price/discount/tax row models for given criteria.
-
-
-
Method Detail
-
comparator
public java.util.Comparator<AbstractDiscountRowModel> comparator(DiscountValueInfoCriteria criteria)
Description copied from interface:PDTRowMatchComparatorProviderCompares price/discount/tax row models for given criteria.- Specified by:
comparatorin interfacePDTRowMatchComparatorProvider<DiscountValueInfoCriteria,AbstractDiscountRowModel>- Parameters:
criteria- the price/discount/tax criteria.- Returns:
- the price/discount/tax row model comparator.
-
-