OrderItemPropertyRepositoryReaderInterface
in
Interface OrderItemPropertyRepositoryReaderInterface
Tags
Table of Contents
- getPropertiesByOrderItemId() : StoredOrderItemAttributeCollection
- Returns a collection of order item properties by the given order item ID.
- getPropertyById() : StoredOrderItemProperty
- Returns an order item property by the given ID.
Methods
getPropertiesByOrderItemId()
Returns a collection of order item properties by the given order item ID.
public
getPropertiesByOrderItemId(IdType $orderItemId) : StoredOrderItemAttributeCollection
Parameters
- $orderItemId : IdType
-
ID of the order item.
Return values
StoredOrderItemAttributeCollection —Fetched order item attribute collection.
getPropertyById()
Returns an order item property by the given ID.
public
getPropertyById(IdType $orderItemPropertyId) : StoredOrderItemProperty
Parameters
- $orderItemPropertyId : IdType
-
ID of order item property.
Return values
StoredOrderItemProperty —Fetched order item property.