Interface CheckOutView
-
- All Superinterfaces:
LceView,MvpLceView,MvpView
- All Known Implementing Classes:
CheckOutActivity
public interface CheckOutView extends LceView
LceViewclass ofCheckOutPresenter
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voiddisplayRewards(java.util.List<TransactionCoupon> coupons)Displays the list ofTransactionCouponvoiddisplayTransaction(TransactionResult result)Displays the transaction detailsvoidenableButtonPayment(boolean state)Enable/Disables the payment buttonvoidshowTransactionFailedDialog(java.lang.String error)Shows the dialog for a failed transactionvoidshowTransactionSuccessDialog(TransactionResult result)Shows the dialog for a successful transaction-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.LceView
onLoadFailed, onLoadSuccess, setErrorViewClickListener
-
Methods inherited from interface com.cheetahdigital.uikit.architecture.lce.MvpLceView
showContent, showError, showLoading
-
-
-
-
Method Detail
-
showTransactionSuccessDialog
void showTransactionSuccessDialog(TransactionResult result)
Shows the dialog for a successful transaction- Parameters:
result- instance ofTransactionResultthat contains content of the message
-
showTransactionFailedDialog
void showTransactionFailedDialog(java.lang.String error)
Shows the dialog for a failed transaction- Parameters:
error- content of the error message
-
displayTransaction
void displayTransaction(TransactionResult result)
Displays the transaction details- Parameters:
result- instance ofTransactionResultused to populate the views
-
displayRewards
void displayRewards(java.util.List<TransactionCoupon> coupons)
Displays the list ofTransactionCoupon- Parameters:
coupons- list ofTransactionCouponto display
-
enableButtonPayment
void enableButtonPayment(boolean state)
Enable/Disables the payment button- Parameters:
state- true to enable the button, else false
-
-