OrderTotalRepositoryReaderInterface

Extends

Interface OrderTotalRepositoryReaderInterface

category

System

package

Order

subpackage

Interfaces

Methods

Returns an StoredOrderTotal object by the given ID.

getTotalById(\IdType $orderTotalId) : \StoredOrderTotal

Arguments

$orderTotalId

\IdType

ID of order total item.

Response

\StoredOrderTotal

Fetched order total.

Returns a StoredOrderTotalCollection of StoredOrderTotal objects by the given order ID.

getTotalsByOrderId(\IdType $orderOrderId) : \StoredOrderTotalCollection
Throws
\UnexpectedValueException

If record does not exist.

Arguments

$orderOrderId

\IdType

ID of order item.

Response

\StoredOrderTotalCollection

Fetched order total collection.