Interface PDTRowMatchComparatorProvider<CRITERIA extends PDTCriteria,MODEL extends PDTRowModel>

Type Parameters:
CRITERIA - the generic type for price/discount/tax criteria.
MODEL - the generic type for price/discount/tax row models.
All Known Implementing Classes:
DefaultDiscountRowMatchComparatorProvider, DefaultPriceRowInfoMatchComparatorProvider, DefaultPriceRowValueMatchComparatorProvider, DefaultTaxRowMatchComparatorProvider

public interface PDTRowMatchComparatorProvider<CRITERIA extends PDTCriteria,MODEL extends PDTRowModel>
The Interface for provide price/discount/tax comparator for GenericPDTModelMatcher.
  • Method Summary

    Modifier and Type
    Method
    Description
    comparator(CRITERIA criteria)
    Compares price/discount/tax row models for given criteria.
  • Method Details

    • comparator

      Comparator<MODEL> comparator(CRITERIA criteria)
      Compares price/discount/tax row models for given criteria.
      Parameters:
      criteria - the price/discount/tax criteria.
      Returns:
      the price/discount/tax row model comparator.