class Statistics extends Visitor implements PrimaryKeyInterface

Class Statistics

Properties

protected DateTime $createdAt Date when statistics data created from Visitor
protected string|null $platform Platform from which client visited shop from Visitor
protected string|null $name Visited route name from Visitor
protected string|null $url Visited URL from Visitor
protected string|null $browser Browser from which client visited shop from Visitor
protected string|null $type Device type from which client visited shop from Visitor
protected DateTime|null $orderCreatedAt Date when order created from Visitor
protected DateTime|null $orderFinishedAt Date when order finished from Visitor
protected string|null $typeOfAction Type of cart action (add, increase, decrease, remove) from Visitor
protected float|null $productQty Handled product quantity from Visitor
protected int $id
protected string|null $sessionId User session identifier
protected Product|null $product Associated product
protected ProductAttributeValues|null $productAttributeValues Associated product attribute values
protected User|null $user Associated user
protected Order|null $order Associated order

Methods

__construct()

No description

from Visitor
setType(string|null $type)

Set platform

from Visitor
string|null
getPlatform()

Get platform

from Visitor
setPlatform(string|null $platform)

Set platform

from Visitor
string|null
getName()

Get name

from Visitor
setName(string|null $name)

Set name

from Visitor
string|null
getUrl()

Get url

from Visitor
setUrl(string|null $url)

Set url

from Visitor
string|null
getBrowser()

Get browser

from Visitor
setBrowser(string|null $browser)

Set browser

from Visitor
getCreatedAt()

Get createdAt

from Visitor
DateTime|null
getOrderCreatedAt()

No description

from Visitor
setOrderCreatedAt(DateTime|null $orderCreatedAt)

No description

from Visitor
DateTime|null
getOrderFinishedAt()

No description

from Visitor
setOrderFinishedAt(DateTime|null $orderFinishedAt)

No description

from Visitor
string|null
getTypeOfAction()

No description

from Visitor
setTypeOfAction(string|null $typeOfAction)

No description

from Visitor
float|null
getProductQty()

No description

from Visitor
setProductQty(float|null $productQty)

No description

from Visitor
integer
getId()

Get id

setId(int $id)

No description

Product|null
getProduct()

Get product

setProduct(Product|null $product)

Set product

User|null
getUser()

Get user

setUser(User|null $user = null)

Set user

Order|null
getOrder()

No description

setOrder(Order|null $order)

No description

string|null
getSessionId()

No description

setSessionId(string|null $sessionId)

No description

setProductAttributeValues(ProductAttributeValues|null|object $productAttributeValues)

No description

Details

in Visitor at line 109
__construct()

in Visitor at line 121
Visitor setType(string|null $type)

Set platform

Parameters

string|null $type

Return Value

Visitor

in Visitor at line 133
string|null getPlatform()

Get platform

Return Value

string|null

in Visitor at line 145
Visitor setPlatform(string|null $platform)

Set platform

Parameters

string|null $platform

Return Value

Visitor

in Visitor at line 157
string|null getName()

Get name

Return Value

string|null

in Visitor at line 169
Visitor setName(string|null $name)

Set name

Parameters

string|null $name

Return Value

Visitor

in Visitor at line 181
string|null getUrl()

Get url

Return Value

string|null

in Visitor at line 193
Visitor setUrl(string|null $url)

Set url

Parameters

string|null $url

Return Value

Visitor

in Visitor at line 205
string|null getBrowser()

Get browser

Return Value

string|null

in Visitor at line 217
Visitor setBrowser(string|null $browser)

Set browser

Parameters

string|null $browser

Return Value

Visitor

in Visitor at line 229
DateTime getCreatedAt()

Get createdAt

Return Value

DateTime

in Visitor at line 237
DateTime|null getOrderCreatedAt()

Return Value

DateTime|null

in Visitor at line 247
Visitor setOrderCreatedAt(DateTime|null $orderCreatedAt)

Parameters

DateTime|null $orderCreatedAt

Return Value

Visitor

in Visitor at line 257
DateTime|null getOrderFinishedAt()

Return Value

DateTime|null

in Visitor at line 267
Visitor setOrderFinishedAt(DateTime|null $orderFinishedAt)

Parameters

DateTime|null $orderFinishedAt

Return Value

Visitor

in Visitor at line 277
string|null getTypeOfAction()

Return Value

string|null

in Visitor at line 287
Visitor setTypeOfAction(string|null $typeOfAction)

Parameters

string|null $typeOfAction

Return Value

Visitor

in Visitor at line 297
float|null getProductQty()

Return Value

float|null

in Visitor at line 307
Visitor setProductQty(float|null $productQty)

Parameters

float|null $productQty

Return Value

Visitor

at line 99
integer getId()

Get id

Return Value

integer

at line 109
Statistics setId(int $id)

Parameters

int $id

Return Value

Statistics

at line 121
Product|null getProduct()

Get product

Return Value

Product|null

at line 133
Statistics setProduct(Product|null $product)

Set product

Parameters

Product|null $product

Return Value

Statistics

at line 145
User|null getUser()

Get user

Return Value

User|null

at line 157
Statistics setUser(User|null $user = null)

Set user

Parameters

User|null $user

Return Value

Statistics

at line 167
Order|null getOrder()

Return Value

Order|null

at line 177
Statistics setOrder(Order|null $order)

Parameters

Order|null $order

Return Value

Statistics

at line 187
string|null getSessionId()

Return Value

string|null

at line 197
Statistics setSessionId(string|null $sessionId)

Parameters

string|null $sessionId

Return Value

Statistics

at line 207
ProductAttributeValues|null getProductAttributeValues()

Return Value

ProductAttributeValues|null

at line 217
Statistics setProductAttributeValues(ProductAttributeValues|null|object $productAttributeValues)

Parameters

ProductAttributeValues|null|object $productAttributeValues

Return Value

Statistics