OrderObjectServiceInterface

Extends

Interface OrderObjectServiceInterface

category

System

package

Order

subpackage

Interfaces

Methods

Creates and returns an order item attribute object.

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

Arguments

$name

\StringType

Name of the order item object attribute to be created.

$value

\StringType

Value of the order item object attribute to be created.

Response

\OrderItemAttribute

New order item attribute object.

Creates and returns an order item object.

createOrderItemObject(\StringType $name) : \OrderItem

Arguments

$name

\StringType

Name of the order item object to be created.

Response

\OrderItem

New order item object.

Creates and returns an order item property object.

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

Arguments

$name

\StringType

Name of the order item object property to be created.

$value

\StringType

Value of the order item object property to be created.

Response

\OrderItemProperty

New order item property object.

Creates and returns an order total object.

createOrderTotalObject(\StringType $title, \DecimalType $value, \StringType $valueText = null, \StringType $class = null, \IntType $sortOrder = null) : \OrderTotal

Arguments

$title

\StringType

Title of the order total to be created.

$value

\DecimalType

value of the order total to be created.

$valueText

\StringType

Value text of the order total to be created.

$class

\StringType

Class of the order total to be created.

$sortOrder

\IntType

Sort order of the order total to be created.

Response

\OrderTotal

New order total object.

Creates and returns a stored order item attribute object.

createStoredOrderItemAttributeObject(\IdType $orderItemAttributeId) : \StoredOrderItemAttribute

Arguments

$orderItemAttributeId

\IdType

Order item attribute ID of the order item attribute to be stored.

Response

\StoredOrderItemAttribute

New stored order item attribute object.

Creates and returns a stored order item object.

createStoredOrderItemObject(\IdType $orderItemId) : \StoredOrderItem

Arguments

$orderItemId

\IdType

Order item ID of the order item to be stored.

Response

\StoredOrderItem

New stored order item object.

Creates and returns a stored order item property object.

createStoredOrderItemPropertyObject(\IdType $orderItemPropertyId) : \StoredOrderItemProperty

Arguments

$orderItemPropertyId

\IdType

Order property ID of the order item property to be stored.

Response

\StoredOrderItemProperty

New stored order item property object.

Creates and returns a stored order total object.

createStoredOrderTotalObject(\IdType $orderTotalId) : \StoredOrderTotal

Arguments

$orderTotalId

\IdType

Order total ID of the order total to be stored.

Response

\StoredOrderTotal

New stored order total object