Class OrderObjectService
category |
System |
---|---|
package |
Order |
__construct(\OrderItemFactoryInterface $orderItemFactory, \OrderItemAttributeFactoryInterface $orderItemAttributeFactory, \OrderItemAttributeFactoryInterface $orderItemPropertyFactory, \OrderTotalFactoryInterface $orderTotalFactory)
\OrderItemFactoryInterface
\OrderItemAttributeFactoryInterface
\OrderItemAttributeFactoryInterface
\OrderTotalFactoryInterface
createOrderItemAttributeObject(\StringType $name, \StringType $value) : \OrderItemAttribute
createOrderItemObject(\StringType $name) : \OrderItemInterface
createOrderItemPropertyObject(\StringType $name, \StringType $value) : \OrderItemPropertyInterface
Creates and returns an order item property object.
\StringType
Value of the orreturn $this->orderItemAttributeFactory->createOrderItemAttribute($name, $value);der item object property to be created.
\OrderItemPropertyInterface
createOrderTotalObject(\StringType $title, \DecimalType $value, \StringType $valueText = null, \StringType $class = null, \IntType $sortOrder = null) : \OrderTotalInterface
createStoredOrderItemAttributeObject(\IdType $orderItemAttributeId) : \StoredOrderItemAttributeInterface
Creates and returns a stored order item attribute object.
\StoredOrderItemAttributeInterface
createStoredOrderItemObject(\IdType $orderItemId) : \StoredOrderItemInterface
createStoredOrderItemPropertyObject(\IdType $orderItemPropertyId) : \StoredOrderItemPropertyInterface
Creates and returns a stored order item property object.
\StoredOrderItemPropertyInterface
createStoredOrderTotalObject(\IdType $orderTotalId) : \StoredOrderTotalInterface
orderItemFactory : \OrderItemFactoryInterface
orderItemAttributeFactory : \OrderItemAttributeFactoryInterface
orderItemPropertyFactory : \OrderItemPropertyFactoryInterface
orderTotalFactory : \OrderTotalFactoryInterface