OrderTotalRepositoryReaderInterface
in
Interface OrderTotalRepositoryReaderInterface
Tags
Table of Contents
- getTotalById() : StoredOrderTotal
- Returns an StoredOrderTotal object by the given ID.
- getTotalsByOrderId() : StoredOrderTotalCollection
- Returns a StoredOrderTotalCollection of StoredOrderTotal objects by the given order ID.
Methods
getTotalById()
Returns an StoredOrderTotal object by the given ID.
public
getTotalById(IdType $orderTotalId) : StoredOrderTotal
Parameters
- $orderTotalId : IdType
-
ID of order total item.
Return values
StoredOrderTotal —Fetched order total.
getTotalsByOrderId()
Returns a StoredOrderTotalCollection of StoredOrderTotal objects by the given order ID.
public
getTotalsByOrderId(IdType $orderOrderId) : StoredOrderTotalCollection
Parameters
- $orderOrderId : IdType
-
ID of order item.
Tags
Return values
StoredOrderTotalCollection —Fetched order total collection.