12 use Magento\Quote\Model\QuoteIdMaskFactory;
63 $cartId = $this->quoteManagement->createEmptyCart();
87 return $this->quoteManagement->placeOrder(
$quoteIdMask->getQuoteId(), $paymentMethod);
__construct(CartManagementInterface $quoteManagement, QuoteIdMaskFactory $quoteIdMaskFactory, CartRepositoryInterface $cartRepository)
placeOrder($cartId, PaymentInterface $paymentMethod=null)
assignCustomer($cartId, $customerId, $storeId)