Interface ProductAttributeServiceInterface
| category |
System |
|---|---|
| package |
ProductModule |
| subpackage |
Interfaces |
addAttribute(\IdType $productId, \ProductAttributeInterface $attribute) : integer
integerId of inserted product attribute.
getAttributeById(\IdType $productAttributeId) : \StoredProductAttributeInterface
getAttributesByProductId(\IdType $productId) : \StoredProductAttributeCollection
\StoredProductAttributeCollectionCollection with all attributes that belongs to the product.
removeAttributeById(\IdType $productAttributeId) : \ProductAttributeServiceInterface|$this
removeAttributesByProductId(\IdType $productId) : \ProductAttributeServiceInterface|$this
updateAttribute(\StoredProductAttributeInterface $attribute) : $this|\ProductAttributeServiceInterface