phpDocumentor

ProductAttributeService implements ProductAttributeServiceInterface

Class ProductAttributeService

Tags
category

System

subpackage

Interfaces

Interfaces, Classes and Traits

ProductAttributeServiceInterface
Interface ProductAttributeServiceInterface

Table of Contents

$productAttributeRepo  : ProductAttributeRepositoryInterface
__construct()  : mixed
Initialize the product attribute service.
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()  : ProductAttributeService|$this
Removes a product attribute entity by the given product attribute id.
removeAttributesByProductId()  : ProductAttributeService|$this
Removes product attributes by the given product id.
updateAttribute()  : $this|ProductAttributeService
Updates the passed product attribute entity.

Properties

Methods

Search results