Interface OfferSortStrategy

All Known Implementing Classes:
DefaultOfferSortStrategy

public interface OfferSortStrategy
Strategy responsible for sorting offer widgets on ancillary page so that they are in order specified by OfferSort enum
  • Method Details

    • applyStrategy

      List<OfferGroupData> applyStrategy(List<OfferGroupData> offerGroups)
      Applies the sorting strategy for OfferGroups based on OfferSort enum
      Parameters:
      offerGroups - the offer groups
      Returns:
      sorted list of Offer Groups