Class OrderItemRepositoryReader
| category |
System |
|---|---|
| package |
Order |
| subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \OrderItemFactoryInterface $orderItemFactory)
\CI_DB_query_builderQuery builder.
_parseOrderItemDownloads(array $downloads) : \OrderItemDownloadInformationCollection
| Throws |
|
|---|
arrayContains the records of the "orders_products_download" table that are related to the order item.
\OrderItemDownloadInformationCollectionReturns a collection with the OrderItemDownload instances.
_parseOrderItemGXCustomizerData(array $gxCustomizerData) : \OrderItemGXCustomizerDataCollection
arrayContains 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 |
|
|---|
\StoredOrderItemInterfaceFetched order item.
getItemsByOrderId(\IdType $orderId) : \StoredOrderItemCollection
| Throws |
|
|---|
\StoredOrderItemCollectionFetched order item collection.
db : \CI_DB_query_builder
| var |
|---|
\CI_DB_query_builder
orderItemFactory : \OrderItemFactoryInterface