SharedShoppingCartWriterInterface
in
Interface SharedShoppingCartWriterInterface
Tags
Table of Contents
- storeShoppingCart() : $this|SharedShoppingCartWriterInterface
- Stores a shopping cart.
Methods
storeShoppingCart()
Stores a shopping cart.
public
storeShoppingCart(StringType $shoppingCartHash, StringType $jsonShoppingCart[, IdType|null $userId = null ]) : $this|SharedShoppingCartWriterInterface
Parameters
- $shoppingCartHash : StringType
-
Hash of the shopping cart
- $jsonShoppingCart : StringType
-
JSON representation of the shopping cart
- $userId : IdType|null = null
-
Id of the user sharing the shopping cart
Return values
$this|SharedShoppingCartWriterInterface —Same instance for chained method calls.