Interface SharedShoppingCartRepositoryInterface
| category |
System |
|---|---|
| package |
SharedShoppingCart |
| subpackage |
Interfaces |
deleteShoppingCartsByCustomerId(\IdType $customerId)
deleteShoppingCartsOlderThan(\DateTime $expirationDate)
\DateTimeAll shared shopping carts older than that date are expired
getShoppingCart(\StringType $shoppingCartHash) : string
stringJSON representation of the shopping cart
getShoppingCartsByCustomerId(\IdType $customerId) : \SharedShoppingCartCollection
storeShoppingCart(\StringType $jsonShoppingCart, \IdType|null $userId) : string
| Throws |
|
|---|
stringThe hash of the cart