phpDocumentor

OrderTotalRepository
in package
implements OrderTotalRepositoryInterface

Class OrderTotalRepository

Tags
category

System

subpackage

Repositories

Interfaces, Classes and Traits

OrderTotalRepositoryInterface
Interface OrderTotalRepositoryInterface

Table of Contents

$orderTotalRepositoryDeleter  : OrderTotalRepositoryDeleterInterface
#Order total repository deleter.
$orderTotalRepositoryReader  : OrderTotalRepositoryReaderInterface
Order total repository reader.
$orderTotalRepositoryWriter  : OrderTotalRepositoryWriterInterface
Order total repository writer.
__construct()  : mixed
OrderTotalRepository constructor.
addToOrder()  : int
Adds an order total object to the order.
deleteTotalById()  : OrderTotalRepository
Removes an order total by the given order total ID.
deleteTotalsByOrderId()  : OrderTotalRepository
Removes multiple order totals by the given order ID.
getTotalById()  : StoredOrderTotal
Returns an order total object by the given ID.
getTotalsByOrderId()  : StoredOrderTotalCollection
Returns an collection of order total objects by the given order ID.
store()  : OrderTotalRepository
Updates a stored order total object.

Properties

Methods

__construct()

OrderTotalRepository constructor.

public __construct(OrderTotalRepositoryReader $orderTotalRepositoryReader, OrderTotalRepositoryWriter $orderTotalRepositoryWriter, OrderTotalRepositoryDeleter $orderTotalRepositoryDeleter) : mixed
Parameters
$orderTotalRepositoryReader : OrderTotalRepositoryReader

Order total repository reader.

$orderTotalRepositoryWriter : OrderTotalRepositoryWriter

Order total repository writer.

$orderTotalRepositoryDeleter : OrderTotalRepositoryDeleter

Order total repository deleter.

Return values
mixed

Search results