Class OrderReadService
| category |
System |
|---|---|
| package |
Order |
__construct(\OrderRepositoryInterface $orderRepository, \OrderItemRepositoryInterface $orderItemRepository, \OrderListGeneratorInterface $orderListGenerator)
\OrderRepositoryInterface
\OrderItemRepositoryInterface
\OrderListGeneratorInterface
filterOrderList(array $filterParameters, \IntType $startIndex = null, \IntType $maxCount = null, \StringType $orderBy = null) : \OrderListItemCollection
Provide the filtering values in the conditions array in order to fetch a filtered result set.
arrayContains an array of the GET parameters to be used for filtering the order records.
\OrderListItemCollection
filterOrderListCount(array $filterParameters) : integer
| throws |
|---|
array
integer
getOrderById(\IdType $orderId) : \OrderInterface
getOrderItemById(\IdType $orderItemId) : \StoredOrderItemInterface
Returns a stored order item, depending on the provided order item ID.
\StoredOrderItemInterface
getOrderList(\IntType $startIndex = null, \IntType $maxCount = null, \StringType $orderBy = null) : \OrderListItemCollection
Returns an OrderListItemCollection depending on the provided arguments.
\OrderListItemCollection
getOrderListByCustomerId(\IdType $customerId, \IntType $startIndex = null, \IntType $maxCount = null, \StringType $orderBy = null) : \OrderListItemCollection
Returns an OrderListItemCollection depending on the provided customer ID.
\OrderListItemCollection
getOrderListByKeyword(\StringType $keyword, \IntType $startIndex = null, \IntType $maxCount = null, \StringType $orderBy = null) : \OrderListItemCollection
getOrderListByOrderStatusId(\IntType $orderStatusId, \IntType $startIndex = null, \IntType $maxCount = null, \StringType $orderBy = null) : \OrderListItemCollection
Returns an OrderListItemCollection depending on the provided order status ID.
\OrderListItemCollection
orderItemRepository : \OrderItemRepositoryInterface