Class OrderTotalRepositoryDeleter

Class OrderTotalRepositoryDeleter

OrderTotalRepositoryDeleter implements OrderTotalRepositoryDeleterInterface

Methods summary

public __construct( CI_DB_query_builder $dbQueryBuilder )

OrderTotalRepositoryDeleter constructor.

public deleteTotalById( IdType $orderTotalId ) : OrderTotalRepositoryDeleter

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

public deleteTotalsByOrderId( IdType $orderId ) : OrderTotalRepositoryDeleter

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

Properties summary

protected $db : CI_DB_query_builder

Query builder.