OrderServiceFactory

Extends \AbstractOrderServiceFactory

Class OrderServiceFactory

category

System

package

Order

subpackage

Factories

Methods

OrderServiceFactory constructor.

__construct(\CI_DB_query_builder $db) 

Arguments

$db

\CI_DB_query_builder

Query builder.

Returns a new delete history write service.

_createDeleteHistoryWriteService() : \DeleteHistoryWriteService

Creates and returns and order item attribute repository factory.

_createOrderItemAttributeRepositoryFactory() : \OrderItemAttributeRepositoryFactory

Response

\OrderItemAttributeRepositoryFactory

New order item attribute repository factory.

Creates and returns an order item repository.

_createOrderItemRepository() : \OrderItemRepository

Response

\OrderItemRepository

New order item repository.

Creates and returns an order list generator.

_createOrderListGenerator() : \OrderListGenerator

Response

\OrderListGenerator

New order list generator.

Creates and returns an order repository.

_createOrderRepository() : \OrderRepository

Response

\OrderRepository

New order repository.

Creates a order service settings object

_createOrderServiceSettings() : \OrderServiceSettings

Response

\OrderServiceSettings

New order service settings object

Creates and returns a order status history storage.

_createOrderStatusHistoryStorage() : \OrderStatusHistoryStorage

Response

\OrderStatusHistoryStorage

New order status history storage.

Creates and returns an order total repository.

_createOrderTotalRepository() : \OrderTotalRepository

Response

\OrderTotalRepository

New order total repository.

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

_createPaymentTitleProvider() : \PaymentTitleProvider

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

_createShippingTitleProvider() : \ShippingTitleProvider

Returns a new integer type.

_int(string $int) : \IntType

Arguments

$int

string

Representing value,

Response

\IntType

Creates and returns an order object service.

createOrderObjectService() : \OrderObjectServiceInterface
inherited abstract

Response

\OrderObjectServiceInterface

New order object service.

Creates and returns an order read service object.

createOrderReadService() : \OrderReadServiceInterface
inherited abstract

Response

\OrderReadServiceInterface

New order read service object.

Creates and returns an order write service object.

createOrderWriteService() : \OrderWriteServiceInterface
inherited abstract

Response

\OrderWriteServiceInterface

New order write service object.

Properties

Query builder.

db : \CI_DB_query_builder
var

Type(s)

\CI_DB_query_builder

paymentTitleProvider

paymentTitleProvider : \PaymentTitleProvider
var

Type(s)

\PaymentTitleProvider

shippingTitleProvider

shippingTitleProvider : \ShippingTitleProvider

orderServiceSettings

orderServiceSettings : \OrderServiceSettings
var

Type(s)

\OrderServiceSettings

deleteHistoryWriteService

deleteHistoryWriteService : \DeleteHistoryWriteService

deleteHistoryRepository

deleteHistoryRepository : \DeleteHistoryRepositoryInterface