Class OrderServiceFactory

Class OrderServiceFactory

AbstractOrderServiceFactory
OrderServiceFactory

Methods summary

public __construct( CI_DB_query_builder $db )

OrderServiceFactory constructor.

public createOrderWriteService( void ) : OrderWriteService

Creates and returns an order write service object.

public createOrderReadService( void ) : OrderReadService

Creates and returns an order read service object.

public createOrderObjectService( void ) : OrderObjectService

Creates and returns an order object service.

protected _createOrderRepository( void ) : OrderRepository

Creates and returns an order repository.

protected _createOrderItemRepository( void ) : OrderItemRepository

Creates and returns an order item repository.

protected _createOrderItemAttributeRepositoryFactory( void ) : OrderItemAttributeRepositoryFactory

Creates and returns and order item attribute repository factory.

protected _createOrderTotalRepository( void ) : OrderTotalRepository

Creates and returns an order total repository.

protected _createOrderStatusHistoryStorage( void ) : OrderStatusHistoryStorage

Creates and returns a order status history storage.

protected _createOrderListGenerator( void ) : OrderListGenerator

Creates and returns an order list generator.

protected _createOrderServiceSettings( void ) : OrderServiceSettings

Creates a order service settings object

protected _createPaymentTitleProvider( void ) : PaymentTitleProvider

Creates, in memory caches and returns the payment title provider.

protected _createShippingTitleProvider( void ) : ShippingTitleProvider

Creates, in memory caches and returns the shipping title provider.

protected _int( string $int ) : IntType

Returns a new integer type.

Properties summary

protected $db : CI_DB_query_builder

Query builder.