for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace VasilDakov\Speedy\Service\Location\Site;
use VasilDakov\Speedy\Traits\ToArray;
/**
* Class FindSiteRequest.
*
* @author Vasil Dakov <[email protected]>
* @author Valentin Valkanov <[email protected]>
* @copyright 2009-2022 Neutrino.bg
* @version 1.0
* @see https://services.speedy.bg/api/api_examples.html#FindSiteRequest
*/
class FindSiteRequest
{
use ToArray;
private int $countryId;
private ?string $name = null;
private ?string $postCode = null;
private ?string $type = null;
private ?string $municipality = null;
public function __construct(int $countryId, ?string $name)
$this->countryId = $countryId;
$this->name = $name;
}
public function getCountryId(): int
return $this->countryId;
public function setCountryId(int $countryId): void
public function getName(): ?string
return $this->name;
public function setName(?string $name): void
public function getPostCode(): ?string
return $this->postCode;
public function setPostCode(?string $postCode): void
$this->postCode = $postCode;
public function getType(): ?string
return $this->type;
public function setType(?string $type): void
$this->type = $type;
public function getMunicipality(): ?string
return $this->municipality;
public function setMunicipality(?string $municipality): void
$this->municipality = $municipality;