OrderManagerInterface
interface OrderManagerInterface
Interface OrderManagerInterface
Methods
mixed
findAllOrders(mixed $user)
No description
array
findOrdersForReport(array $params)
No description
mixed
array
findAbandonedCarts()
No description
array
loadGraphData()
No description
array|null
loadOrderDetailsGraphData(string $date)
No description
array
updateQuantities(Order $order, String $oldState = null, array $updateOnlyWithId = array())
No description
bool
Order|Proxy|object|null
getReference(int $id, string $class = Order::class)
No description
bool
updateCouponCode(int $orderId, string $code)
Update coupon code for order
mixed
Address|null
array|bool
Details
at line 27
mixed
saveOrder(Order $order)
at line 34
mixed
editOrder(Order $order)
at line 41
mixed
findAllOrders(mixed $user)
at line 48
array
findOrdersForReport(array $params)
at line 55
mixed
getDBOrder(Order $order)
at line 60
array
findAbandonedCarts()
at line 65
array
loadGraphData()
at line 72
array|null
loadOrderDetailsGraphData(string $date)
at line 80
array
findLastOrdersForLiveSale(User $user, int $number)
at line 89
Order
updateQuantities(Order $order, String $oldState = null, array $updateOnlyWithId = array())
at line 103
bool
setOrderCurrency(Order $order)
at line 111
Order|Proxy|object|null
getReference(int $id, string $class = Order::class)
at line 120
bool
updateCouponCode(int $orderId, string $code)
Update coupon code for order
at line 130
mixed
changeOrderState(stdClass $data)
Update existing order
at line 151
array|bool
changeOrderItem(stdClass $data)
Change order item