Interface OrdersListView

    • Method Detail

      • showOrdersList

        void showOrdersList​(java.util.List<Order> orders,
                            int totalEntries)
        Notifies the view to show the list of Order. This also means that the GET orders API was successful.
        Parameters:
        orders - the list of Order
        totalEntries - the total number of orders
      • appendOrdersList

        void appendOrdersList​(java.util.List<Order> orders,
                              int totalEntries)
        Notifies the view to append the list of Order to the existing list. This also means that the GET orders API with pagination was successful.
        Parameters:
        orders - the list of Order
        totalEntries - the total number of orders