OrderItemAttributeFactory

Implements \OrderItemAttributeFactoryInterface

Class OrderItemAttributeFactory

category

System

package

Order

subpackage

Factories

Methods

Creates an order item attribute instance.

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

Arguments

$name

\StringType

Name of the attribute.

$value

\StringType

Value of the attribute.

Response

\OrderItemAttribute

New order item attribute instance..

Creates a stored order item attribute instance.

createStoredOrderItemAttribute(\IdType $orderItemAttributeId) : \StoredOrderItemAttribute

Arguments

$orderItemAttributeId

\IdType

Database ID of the stored attribute instance.

Response

\StoredOrderItemAttribute

New stored order item attribute instance.