OrderItemPropertyRepositoryDeleter

Implements \OrderItemPropertyRepositoryDeleterInterface

Class OrderItemPropertyRepositoryDeleter

category

System

package

Order

subpackage

Repositories

Methods

OrderItemPropertyRepositoryDeleter constructor.

__construct(\CI_DB_query_builder $dbQueryBuilder) 

Arguments

$dbQueryBuilder

\CI_DB_query_builder

Query builder.

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

deletePropertiesByOrderItemId(\IdType $orderItemId) : \OrderItemPropertyRepositoryDeleter

Arguments

$orderItemId

\IdType

ID of the order item.

Response

\OrderItemPropertyRepositoryDeleter

Same instance for method chaining.

Removes a property by the given order item property ID.

deletePropertyById(\IdType $orderItemPropertyId) : \OrderItemPropertyRepositoryDeleter

Arguments

$orderItemPropertyId

\IdType

ID of the order item property.

Response

\OrderItemPropertyRepositoryDeleter

Same instance for method chaining.

Properties

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder