How to create an order programmatically with \Magento\Quote\Api\CartManagementInterface::placeOrder()?

Interface

Implementation

Usage

https://github.com/magento/magento2/blob/2ea8cdd7/app/code/Magento/Authorizenet/Controller/Directpost/Payment/Place.php#L114-L134


See also:

A post was split to a new topic: How to instantiate the PaymentInterface?