ProductAttributeRepositoryDeleterInterface

Extends

Interface ProductAttributeRepositoryDeleterInterface

category

System

package

ProductModule

subpackage

Interface

Methods

Removes a product attribute entity by the given product attribute id.

deleteAttributeById(\IdType $productAttributeId) : \ProductAttributeRepositoryDeleterInterface|$this

Arguments

$productAttributeId

\IdType

Id of attribute entity to delete.

Response

\ProductAttributeRepositoryDeleterInterface|$this

Same instance for chained method calls.

Removes all product attributes entities that belongs to the given product entity id.

deleteAttributesByProductId(\IdType $productId) : \ProductAttributeRepositoryDeleterInterface|$this

Arguments

$productId

\IdType

Id of product entity which belongs to the product attribute entities to delete.

Response

\ProductAttributeRepositoryDeleterInterface|$this

Same instance for chained method calls.