Interface SubmitReceiptView

  • All Superinterfaces:
    com.cheetahdigital.uikit.architecture.mvp.MvpView
    All Known Implementing Classes:
    SubmitReceiptFragment

    public interface SubmitReceiptView
    extends com.cheetahdigital.uikit.architecture.mvp.MvpView
    Extends MvpView This interface notifies the activity of the results of the API once it (View) is called by the Presenter
    • Method Detail

      • showReceiptSuccessfulDialog

        void showReceiptSuccessfulDialog​(Receipt receipt)
        This notifies the view when the submission of the receipt to the API returns a successful response
        Parameters:
        receipt - Receipt object
      • showError

        void showError​(java.lang.String error)
        This notifies the view when the API call returns an error
        Parameters:
        error - String error message