How is \Magento\Quote\Model\QuoteManagement::submit() used?

API

Usages

1

How is \Magento\Checkout\Model\Type\Onepage::saveOrder() used?

2

https://github.com/magento/magento2/blob/2ea8cdd7/app/code/Magento/Paypal/Model/Express/Checkout.php#L774-L786

3

https://github.com/magento/magento2/blob/2ea8cdd7/app/code/Magento/Quote/Model/QuoteManagement.php#L341-L341

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

4

How to create an order programmatically with \Magento\Sales\Model\AdminOrder\Create::createOrder()?

See also: