ShoppingCartServiceInterface
in
Interface ShoppingCartServiceInterface
Tags
Table of Contents
- deleteShoppingCartsByCustomerId() : mixed
- Deletes all shared shopping carts by a given customer ID.
- getShoppingCartsByCustomerId() : ShoppingCartCollection
- Gets a collection of all shopping carts by a given customer ID.
Methods
deleteShoppingCartsByCustomerId()
Deletes all shared shopping carts by a given customer ID.
public
deleteShoppingCartsByCustomerId(IdType $customerId) : mixed
Parameters
- $customerId : IdType
Return values
mixed —getShoppingCartsByCustomerId()
Gets a collection of all shopping carts by a given customer ID.
public
getShoppingCartsByCustomerId(IdType $customerId) : ShoppingCartCollection
Parameters
- $customerId : IdType