UserTraderCountrySetting
in package
implements
JsonSerializable
Class UserTreadCountrySetting
Tags
Table of Contents
Interfaces
- JsonSerializable
Properties
- $client : Client|null
- $country : Country|null
- $traderType : TraderType|null
Methods
- getClient() : Client|null
- getCountry() : Country|null
- getId() : int|null
- getTraderType() : TraderType|null
- getUser() : Client|null
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setClient() : void
- setCountry() : void
- setId() : void
- setTraderType() : void
- setUser() : void
Properties
$client
private
Client|null
$client
Tags
$country
private
Country|null
$country
Tags
$traderType
private
TraderType|null
$traderType
Tags
Methods
getClient()
public
getClient() : Client|null
Return values
Client|nullgetCountry()
public
getCountry() : Country|null
Return values
Country|nullgetId()
public
getId() : int|null
Return values
int|nullgetTraderType()
public
getTraderType() : TraderType|null
Return values
TraderType|nullgetUser()
public
getUser() : Client|null
Return values
Client|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.
setClient()
public
setClient(Client|null $client) : void
Parameters
- $client : Client|null
setCountry()
public
setCountry(Country|null $country) : void
Parameters
- $country : Country|null
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setTraderType()
public
setTraderType(TraderType|null $traderType) : void
Parameters
- $traderType : TraderType|null
setUser()
public
setUser(Client|null $client) : void
Parameters
- $client : Client|null