Interface RetroclaimView
-
- All Superinterfaces:
LceView
,MvpLceView
,MvpView
- All Known Implementing Classes:
RetroclaimFragment
public interface RetroclaimView extends LceView
MvpView
class ofRetroclaimFragment
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
showChargedAmountValidationError(java.lang.Integer error)
Handler for validation of charge amount fieldvoid
showClaimError(int errorCode, java.lang.String errorMessage)
Handler for failed retroclaimvoid
showClaimStub(Retroclaim claimStub)
Handler for successful Retroclaim requestvoid
showDateValidationError(java.lang.Integer error)
Handler for validation of the business date fieldvoid
showIdValidationError(java.lang.Integer error)
Handler for validation of transaction idvoid
showLastDigitValidateError(java.lang.Integer error)
Handler for validation of cc last digit fieldvoid
showLoading(boolean show)
UI handler for showing the progress / loading dialogvoid
showPlaceValidationError(java.lang.Integer error)
Handler for validation of place / store fieldvoid
showRegisterValidationError(java.lang.Integer error)
Handler for validation of register fieldvoid
showSubtotalValidationError(java.lang.Integer error)
Handler for validation of the subtotal fieldvoid
showTotalValidationError(java.lang.Integer error)
Handler for validation of total amount field-
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
-
showIdValidationError
void showIdValidationError(java.lang.Integer error)
Handler for validation of transaction id- Parameters:
error
- resource id for the error string
-
showPlaceValidationError
void showPlaceValidationError(java.lang.Integer error)
Handler for validation of place / store field- Parameters:
error
- resource id for the error string
-
showDateValidationError
void showDateValidationError(java.lang.Integer error)
Handler for validation of the business date field- Parameters:
error
- resource id for the error string
-
showSubtotalValidationError
void showSubtotalValidationError(java.lang.Integer error)
Handler for validation of the subtotal field- Parameters:
error
- resource id for the error string
-
showRegisterValidationError
void showRegisterValidationError(java.lang.Integer error)
Handler for validation of register field- Parameters:
error
- resource id for the error string
-
showLastDigitValidateError
void showLastDigitValidateError(java.lang.Integer error)
Handler for validation of cc last digit field- Parameters:
error
- resource id for the error string
-
showTotalValidationError
void showTotalValidationError(java.lang.Integer error)
Handler for validation of total amount field- Parameters:
error
- resource id for the error string
-
showChargedAmountValidationError
void showChargedAmountValidationError(java.lang.Integer error)
Handler for validation of charge amount field- Parameters:
error
- resource id for the error string
-
showClaimStub
void showClaimStub(Retroclaim claimStub)
Handler for successful Retroclaim request- Parameters:
claimStub
- theRetroclaim
object response
-
showClaimError
void showClaimError(int errorCode, java.lang.String errorMessage)
Handler for failed retroclaim- Parameters:
errorCode
- error codeerrorMessage
- error message
-
showLoading
void showLoading(boolean show)
UI handler for showing the progress / loading dialog- Parameters:
show
- true to show the dialog, otherwise false
-
-