Class OrderItemRepository
category |
System |
---|---|
package |
Order |
subpackage |
Repositories |
__construct(\OrderItemAttributeRepositoryFactoryInterface $orderItemAttributeRepositoryFactory, \OrderItemRepositoryReaderInterface $orderItemRepositoryReader, \OrderItemRepositoryWriterInterface $orderItemRepositoryWriter, \OrderItemRepositoryDeleterInterface $orderItemRepositoryDeleter, \AddonValueServiceInterface $addonValueService)
\OrderItemAttributeRepositoryFactoryInterface
Factory to create order item attribute repositories.
\OrderItemRepositoryDeleterInterface
Db deleter for order item repository.
addToOrder(\IdType $orderId, \OrderItemInterface $orderItem) : integer
integer
ID of the StoredOrderItem
deleteItemById(\IdType $orderItemId) : \OrderItemRepository
deleteItemsByOrderId(\IdType $orderId) : \OrderItemRepository
getItemById(\IdType $orderItemId) : \StoredOrderItemInterface
getItemsByOrderId(\IdType $orderId) : \StoredOrderItemCollection
store(\StoredOrderItemInterface $storedOrderItem) : \OrderItemRepository