Interface OrderItemRepositoryInterface
Interface OrderItemRepositoryInterface
Direct known implementers
Package: Order\Interfaces
Category: System
Located at Services/Core/Order/Repositories/Interface/OrderItemRepositoryInterface.inc.php
Category: System
Located at Services/Core/Order/Repositories/Interface/OrderItemRepositoryInterface.inc.php
Methods summary
public
addToOrder( IdType $orderId, OrderItemInterface $orderItem )
: integer
Adds an order item to the order item repository.
public
store( StoredOrderItemInterface $storedOrderItem )
: OrderItemRepositoryInterface
Saves the order item in the repository.
public
getItemById( IdType $orderItemId )
: StoredOrderItemInterface
Returns a stored order ID by the given order item ID.
public
getItemsByOrderId( IdType $orderId )
: StoredOrderItemCollection
Returns a stored order item collection by the given order ID.
public
deleteItemById( IdType $orderItemId )
: OrderItemRepositoryInterface
Deletes an order item from the repository by the given order item ID.
public
deleteItemsByOrderId( IdType $orderId )
: OrderItemRepositoryInterface
Deletes order items from the repository by the given order ID.