Class OrderItemRepositoryReader
category |
System |
---|---|
package |
Order |
subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \OrderItemFactoryInterface $orderItemFactory)
\CI_DB_query_builder
Query builder.
_parseOrderItemDownloads(array $downloads) : \OrderItemDownloadInformationCollection
Throws |
|
---|
array
Contains the records of the "orders_products_download" table that are related to the order item.
\OrderItemDownloadInformationCollection
Returns a collection with the OrderItemDownload instances.
_parseOrderItemGXCustomizerData(array $gxCustomizerData) : \OrderItemGXCustomizerDataCollection
array
Contains the records of the "gm_gprint_orders_elements", "gm_gprint_orders_surfaces" and "gm_gprint_orders_surfaces_groups" table that are related to the order item.
\OrderItemGXCustomizerDataCollection
_setDbValues(\StoredOrderItemInterface $storedOrderItem, array $row)
Throws |
|
---|
\StoredOrderItemInterface
array
getItemById(\IdType $orderItemId) : \StoredOrderItemInterface
Throws |
|
---|
\StoredOrderItemInterface
Fetched order item.
getItemsByOrderId(\IdType $orderId) : \StoredOrderItemCollection
Throws |
|
---|
\StoredOrderItemCollection
Fetched order item collection.
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
orderItemFactory : \OrderItemFactoryInterface