Country
in package
implements
JsonSerializable, Country
Class Country
Tags
Table of Contents
Interfaces
- JsonSerializable
- Country
Properties
- $callingCode : string|null
- $companyCountryClients : array<string|int, Client>|null
- $countryClients : array<string|int, Client>|null
- $countryRegistrations : array<string|int, UserVat>|null
- $currency : Currency|null
- $engName : string|null
- $entries : array<string|int, Entry>|null
- $id : int|null
- $isEuMember : bool
- $isoCode2 : string|null
- $isoCode3 : string|null
- $patternCheck : string|null
- $patternParse : string|null
- $reportObligations : array<string|int, ReportObligation>|null
- $thresholdInEur : int|null
- $userTraderCountrySetting : array<string|int, UserTraderCountrySetting>|null
- $userVats : array<string|int, UserVat>|null
- $vatCountry : Country|null
Methods
- getCallingCode() : string|null
- getCompanyCountryClients() : array<string|int, Client>|null
- Get $countryClients
- getCountryClients() : array<string|int, Client>|null
- Get $countryClients
- getCountryRegistrations() : array<string|int, UserVat>|null
- getCurrency() : Currency|null
- getEngName() : string|null
- getEntries() : array<string|int, Entry>|null
- getId() : int
- getIdByTwo() : int|null
- getIsoCode2() : string|null
- getIsoCode3() : string|null
- getPatternCheck() : string|null
- getPatternParse() : string|null
- getReportObligations() : array<string|int, ReportObligation>|null
- getThresholdInEur() : int|null
- getTwoById() : string|null
- getUserTraderCountrySetting() : array<string|int, UserTraderCountrySetting>|null
- getUserVats() : array<string|int, UserVat>|null
- getVatCountry() : Country|null
- isEuMember() : bool
- jsonSerialize() : mixed
- Specify data which should be serialized to JSON
- setCallingCode() : void
- setCompanyCountryClients() : self
- Set $countryClients
- setCountryClients() : self
- Set $countryClients
- setCountryRegistrations() : void
- setCurrency() : void
- setEngName() : void
- setEntries() : void
- setId() : void
- setIsEuMember() : void
- setIsoCode2() : void
- setIsoCode3() : void
- setPatternCheck() : void
- setPatternParse() : void
- setReportObligations() : void
- setThresholdInEur() : void
- setUserTraderCountrySetting() : void
- setVatCountry() : void
Properties
$callingCode
private
string|null
$callingCode
Tags
$companyCountryClients
private
array<string|int, Client>|null
$companyCountryClients
Tags
$countryClients
private
array<string|int, Client>|null
$countryClients
Tags
$countryRegistrations
private
array<string|int, UserVat>|null
$countryRegistrations
Tags
$currency
private
Currency|null
$currency
Tags
$engName
private
string|null
$engName
Tags
$entries
private
array<string|int, Entry>|null
$entries
Tags
$id
private
int|null
$id
Tags
$isEuMember
private
bool
$isEuMember
Tags
$isoCode2
private
string|null
$isoCode2
Tags
$isoCode3
private
string|null
$isoCode3
Tags
$patternCheck
private
string|null
$patternCheck
Tags
$patternParse
private
string|null
$patternParse
Tags
$reportObligations
private
array<string|int, ReportObligation>|null
$reportObligations
Tags
$thresholdInEur
private
int|null
$thresholdInEur
Tags
$userTraderCountrySetting
private
array<string|int, UserTraderCountrySetting>|null
$userTraderCountrySetting
Tags
$userVats
private
array<string|int, UserVat>|null
$userVats
Tags
$vatCountry
private
Country|null
$vatCountry
Tags
Methods
getCallingCode()
public
getCallingCode() : string|null
Return values
string|nullgetCompanyCountryClients()
Get $countryClients
public
getCompanyCountryClients() : array<string|int, Client>|null
Return values
array<string|int, Client>|nullgetCountryClients()
Get $countryClients
public
getCountryClients() : array<string|int, Client>|null
Return values
array<string|int, Client>|nullgetCountryRegistrations()
public
getCountryRegistrations() : array<string|int, UserVat>|null
Return values
array<string|int, UserVat>|nullgetCurrency()
public
getCurrency() : Currency|null
Return values
Currency|nullgetEngName()
public
getEngName() : string|null
Return values
string|nullgetEntries()
public
getEntries() : array<string|int, Entry>|null
Return values
array<string|int, Entry>|nullgetId()
public
getId() : int
Return values
intgetIdByTwo()
public
static getIdByTwo(string $two) : int|null
Parameters
- $two : string
Return values
int|nullgetIsoCode2()
public
getIsoCode2() : string|null
Return values
string|nullgetIsoCode3()
public
getIsoCode3() : string|null
Return values
string|nullgetPatternCheck()
public
getPatternCheck() : string|null
Return values
string|nullgetPatternParse()
public
getPatternParse() : string|null
Return values
string|nullgetReportObligations()
public
getReportObligations() : array<string|int, ReportObligation>|null
Return values
array<string|int, ReportObligation>|nullgetThresholdInEur()
public
getThresholdInEur() : int|null
Return values
int|nullgetTwoById()
public
static getTwoById(int $id) : string|null
Parameters
- $id : int
Return values
string|nullgetUserTraderCountrySetting()
public
getUserTraderCountrySetting() : array<string|int, UserTraderCountrySetting>|null
Return values
array<string|int, UserTraderCountrySetting>|nullgetUserVats()
public
getUserVats() : array<string|int, UserVat>|null
Return values
array<string|int, UserVat>|nullgetVatCountry()
public
getVatCountry() : Country|null
Return values
Country|nullisEuMember()
public
isEuMember() : bool
Return values
booljsonSerialize()
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.
setCallingCode()
public
setCallingCode(string|null $callingCode) : void
Parameters
- $callingCode : string|null
setCompanyCountryClients()
Set $countryClients
public
setCompanyCountryClients(array<string|int, Client>|null $companyCountryClients) : self
Parameters
- $companyCountryClients : array<string|int, Client>|null
-
$countryClients
Return values
selfsetCountryClients()
Set $countryClients
public
setCountryClients(array<string|int, Client>|null $countryClients) : self
Parameters
- $countryClients : array<string|int, Client>|null
-
$countryClients
Return values
selfsetCountryRegistrations()
public
setCountryRegistrations(array<string|int, UserVat>|null $countryRegistrations) : void
Parameters
- $countryRegistrations : array<string|int, UserVat>|null
setCurrency()
public
setCurrency(Currency|null $currency) : void
Parameters
- $currency : Currency|null
setEngName()
public
setEngName(string|null $engName) : void
Parameters
- $engName : string|null
setEntries()
public
setEntries(array<string|int, Entry>|Collection|null $entries) : void
Parameters
- $entries : array<string|int, Entry>|Collection|null
setId()
public
setId(int|null $id) : void
Parameters
- $id : int|null
setIsEuMember()
public
setIsEuMember(bool $isEuMember) : void
Parameters
- $isEuMember : bool
setIsoCode2()
public
setIsoCode2(string|null $isoCode2) : void
Parameters
- $isoCode2 : string|null
setIsoCode3()
public
setIsoCode3(string|null $isoCode3) : void
Parameters
- $isoCode3 : string|null
setPatternCheck()
public
setPatternCheck(string|null $patternCheck) : void
Parameters
- $patternCheck : string|null
setPatternParse()
public
setPatternParse(string|null $patternParse) : void
Parameters
- $patternParse : string|null
setReportObligations()
public
setReportObligations(array<string|int, ReportObligation>|Collection|null $reportObligations) : void
Parameters
- $reportObligations : array<string|int, ReportObligation>|Collection|null
setThresholdInEur()
public
setThresholdInEur(int|null $thresholdInEur) : void
Parameters
- $thresholdInEur : int|null
setUserTraderCountrySetting()
public
setUserTraderCountrySetting(array<string|int, UserTraderCountrySetting>|null $userTraderCountrySetting) : void
Parameters
- $userTraderCountrySetting : array<string|int, UserTraderCountrySetting>|null
setVatCountry()
public
setVatCountry(Country|null $vatCountry) : void
Parameters
- $vatCountry : Country|null