Interface OrderFacade

All Known Subinterfaces:
B2BOrderFacade
All Known Implementing Classes:
DefaultB2BOrderFacade, DefaultB2BQuoteFacade, DefaultOrderFacade

public interface OrderFacade
Order facade interface. An Order Facade should provide access to a user's order history and full details of an order.
  • Method Details

    • getOrderDetailsForCode

      OrderData getOrderDetailsForCode(String code)
      Returns the detail of an Order.
      Parameters:
      code - The code of the Order for which to retrieve the detail.
      Returns:
      The detail of the order with matching code
    • getOrderDetailsForGUID

      OrderData getOrderDetailsForGUID(String guid)
      Gets the order details for GUID.
      Parameters:
      guid - The guid of the Order for which to retrieve the detail.
      Returns:
      the order details for GUID
    • getOrderHistoryForStatuses

      List<OrderHistoryData> getOrderHistoryForStatuses(OrderStatus... statuses)
      Returns the order history of the current user for given statuses.
      Parameters:
      statuses - array of order statuses to filter the results
      Returns:
      The order history of the current user.
    • getPagedOrderHistoryForStatuses

      SearchPageData<OrderHistoryData> getPagedOrderHistoryForStatuses(PageableData pageableData, OrderStatus... statuses)
      Returns the order history of the current user for given statuses.
      Parameters:
      pageableData - paging information
      statuses - array of order statuses to filter the results
      Returns:
      The order history of the current user.
    • getOrderDetailsForCodeWithoutUser

      OrderData getOrderDetailsForCodeWithoutUser(String code)
      Returns the order details for order code.
      Parameters:
      code - order code
      Returns:
      the order details for code without user