Interface ProductAttributeRepositoryInterface
| category |
System |
|---|---|
| package |
ProductModule |
| subpackage |
Interface |
addToProduct(\IdType $productId, \ProductAttributeInterface $productAttribute) : integer
integerId of added product attribute entity.
deleteAttributeById(\IdType $productAttributeId) : \ProductAttributeRepositoryInterface|$this
\ProductAttributeRepositoryInterface|$thisSame instance for chained method calls.
deleteAttributesByProductId(\IdType $productId) : \ProductAttributeRepositoryInterface|$this
\ProductAttributeRepositoryInterface|$thisSame instance for chained method calls.
getAttributeById(\IdType $productAttributeId) : \StoredProductAttributeInterface
getAttributesByProductId(\IdType $productId) : \StoredProductAttributeCollection
\StoredProductAttributeCollectionCollection with all attributes that belongs to the product.
store(\StoredProductAttributeInterface $productAttribute) : \ProductAttributeRepositoryInterface|$this
\ProductAttributeRepositoryInterface|$thisSame instance for chained method calls.