Class OrderTotalRepository
category |
System |
---|---|
package |
Order |
subpackage |
Repositories |
__construct(\OrderTotalRepositoryReader $orderTotalRepositoryReader, \OrderTotalRepositoryWriter $orderTotalRepositoryWriter, \OrderTotalRepositoryDeleter $orderTotalRepositoryDeleter)
addToOrder(\IdType $orderId, \OrderTotalInterface $orderTotal) : integer
integer
ID of stored order total.
deleteTotalById(\IdType $orderTotalId) : \OrderTotalRepository
deleteTotalsByOrderId(\IdType $orderId) : \OrderTotalRepository
getTotalById(\IdType $orderTotalId) : \StoredOrderTotal
getTotalsByOrderId(\IdType $orderId) : \StoredOrderTotalCollection
store(\StoredOrderTotalInterface $orderTotal) : \OrderTotalRepository
orderTotalRepositoryReader : \OrderTotalRepositoryReaderInterface
orderTotalRepositoryWriter : \OrderTotalRepositoryWriterInterface
orderTotalRepositoryDeleter : \OrderTotalRepositoryDeleterInterface