Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
CartManagementInterface.php
Go to the documentation of this file.
1 <?php
6 namespace Magento\Quote\Api;
7 
9 
16 {
20  const METHOD_GUEST = 'guest';
21 
28  public function createEmptyCart();
29 
37  public function createEmptyCartForCustomer($customerId);
38 
46  public function getCartForCustomer($customerId);
47 
56  public function assignCustomer($cartId, $customerId, $storeId);
57 
66  public function placeOrder($cartId, PaymentInterface $paymentMethod = null);
67 }
placeOrder($cartId, PaymentInterface $paymentMethod=null)
assignCustomer($cartId, $customerId, $storeId)
$cartId
Definition: quote.php:22