SharedShoppingCartDeleterInterface
in
Interface SharedShoppingCartDeleterInterface
Tags
Table of Contents
- deleteShoppingCartsByCustomerId() : mixed
- Deletes all shared shopping carts by a given customer ID.
- deleteShoppingCartsOlderThan() : mixed
- Deletes all shared shopping carts that are expired
Methods
deleteShoppingCartsByCustomerId()
Deletes all shared shopping carts by a given customer ID.
public
deleteShoppingCartsByCustomerId(IdType $customerId) : mixed
Parameters
- $customerId : IdType
Return values
mixed —deleteShoppingCartsOlderThan()
Deletes all shared shopping carts that are expired
public
deleteShoppingCartsOlderThan(DateTime $expirationDate) : mixed
Parameters
- $expirationDate : DateTime
-
All shared shopping carts older than that date are expired