Class OrderTotalRepositoryReader
category |
System |
---|---|
package |
Order |
subpackage |
Repositories |
__construct(\CI_DB_query_builder $db, \OrderTotalFactoryInterface $orderTotalFactory)
\CI_DB_query_builder
Query builder.
_createStoredOrderTotalItem(array $storedOrderTotalData) : \StoredOrderTotal
array
Result set from database.
\StoredOrderTotal
Created order total.
getTotalById(\IdType $orderTotalId) : \StoredOrderTotal
Throws |
|
---|
\StoredOrderTotal
Fetched order total.
getTotalsByOrderId(\IdType $orderOrderId) : \StoredOrderTotalCollection
db : \CI_DB_query_builder
var |
---|
\CI_DB_query_builder
table : string
var |
---|
string
key : string
var |
---|
string