SharedShoppingCartWriterInterface

Extends

Interface SharedShoppingCartWriterInterface

category

System

package

SharedShoppingCart

subpackage

Interfaces

Methods

Stores a shopping cart.

storeShoppingCart(\StringType $shoppingCartHash, \StringType $jsonShoppingCart, \IdType|null $userId = null) : $this|\SharedShoppingCartWriterInterface

Arguments

$shoppingCartHash

\StringType

Hash of the shopping cart

$jsonShoppingCart

\StringType

JSON representation of the shopping cart

$userId

\IdType|null

Id of the user sharing the shopping cart

Response

$this|\SharedShoppingCartWriterInterface

Same instance for chained method calls.