Class ReceiptDetailsPresenter<T extends ReceiptDetailsView>

  • All Implemented Interfaces:
    com.cheetahdigital.uikit.architecture.mvp.MvpPresenter<T>

    public class ReceiptDetailsPresenter<T extends ReceiptDetailsView>
    extends com.cheetahdigital.uikit.architecture.lce.LcePresenter<T>
    Extends LcePresenter with ReceiptDetailsView as its View

    This presenter calls the API

    • Constructor Detail

      • ReceiptDetailsPresenter

        public ReceiptDetailsPresenter​(java.lang.String receiptId)
        Default constructor that accepts ReceiptParams needed for ReceiptAPI
        Parameters:
        receiptId - id of the receipt details
    • Method Detail

      • getReceiptDetailReceivedListener

        protected com.cheetahdigital.corekit.models.module.ListenerModel<com.cheetahdigital.corekit.models.BaseModel<Receipt>,​Receipt> getReceiptDetailReceivedListener()
        Create a listener for ReceiptAPI
        Returns:
        listener to handle ReceiptAPI requests
      • loadData

        public void loadData()
        Description copied from class: com.cheetahdigital.uikit.architecture.lce.LcePresenter
        Load initial view data.
        Specified by:
        loadData in class com.cheetahdigital.uikit.architecture.lce.LcePresenter<T extends ReceiptDetailsView>