Interface OffersListView

    • Method Detail

      • showOffersList

        void showOffersList​(java.util.List<Offer> offers,
                            int totalEntries)
        Notifies the view to show the Offer list. This also means that the GET offers API was successful
        Parameters:
        offers - the list of Offer
        totalEntries - the total number of offers
      • appendOffersList

        void appendOffersList​(java.util.List<Offer> offers,
                              int totalEntries)
        Notifies the view to append the existing Offer list. This also means that the GET offers API with pagination was successful
        Parameters:
        offers - the list of Offer
        totalEntries - total number of offers
      • showErrorDialog

        void showErrorDialog​(java.lang.String error)
        Callback when clipping an offer failed
        Parameters:
        error - error message
      • showOfferCategoryFilter

        void showOfferCategoryFilter​(java.util.List<OfferCategory> offerCategories)
        Notifies the view to initialize the OfferCategory filter. This also means that the GET offer categories API was successful
        Parameters:
        offerCategories - list of OfferCategory