Interface ReceiptsView

    • Method Detail

      • showReceipts

        void showReceipts​(java.util.List<Receipt> receipts,
                          int totalEntries)
        This notifies the view when the call to the Receipt API is successful
        Parameters:
        receipts - list of receipt objects
        totalEntries - total number of entries regardless of pagination
      • updateReceipts

        void updateReceipts​(java.util.List<Receipt> receipts,
                            int totalEntries)
        This notifies the view when the call to the Receipt API is successful but compared to the showReceipts(List, int) this contains receipts for a certain page
        Parameters:
        receipts - list of receipts
        totalEntries - total entries regardless of pagination