MedicalCentersByPostalCodeResponseDomain
in package
implements
JsonSerializable
Represents a object with the list of medical centers by postal code.
Tags
Interfaces, Classes, Traits and Enums
- JsonSerializable
Table of Contents
- $medicalCenters : array<string|int, mixed>
- $municipality : MunicipalityDomain|null
- $postalCode : int|null
- getMedicalCenters() : array<string|int, mixed>
- Get the list of medical centers.
- getMunicipality() : MunicipalityDomain|null
- Get the municipality domain object.
- getPostalCode() : int|null
- Get the postal code.
- jsonSerialize() : array<string|int, mixed>
- Description of the jsonSerialize method.
- setMedicalCenters() : self
- Set the list of medical centers.
- setMunicipality() : self
- Set the municipality domain object.
- setPostalCode() : self
- Set the postal code.
Properties
$medicalCenters
private
array<string|int, mixed>
$medicalCenters
= []
The list of medical centers.
$municipality
private
MunicipalityDomain|null
$municipality
= null
The municipality domain object.
$postalCode
private
int|null
$postalCode
= null
The postal code.
Methods
getMedicalCenters()
Get the list of medical centers.
public
getMedicalCenters() : array<string|int, mixed>
Return values
array<string|int, mixed> —The list of medical centers.
getMunicipality()
Get the municipality domain object.
public
getMunicipality() : MunicipalityDomain|null
Return values
MunicipalityDomain|null —The municipality domain object.
getPostalCode()
Get the postal code.
public
getPostalCode() : int|null
Return values
int|null —The postal code.
jsonSerialize()
Description of the jsonSerialize method.
public
jsonSerialize() : array<string|int, mixed>
Return values
array<string|int, mixed> —Description of the return value.
setMedicalCenters()
Set the list of medical centers.
public
setMedicalCenters(array<string|int, mixed> $medicalCenters) : self
Parameters
- $medicalCenters : array<string|int, mixed>
-
The list of medical centers.
Return values
self —setMunicipality()
Set the municipality domain object.
public
setMunicipality(MunicipalityDomain|null $municipality) : self
Parameters
- $municipality : MunicipalityDomain|null
-
The municipality domain object.
Return values
self —setPostalCode()
Set the postal code.
public
setPostalCode(int|null $postalCode) : self
Parameters
- $postalCode : int|null
-
The postal code.