Interface OrderTotalRepositoryInterface
Interface OrderTotalRepositoryInterface
Direct known implementers
Package: Order\Interfaces
Category: System
Located at Services/Core/Order/Repositories/Interface/OrderTotalRepositoryInterface.inc.php
Category: System
Located at Services/Core/Order/Repositories/Interface/OrderTotalRepositoryInterface.inc.php
Methods summary
public
addToOrder( IdType $orderId, OrderTotalInterface $orderTotal )
: integer
Adds an order total object to the order.
public
store( StoredOrderTotalInterface $orderTotal )
: OrderTotalRepositoryInterface
Updates a stored order total object.
public
getTotalById( IdType $orderTotalId )
: StoredOrderTotalInterface
Returns an order total object by the given ID.
public
getTotalsByOrderId( IdType $orderId )
: StoredOrderTotalCollection
Returns an collection of order total objects by the given order ID.
public
deleteTotalById( IdType $orderTotalId )
: OrderTotalRepositoryInterface
Removes an order total by the given order total ID.
public
deleteTotalsByOrderId( IdType $orderId )
: OrderTotalRepositoryInterface
Removes multiple order totals by the given order ID.