Class OrderRepository
Class OrderRepository
- OrderRepository implements OrderRepositoryInterface
Package: Order\Repositories
Category: System
Located at Services/Core/Order/Repositories/OrderRepository.inc.php
Category: System
Located at Services/Core/Order/Repositories/OrderRepository.inc.php
Methods summary
public
__construct( OrderFactoryInterface $orderFactory, OrderRepositoryWriterInterface $writer, OrderRepositoryReaderInterface $reader, OrderRepositoryDeleterInterface $deleter, OrderItemRepositoryInterface $orderItemRepository, OrderTotalRepositoryInterface $orderTotalRepository, OrderStatusHistoryReaderInterface $historyReader, AddonValueServiceInterface $addonValueService )
OrderRepository constructor.
public
createNew( void )
: GXEngineOrder
Creates a new order with no values in the database and returns it containing just the ID.