Class OrderRepositoryReader
Class OrderRepositoryReader
- OrderRepositoryReader implements OrderRepositoryReaderInterface
Package: Order\Repositories
Category: System
Located at Services/Core/Order/Repositories/Reader/OrderRepositoryReader.inc.php
Category: System
Located at Services/Core/Order/Repositories/Reader/OrderRepositoryReader.inc.php
Methods summary
public
__construct( CI_DB_query_builder $db, OrderFactoryInterface $orderFactory, CountryServiceInterface $countryService, PaymentTitleProvider $paymentTitleProvider )
OrderRepositoryReader constructor.
public
getById( IdType $orderId )
: GXEngineOrder
Fetches an new order object from the orders table by the given ID.
protected
_getOrderAddressBlock( array $data, StringType $prefix )
: AddressBlock
Returns order address block instance for the customer, billing and delivery address.
protected
_createOrderPaymentType( array $row )
: OrderPaymentType
Creates and returns an order payment type instance by the given row data.