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 Summary
Modifier and TypeMethodDescriptionapplyStrategy(List<OfferGroupData> offerGroups) Applies the sorting strategy for OfferGroups based on OfferSort enum
-
Method Details
-
applyStrategy
Applies the sorting strategy for OfferGroups based on OfferSort enum- Parameters:
offerGroups- the offer groups- Returns:
- sorted list of Offer Groups
-