OrderTotalRepositoryDeleterInterface
in
Interface OrderTotalRepositoryDeleterInterface
Tags
Table of Contents
- deleteTotalById() : OrderTotalRepositoryDeleterInterface
- Removes an order total item by the given order total ID.
- deleteTotalsByOrderId() : OrderTotalRepositoryDeleterInterface
- Removes all order totals which are associated with the given order ID.
Methods
deleteTotalById()
Removes an order total item by the given order total ID.
public
deleteTotalById(IdType $orderTotalId) : OrderTotalRepositoryDeleterInterface
Parameters
- $orderTotalId : IdType
-
Order total ID.
Return values
OrderTotalRepositoryDeleterInterface —Same instance for method chaining.
deleteTotalsByOrderId()
Removes all order totals which are associated with the given order ID.
public
deleteTotalsByOrderId(IdType $orderId) : OrderTotalRepositoryDeleterInterface
Parameters
- $orderId : IdType
-
Order ID.
Return values
OrderTotalRepositoryDeleterInterface —Same instance for method chaining.