Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
cancel ($id) | |
getCommentsList ($id) | |
addComment ($id, \Magento\Sales\Api\Data\OrderStatusHistoryInterface $statusHistory) | |
notify ($id) | |
getStatus ($id) | |
hold ($id) | |
unHold ($id) | |
place (\Magento\Sales\Api\Data\OrderInterface $order) | |
Order management interface.
An order is a document that a web store issues to a customer. Magento generates a sales order that lists the product items, billing and shipping addresses, and shipping and payment methods. A corresponding external document, known as a purchase order, is emailed to the customer. @api
Definition at line 18 of file OrderManagementInterface.php.
addComment | ( | $id, | |
\Magento\Sales\Api\Data\OrderStatusHistoryInterface | $statusHistory | ||
) |
Adds a comment to a specified order.
int | $id | The order ID. |
\Magento\Sales\Api\Data\OrderStatusHistoryInterface | $statusHistory | Status history comment. |
Implemented in OrderService.
cancel | ( | $id | ) |
getCommentsList | ( | $id | ) |
Lists comments for a specified order.
int | $id | The order ID. |
Implemented in OrderService.
getStatus | ( | $id | ) |
Gets the status for a specified order.
int | $id | The order ID. |
Implemented in OrderService.
hold | ( | $id | ) |
notify | ( | $id | ) |
Emails a user a specified order.
int | $id | The order ID. |
Implemented in OrderService.
place | ( | \Magento\Sales\Api\Data\OrderInterface | $order | ) |
\Magento\Sales\Api\Data\OrderInterface | $order |
unHold | ( | $id | ) |
Releases a specified order from hold status.
int | $id | The order ID. |
Implemented in OrderService.