Interface GiftcardsPagerView

    • Method Detail

      • showGiftcards

        void showGiftcards​(java.util.List<Giftcard> giftcards,
                           java.util.Date responseDate)
        This notifies the view to show the list of Giftcard
        Parameters:
        giftcards - list of Giftcard
        responseDate - date the response is received
      • showErrorDialog

        void showErrorDialog​(java.lang.String error)
        This notifies the view to show the dialog with error message
        Parameters:
        error - error message
      • showReloadSuccessResponse

        void showReloadSuccessResponse​(GiftcardReload response)
        This notifies the view to show a message informing the user that reloading a gift card was successful.
        Parameters:
        response - response in GiftcardReload format
      • showLinkSuccessMessage

        void showLinkSuccessMessage()
        This notifies the view to show a message informing the user that adding a gift card to the member's account was successful.
      • showPurchaseSuccessResponse

        void showPurchaseSuccessResponse​(PurchaseResponse response)
        This notifies the view to show a message informing the user that purchasing a digital gift card was successful.
        Parameters:
        response - in PurchaseResponse format
      • refreshDataAndUi

        void refreshDataAndUi()
        Gets new data from the server and refreshes the layout