Statistics
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
integer
getId()
Get id
setId(int $id)
No description
Product|null
getProduct()
Get product
string|null
getSessionId()
No description
setSessionId(string|null $sessionId)
No description
getProductAttributeValues()
No description
setProductAttributeValues(ProductAttributeValues|null|object $productAttributeValues)
No description
Details
in Visitor at line 109
__construct()
in Visitor at line 133
string|null
getPlatform()
Get platform
in Visitor at line 157
string|null
getName()
Get name
in Visitor at line 181
string|null
getUrl()
Get url
in Visitor at line 205
string|null
getBrowser()
Get browser
in Visitor at line 277
string|null
getTypeOfAction()
in Visitor at line 297
float|null
getProductQty()
at line 99
integer
getId()
Get id
at line 109
Statistics
setId(int $id)
at line 121
Product|null
getProduct()
Get product
at line 133
Statistics
setProduct(Product|null $product)
Set product
at line 145
User|null
getUser()
Get user
at line 157
Statistics
setUser(User|null $user = null)
Set user