Overview
  • Package
  • Class
  • Tree
  • Todo

Packages

  • AddonValue
    • Interfaces
  • ApiV2Controllers
  • Category
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • Customer
    • Address
    • Country
    • CountryZone
    • Interfaces
    • Validation
    • ValueObjects
  • Email
    • Collections
    • Entities
    • Exceptions
    • Interfaces
    • Repository
    • ValueObjects
  • Http
    • Collections
    • Exceptions
    • Factories
    • Interfaces
    • ValueObjects
  • Loaders
    • CrossCuttingLoader
    • GXCoreLoader
    • Interfaces
  • None
  • Order
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Repositories
    • Storages
    • ValueObjects
  • Product
    • Collections
    • Entities
    • Factories
    • Interfaces
    • Providers
    • Repositories
    • Storages
  • ProductModule
    • Collections
    • Deleter
    • Entities
    • Factories
    • Interface
    • Interfaces
    • Reader
    • Repositories
    • Writer
  • Shared
    • Exceptions
    • FileSystem
    • Interfaces
    • Storage
    • Types
  • Statistics
    • Interfaces
  • UserConfiguration
    • Interfaces
    • Repository

Classes

  • OrderListGenerator
  • OrderObjectService
  • OrderReadService
  • OrderWriteService

Interfaces

  • OrderItemAttributeFactoryInterface

Class OrderObjectService

Class OrderObjectService

OrderObjectService implements OrderObjectServiceInterface
Package: Order
Category: System
Located at CoreServices/Order/OrderObjectService.inc.php

Methods summary

public
# __construct( OrderItemFactoryInterface $orderItemFactory, OrderItemAttributeFactoryInterface $orderItemAttributeFactory, OrderItemAttributeFactoryInterface $orderItemPropertyFactory, OrderTotalFactoryInterface $orderTotalFactory )

OrderObjectService Constructor

OrderObjectService Constructor

Parameters

$orderItemFactory
$orderItemAttributeFactory
$orderItemPropertyFactory
$orderTotalFactory
public OrderItemInterface
# createOrderItemObject( StringType $name )

Create Order Item Object

Create Order Item Object

Creates and returns an order item object.

Parameters

$name
Name of the order item object to be created.

Returns

OrderItemInterface

Implementation of

OrderObjectServiceInterface::createOrderItemObject()
public OrderItemAttributeInterface
# createOrderItemAttributeObject( StringType $name, StringType $value )

Create Order Item Attribute Object

Create Order Item Attribute Object

Creates and returns an order item attribute object.

Parameters

$name
Name of the order item object attribute to be created.
$value
Value of the order item object attribute to be created.

Returns

OrderItemAttributeInterface

Implementation of

OrderObjectServiceInterface::createOrderItemAttributeObject()
public OrderItemPropertyInterface
# createOrderItemPropertyObject( StringType $name, StringType $value )

Create Order Item Property Object

Create Order Item Property Object

Creates and returns an order item property object.

Parameters

$name
Name of the order item object property to be created.
$value

Value of the orreturn $this->orderItemAttributeFactory->createOrderItemAttribute($name, $value);der item object property to be created.

Returns

OrderItemPropertyInterface

Implementation of

OrderObjectServiceInterface::createOrderItemPropertyObject()
public OrderTotalInterface
# createOrderTotalObject( StringType $title, DecimalType $value, StringType $valueText = null, StringType $class = null, IntType $sortOrder = null )

Create Order Total Object

Create Order Total Object

Creates and returns an order total object.

Parameters

$title
Title of the order total to be created.
$value
value of the order total to be created.
$valueText
Value text of the order total to be created.
$class
Class of the order total to be created.
$sortOrder
Sort order of the order total to be created.

Returns

OrderTotalInterface

Implementation of

OrderObjectServiceInterface::createOrderTotalObject()
public StoredOrderItemInterface
# createStoredOrderItemObject( IdType $orderItemId )

Create Stored Order Item Object

Create Stored Order Item Object

Creates and returns a stored order item object.

Parameters

$orderItemId
Order item id of the order item to be stored.

Returns

StoredOrderItemInterface

Implementation of

OrderObjectServiceInterface::createStoredOrderItemObject()
public StoredOrderItemAttributeInterface
# createStoredOrderItemAttributeObject( IdType $orderItemAttributeId )

Create Stored Order Item Attribute Object

Create Stored Order Item Attribute Object

Creates and returns a stored order item attribute object.

Parameters

$orderItemAttributeId
Order item attribute id of the order item attribute to be stored.

Returns

StoredOrderItemAttributeInterface

Implementation of

OrderObjectServiceInterface::createStoredOrderItemAttributeObject()
public StoredOrderItemPropertyInterface
# createStoredOrderItemPropertyObject( IdType $orderItemPropertyId )

Create Stored Order Item Property Object

Create Stored Order Item Property Object

Creates and returns a stored order item property object.

Parameters

$orderItemPropertyId
Order property id of the order item property to be stored.

Returns

StoredOrderItemPropertyInterface

Implementation of

OrderObjectServiceInterface::createStoredOrderItemPropertyObject()
public StoredOrderTotalInterface
# createStoredOrderTotalObject( IdType $orderTotalId )

Create Stored Order Total Object

Create Stored Order Total Object

Creates and returns a stored order total object.

Parameters

$orderTotalId
Order total id of the order total to be stored.

Returns

StoredOrderTotalInterface

Implementation of

OrderObjectServiceInterface::createStoredOrderTotalObject()

Properties summary

protected OrderItemFactoryInterface $orderItemFactory
#
protected OrderItemAttributeFactoryInterface $orderItemAttributeFactory
#
protected OrderItemPropertyFactoryInterface $orderItemPropertyFactory
#
protected OrderTotalFactoryInterface $orderTotalFactory
#
API documentation generated by ApiGen