OrderItemAttributeRepositoryDeleter

Implements \OrderItemAttributeRepositoryDeleterInterface

Class OrderItemAttributeRepositoryDeleter

category

System

package

Order

subpackage

Repositories

Methods

OrderItemAttributeRepositoryDeleter constructor.

__construct(\CI_DB_query_builder $dbQueryBuilder) 

Arguments

$dbQueryBuilder

\CI_DB_query_builder

Query builder.

Removes an attribute by the given order item attribute ID.

deleteAttributeById(\IdType $orderItemAttributeId) : \OrderItemAttributeRepositoryDeleter

Arguments

$orderItemAttributeId

\IdType

ID of the order item attribute.

Response

\OrderItemAttributeRepositoryDeleter

Same instance for method chaining.

Removes all attributes from the order item by the given order item ID.

deleteAttributesByOrderItemId(\IdType $orderItemId) : \OrderItemAttributeRepositoryDeleter

Arguments

$orderItemId

\IdType

ID of the order item.

Response

\OrderItemAttributeRepositoryDeleter

Same instance for method chaining.

Properties

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder