Interface GiftcardsPagerView
-
- All Superinterfaces:
com.cheetahdigital.uikit.architecture.lce.LceView
,com.cheetahdigital.uikit.architecture.lce.MvpLceView
,com.cheetahdigital.uikit.architecture.mvp.MvpView
,com.cheetahdigital.uikit.architecture.refreshable.RefreshableView
- All Known Implementing Classes:
GiftcardsPagerFragment
public interface GiftcardsPagerView extends com.cheetahdigital.uikit.architecture.refreshable.RefreshableView
View to be implemented forGiftcardsPagerFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
dismissAddGiftcardDialog()
This notifies the view to dismiss theAddGiftcardDialogFragment
void
refreshDataAndUi()
Gets new data from the server and refreshes the layoutvoid
showAddGiftcardDialog()
This notifies the view to showAddGiftcardDialogFragment
void
showErrorDialog(java.lang.String error)
This notifies the view to show the dialog with error messagevoid
showGiftcards(java.util.List<Giftcard> giftcards, java.util.Date responseDate)
This notifies the view to show the list ofGiftcard
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.void
showPurchaseSuccessResponse(PurchaseResponse response)
This notifies the view to show a message informing the user that purchasing a digital gift card was successful.void
showReloadSuccessResponse(GiftcardReload response)
This notifies the view to show a message informing the user that reloading a gift card was successful.-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.LceView
onLoadFailed, onLoadSuccess, setErrorViewClickListener
-
-
-
-
Method Detail
-
showGiftcards
void showGiftcards(java.util.List<Giftcard> giftcards, java.util.Date responseDate)
This notifies the view to show the list ofGiftcard
- Parameters:
giftcards
- list ofGiftcard
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 inGiftcardReload
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
- inPurchaseResponse
format
-
refreshDataAndUi
void refreshDataAndUi()
Gets new data from the server and refreshes the layout
-
dismissAddGiftcardDialog
void dismissAddGiftcardDialog()
This notifies the view to dismiss theAddGiftcardDialogFragment
-
showAddGiftcardDialog
void showAddGiftcardDialog()
This notifies the view to showAddGiftcardDialogFragment
-
-