OrderTotalRepositoryDeleter

Implements \OrderTotalRepositoryDeleterInterface

Class OrderTotalRepositoryDeleter

category

System

package

Order

subpackage

Repositories

Methods

OrderTotalRepositoryDeleter constructor.

__construct(\CI_DB_query_builder $dbQueryBuilder) 

Arguments

$dbQueryBuilder

\CI_DB_query_builder

Query builder.

Removes an order total item by the given order total ID.

deleteTotalById(\IdType $orderTotalId) : \OrderTotalRepositoryDeleter

Arguments

$orderTotalId

\IdType

Order total ID.

Response

\OrderTotalRepositoryDeleter

Same instance for method chaining.

Removes all order totals which are associated with the given order ID.

deleteTotalsByOrderId(\IdType $orderId) : \OrderTotalRepositoryDeleter

Arguments

$orderId

\IdType

Order ID.

Response

\OrderTotalRepositoryDeleter

Same instance for method chaining.

Properties

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder