Interface B2BUnitOrderService

All Known Implementing Classes:
DefaultB2BUnitOrderService

public interface B2BUnitOrderService
A service for b2b unit-level orders.
Spring Bean ID:
B2BUnitOrderService
  • Method Details

    • getBranchOrderForCode

      OrderModel getBranchOrderForCode(String code, BaseStoreModel store)
      Gets the order based on it's AbstractOrderModel.CODE.
      Parameters:
      code - the code of the order
      store - the current base store
      Returns:
      the order
    • getBranchOrderList

      SearchPageData<OrderModel> getBranchOrderList(BaseStoreModel store, SolrSearchQueryData filters, OrderStatus[] status, PageableData pageableData)
      Retrieves all orders for the current user's organization branch
      Parameters:
      store - the current store
      filters - a filter terms limiting the result according to the given values
      status - one or more OrderStatuses to include in the result
      pageableData - pagination information
      Returns:
      the list of orders