Class ProductAttributeService
Class ProductAttributeService
- ProductAttributeService implements ProductAttributeServiceInterface
Package: ProductModule\Interfaces
Category: System
Located at Services/Core/ProductModule/ProductAttributeService.inc.php
Category: System
Located at Services/Core/ProductModule/ProductAttributeService.inc.php
Methods summary
public
|
#
__construct(
Initialize the product attribute service. |
public
integer
|
#
addAttribute(
Adds an product attribute to a product by the given id. |
public
|
#
updateAttribute(
Updates the passed product attribute entity. |
public
|
#
getAttributeById(
Returns a stored product attribute entity by the given product attribute id. |
public
|
#
getAttributesByProductId(
Returns a collection with all attribute entities that belongs to a product entity by the given product id. |
public
|
#
removeAttributeById(
Removes a product attribute entity by the given product attribute id. |
public
|
#
removeAttributesByProductId(
Removes product attributes by the given product id. |
Properties summary
protected
|
$productAttributeRepo
|