OrderItemRepositoryReaderInterface

Extends

Interface OrderItemRepositoryReaderInterface

category

System

package

Order

subpackage

Interfaces

Methods

Returns an stored order item by the given order item ID.

getItemById(\IdType $orderItemId) : \StoredOrderItemInterface

Arguments

$orderItemId

\IdType

ID of order item.

Response

\StoredOrderItemInterface

Fetched order item.

Returns a collection of stored order items by the given order ID.

getItemsByOrderId(\IdType $orderId) : \StoredOrderItemCollection

Arguments

$orderId

\IdType

ID of the order.

Response

\StoredOrderItemCollection

Fetched order item collection.