ProductAttributeFactoryInterface

Extends

Interface ProductAttributeFactoryInterface

category

System

package

ProductModule

subpackage

Interfaces

Methods

Creates a new product attribute instance.

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

Arguments

$optionId

\IdType

Option id of the created product attribute instance.

$valueId

\IdType

Value id of the created product attribute instance.

Response

\ProductAttributeInterface

A new product attribute instance.

Creates a new stored product attribute instance.

createStoredProductAttribute(\IdType $productAttributeId) : \StoredProductAttributeInterface

Arguments

$productAttributeId

\IdType

Id of the created stored product attribute instance.

Response

\StoredProductAttributeInterface

A new stored product attribute instance.