OrderItemRepositoryDeleterInterface

Extends

Interface OrderItemRepositoryDeleterInterface

category

System

package

Order

subpackage

Interfaces

Methods

Removes an item from the order by the given order item ID.

deleteItemById(\IdType $orderItemId) : \OrderItemRepositoryDeleterInterface

Arguments

$orderItemId

\IdType

ID of the order item.

Response

\OrderItemRepositoryDeleterInterface

Same instance for method chaining.

Removes multiple order items by the given order ID.

deleteItemsByOrderId(\IdType $orderId) : \OrderItemRepositoryDeleterInterface

Arguments

$orderId

\IdType

ID of the order.

Response

\OrderItemRepositoryDeleterInterface

Same instance for method chaining.