OrderItemPropertyFactory

Implements \OrderItemAttributeFactoryInterface

Class OrderItemPropertyFactory

category

System

package

Order

subpackage

Factories

Methods

Creates an order item attribute instance.

createOrderItemAttribute(\StringType $name, \StringType $value) : \OrderItemProperty

Arguments

$name

\StringType

Name of the property.

$value

\StringType

Value of the property.

Response

\OrderItemProperty

New order item attribute instance.

Creates a stored order item property instance.

createStoredOrderItemAttribute(\IdType $orderItemAttributeId) : \StoredOrderItemProperty

Arguments

$orderItemAttributeId

\IdType

Database ID of the stored property instance.

Response

\StoredOrderItemProperty

New order item attribute instance.