SharedShoppingCart
in package
implements
SharedShoppingCartInterface
Class SharedShoppingCart
Tags
Interfaces, Classes and Traits
- SharedShoppingCartInterface
- Interface SharedShoppingCartInterface
Table of Contents
- $creationDate : DateTime
- $customerId : int
- $hash : string
- $shoppingCartJson : string
- __construct() : mixed
- SharedShoppingCart constructor.
- getCreationDate() : DateTime
- getCustomerId() : int
- getHash() : string
- getShoppingCartJson() : string
Properties
$creationDate
protected
DateTime
$creationDate
$customerId
protected
int
$customerId
$hash
protected
string
$hash
$shoppingCartJson
protected
string
$shoppingCartJson
Methods
__construct()
SharedShoppingCart constructor.
public
__construct(StringType $hash, StringType $shoppingCartJson, DateTime $creationDate, IdType $customerId) : mixed
Parameters
- $hash : StringType
- $shoppingCartJson : StringType
- $creationDate : DateTime
- $customerId : IdType
Return values
mixed —getCreationDate()
public
getCreationDate() : DateTime
Return values
DateTime —getCustomerId()
public
getCustomerId() : int
Return values
int —getHash()
public
getHash() : string
Return values
string —getShoppingCartJson()
public
getShoppingCartJson() : string