GXEngineShoppingCart

Implements \ShoppingCartInterface

Class GXEngineShoppingCart

category

System

package

ShoppingCart

Methods

GXEngineShoppingCart constructor.

__construct(\IdType $id, \IdType $customerId, \StringType $productId, \DecimalType $quantity, \DecimalType $finalPrice, \StringType $creationDate) 

Arguments

$id

\IdType

$customerId

\IdType

$productId

\StringType

$quantity

\DecimalType

$finalPrice

\DecimalType

$creationDate

\StringType

getCreationDate

getCreationDate() : string

Response

string

getCustomerId

getCustomerId() : integer

Response

integer

getFinalPrice

getFinalPrice() : float

Response

float

getId

getId() : integer

Response

integer

getProductId

getProductId() : string

Response

string

getQuantity

getQuantity() : float

Response

float

Properties

id

id : integer
var

Type(s)

integer

customerId

customerId : integer
var

Type(s)

integer

productId

productId : string
var

Type(s)

string

quantity

quantity : float
var

Type(s)

float

finalPrice

finalPrice : float
var

Type(s)

float

creationDate

creationDate : string
var

Type(s)

string