GXEngineShoppingCart
in package
implements
ShoppingCartInterface
Class GXEngineShoppingCart
Tags
Interfaces, Classes and Traits
- ShoppingCartInterface
- Interface ShoppingCartInterface
Table of Contents
- $creationDate : string
- $customerId : int
- $finalPrice : float
- $id : int
- $productId : string
- $quantity : float
- __construct() : mixed
- GXEngineShoppingCart constructor.
- getCreationDate() : string
- getCustomerId() : int
- getFinalPrice() : float
- getId() : int
- getProductId() : string
- getQuantity() : float
Properties
$creationDate
protected
string
$creationDate
$customerId
protected
int
$customerId
$finalPrice
protected
float
$finalPrice
$id
protected
int
$id
$productId
protected
string
$productId
$quantity
protected
float
$quantity
Methods
__construct()
GXEngineShoppingCart constructor.
public
__construct(IdType $id, IdType $customerId, StringType $productId, DecimalType $quantity, DecimalType $finalPrice, StringType $creationDate) : mixed
Parameters
- $id : IdType
- $customerId : IdType
- $productId : StringType
- $quantity : DecimalType
- $finalPrice : DecimalType
- $creationDate : StringType
Return values
mixed —getCreationDate()
public
getCreationDate() : string
Return values
string —getCustomerId()
public
getCustomerId() : int
Return values
int —getFinalPrice()
public
getFinalPrice() : float
Return values
float —getId()
public
getId() : int
Return values
int —getProductId()
public
getProductId() : string
Return values
string —getQuantity()
public
getQuantity() : float