ProductAttributeObjectService

Implements \ProductAttributeObjectServiceInterface

Class ProductAttributeObjectService

category

System

package

ProductModule

subpackage

Interfaces

Methods

Initialize the product attribute object service.

__construct(\ProductAttributeFactoryInterface $productAttributeFactory) 

Arguments

$productAttributeFactory

\ProductAttributeFactoryInterface

Creates a new instance of a product attribute object.

createProductAttributeObject(\IdType $optionId, \IdType $valueId) : \ProductAttributeInterface

Arguments

$optionId

\IdType

Option id of product attribute.

$valueId

\IdType

Value id of product attribute.

Response

\ProductAttributeInterface

New instance of product attribute.

Properties

productAttributeFactory

productAttributeFactory : \ProductAttributeFactoryInterface