phpDocumentor

ShoppingCartItem
in package

Table of Contents

$addedAt  : DateTimeImmutable
$amount  : int
$itemDetails  : ItemDetails
$productId  : ProductId
$selectedOptions  : SelectedOptions
$shoppingCartItemId  : ShoppingCartItemId
addedAt()  : string
Returns the Added At Date with a given format
amount()  : int
Returns the amount
create()  : static
image()  : string
Returns the image
itemNumber()  : string
Returns the ItemNumber
productId()  : int
Returns the Product ID
selectedOptions()  : SelectedOptions
Returns the Selected Options
shoppingCartItemId()  : int
Returns the Shopping Cart Item ID
title()  : string
returns the title
toArray()  : array<string|int, mixed>
Returns an array containing the class members
__construct()  : mixed
Constructor

Properties

Methods

addedAt()

Returns the Added At Date with a given format

public addedAt([string $format = "Y-m-d" ]) : string
Parameters
$format : string = "Y-m-d"
Return values
string

amount()

Returns the amount

public amount() : int
Return values
int

image()

Returns the image

public image() : string
Return values
string

itemNumber()

Returns the ItemNumber

public itemNumber() : string
Return values
string

productId()

Returns the Product ID

public productId() : int
Return values
int

shoppingCartItemId()

Returns the Shopping Cart Item ID

public shoppingCartItemId() : int
Return values
int

title()

returns the title

public title() : string
Return values
string

toArray()

Returns an array containing the class members

public toArray([string $format = "Y-m-d" ]) : array<string|int, mixed>
Parameters
$format : string = "Y-m-d"
Return values
array<string|int, mixed>

Search results