phpDocumentor

ProductAttributeServiceInterface

Interface ProductAttributeServiceInterface

Tags
category

System

subpackage

Interfaces

Table of Contents

addAttribute()  : int
Adds an product attribute to a product by the given id.
getAttributeById()  : StoredProductAttributeInterface
Returns a stored product attribute entity by the given product attribute id.
getAttributesByProductId()  : StoredProductAttributeCollection
Returns a collection with all attribute entities that belongs to a product entity by the given product id.
removeAttributeById()  : ProductAttributeServiceInterface|$this
Removes a product attribute entity by the given product attribute id.
removeAttributesByProductId()  : ProductAttributeServiceInterface|$this
Removes product attributes by the given product id.
updateAttribute()  : $this|ProductAttributeServiceInterface
Updates the passed product attribute entity.

Methods

Search results