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