Magento Extensions Rating 2024
EXTENSIONS BY CATEGORY
B2B (Business-To-Business)
Blog
Customer
ERP (Enterprise Resource Planning)
Mega Menu
One Step Checkout
Order
POS (Point Of Sale)
Search
Shopping Cart
Sitemap
SEO
Social
Stock & Inventory Management
EXTENSIONS BY DEVELOPER
aheadWorks
Amasty
Boost My Shop
BSS Commerce
Magestore
MageWorx
Mirasvit
Templates Master
Wyomind
XTENTO
Magento 2 Documentation
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
vendor
magento
module-quote
Api
CartManagementInterface.php
Go to the documentation of this file.
1
<?php
6
namespace
Magento\Quote\Api
;
7
8
use
Magento\Quote\Api\Data\PaymentInterface
;
9
15
interface
CartManagementInterface
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
}
$storeId
$storeId
Definition:
customer_review_with_rating.php:14
Magento\Quote\Api
Definition:
BillingAddressManagementTest.php:7
Magento\Quote\Api\CartManagementInterface\placeOrder
placeOrder($cartId, PaymentInterface $paymentMethod=null)
Magento\Quote\Api\CartManagementInterface\assignCustomer
assignCustomer($cartId, $customerId, $storeId)
$cartId
$cartId
Definition:
quote.php:22
Magento\Quote\Api\CartManagementInterface\createEmptyCart
createEmptyCart()
Magento\Quote\Api\CartManagementInterface\createEmptyCartForCustomer
createEmptyCartForCustomer($customerId)
$customerId
$customerId
Definition:
quote_with_customer.php:16
Magento\Quote\Api\CartManagementInterface
Definition:
CartManagementInterface.php:15
Magento\Quote\Api\Data\PaymentInterface
Definition:
PaymentInterface.php:13
Magento\Quote\Api\CartManagementInterface\METHOD_GUEST
const METHOD_GUEST
Definition:
CartManagementInterface.php:20
Magento\Quote\Api\CartManagementInterface\getCartForCustomer
getCartForCustomer($customerId)