DashboardData
in package
implements
JsonSerializable
Class DashboardData
Interfaces, Classes and Traits
- JsonSerializable
Table of Contents
- $statistics : Result
- $steps : SetupWizardStepCollection
- $isExternalSocialMediaEmbedsAllowed : bool
- $shopKey : string
- $shopOrigin : ShopOrigin
- $shopUrl : string
- $shopVersion : string
- $userPreferredCategory : PreferredCategory
- $userPreferredPeriod : PreferredPeriod
- __construct() : mixed
- DashboardData constructor.
- jsonSerialize() : mixed
- shopKey() : string
- shopOrigin() : ShopOrigin
- shopUrl() : string
- shopVersion() : string
- statistics() : Result
- userPreferredCategory() : PreferredCategory
- userPreferredPeriod() : PreferredPeriod
Properties
$statistics
protected
Result
$statistics
$steps
protected
SetupWizardStepCollection
$steps
$isExternalSocialMediaEmbedsAllowed
private
bool
$isExternalSocialMediaEmbedsAllowed
$shopKey
private
string
$shopKey
$shopOrigin
private
ShopOrigin
$shopOrigin
$shopUrl
private
string
$shopUrl
$shopVersion
private
string
$shopVersion
$userPreferredCategory
private
PreferredCategory
$userPreferredCategory
$userPreferredPeriod
private
PreferredPeriod
$userPreferredPeriod
Methods
__construct()
DashboardData constructor.
public
__construct(string $shopKey, string $shopUrl, string $shopVersion, Result $statistics, SetupWizardStepCollection $steps, bool $isExternalSocialMediaEmbedsAllowed, PreferredCategory $userPreferredCategory, PreferredPeriod $userPreferredPeriod, ShopOrigin $shopOrigin) : mixed
Parameters
- $shopKey : string
- $shopUrl : string
- $shopVersion : string
- $statistics : Result
- $steps : SetupWizardStepCollection
- $isExternalSocialMediaEmbedsAllowed : bool
- $userPreferredCategory : PreferredCategory
- $userPreferredPeriod : PreferredPeriod
- $shopOrigin : ShopOrigin
Return values
mixed —jsonSerialize()
public
jsonSerialize() : mixed
Return values
mixed —shopKey()
public
shopKey() : string
Return values
string —shopOrigin()
public
shopOrigin() : ShopOrigin
Return values
ShopOrigin —shopUrl()
public
shopUrl() : string
Return values
string —shopVersion()
public
shopVersion() : string
Return values
string —statistics()
public
statistics() : Result
Return values
Result —userPreferredCategory()
public
userPreferredCategory() : PreferredCategory
Return values
PreferredCategory —userPreferredPeriod()
public
userPreferredPeriod() : PreferredPeriod