ProductFactory

Implements \ProductFactoryInterface

Class ProductFactory

category

System

package

Product

subpackage

Factories

Methods

Creates a product.

createProduct() : \GXEngineProduct

Response

\GXEngineProduct

The created product.

Creates a product settings container.

createProductSettings() : \ProductSettings

Response

\ProductSettings

Creates a stored product.

createStoredProduct(\IdType $productId) : \StoredProduct

Arguments

$productId

\IdType

Product ID.

Response

\StoredProduct