TraderType
in package
implements
JsonSerializable, ITraderType
Class TreaderType
Tags
Table of Contents
Interfaces
- JsonSerializable
- ITraderType
Properties
- $id : int|null
- $label : string|null
- $userTraderCountrySettings : array<string|int, UserTraderCountrySetting>|null
Methods
- getId() : int|null
- getLabel() : string|null
- getUserTraderCountrySettings() : array<string|int, UserTraderCountrySetting>|null
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setId() : void
- setLabel() : void
- setUserTraderCountrySettings() : void
Properties
$id
private
int|null
$id
Tags
$label
private
string|null
$label
Tags
$userTraderCountrySettings
private
array<string|int, UserTraderCountrySetting>|null
$userTraderCountrySettings
Tags
Methods
getId()
public
getId() : int|null
Return values
int|nullgetLabel()
public
getLabel() : string|null
Return values
string|nullgetUserTraderCountrySettings()
public
getUserTraderCountrySettings() : array<string|int, UserTraderCountrySetting>|null
Return values
array<string|int, UserTraderCountrySetting>|nulljsonSerialize()
Specify data which should be serialized to JSON
public
jsonSerialize() : mixed
Tags
Return values
mixed —data which can be serialized by json_encode, which is a value of any type other than a resource.
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setLabel()
public
setLabel(string|null $label) : void
Parameters
- $label : string|null
setUserTraderCountrySettings()
public
setUserTraderCountrySettings(array<string|int, UserTraderCountrySetting>|null $userTraderCountrySettings) : void
Parameters
- $userTraderCountrySettings : array<string|int, UserTraderCountrySetting>|null