OrderItemAttributeRepositoryReaderInterface

Extends

Interface OrderItemAttributeRepositoryReaderInterface

category

System

package

Order

subpackage

Interfaces

Methods

Returns an order item attribute by the given ID.

getAttributeById(\IdType $orderItemAttributeId) : \StoredOrderItemAttributeInterface
Throws
\UnexpectedValueException

If no order item attribute recors matches the provided $orderItemAttributeId

Arguments

$orderItemAttributeId

\IdType

ID of order item attribute.

Response

\StoredOrderItemAttributeInterface

Fetched order item attribute.

Returns a collection of order item attributes by the given order item ID.

getAttributesByOrderItemId(\IdType $orderItemId) : \StoredOrderItemAttributeCollection

Arguments

$orderItemId

\IdType

ID of the order item.

Response

\StoredOrderItemAttributeCollection

Fetched order item attribute collection.