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.RefreshableViewView to be implemented forGiftcardsPagerFragment 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddismissAddGiftcardDialog()This notifies the view to dismiss theAddGiftcardDialogFragmentvoidrefreshDataAndUi()Gets new data from the server and refreshes the layoutvoidshowAddGiftcardDialog()This notifies the view to showAddGiftcardDialogFragmentvoidshowErrorDialog(java.lang.String error)This notifies the view to show the dialog with error messagevoidshowGiftcards(java.util.List<Giftcard> giftcards, java.util.Date responseDate)This notifies the view to show the list ofGiftcardvoidshowLinkSuccessMessage()This notifies the view to show a message informing the user that adding a gift card to the member's account was successful.voidshowPurchaseSuccessResponse(PurchaseResponse response)This notifies the view to show a message informing the user that purchasing a digital gift card was successful.voidshowReloadSuccessResponse(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 ofGiftcardresponseDate- 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 inGiftcardReloadformat
 
- 
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- inPurchaseResponseformat
 
- 
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 
 - 
 
 -