Class OrderRepositoryReader
| category |
System |
|---|---|
| package |
Order |
| subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \OrderFactoryInterface $orderFactory, \CountryServiceInterface $countryService, \PaymentTitleProvider $paymentTitleProvider)
\CI_DB_query_builderQuery builder.
_createOrderByArray(array $data) : \GXEngineOrder
_createOrderPaymentType(array $row) : \OrderPaymentType
| Throws |
|
|---|
arrayRow array with data about the order type.
\OrderPaymentType
_getOrderAddressBlock(array $data, \StringType $prefix) : \AddressBlock
arrayContains the order data that came directly from the database.
\StringTypeMust be one of "customers", "billing" and "delivery" (look at the "orders" db table).
\AddressBlockInstance of an address block that contains the address values.
getById(\IdType $orderId) : \GXEngineOrder
| Throws |
|
|---|
\GXEngineOrderFetched order.
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder