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