| 1 | <?php |
||
| 8 | class LicensePlateResponse |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $licensePlate; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @var bool |
||
| 17 | */ |
||
| 18 | protected $valid; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var string[] |
||
| 22 | */ |
||
| 23 | protected $details; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $country; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * @var int |
||
| 32 | */ |
||
| 33 | protected $type; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param $licensePlate |
||
| 37 | */ |
||
| 38 | public function __construct($licensePlate) |
||
| 46 | |||
| 47 | /** |
||
| 48 | * @return string |
||
| 49 | */ |
||
| 50 | public function getLicensePlate() |
||
| 54 | |||
| 55 | /** |
||
| 56 | * @param string $licensePlate |
||
| 57 | */ |
||
| 58 | public function setLicensePlate($licensePlate) |
||
| 62 | |||
| 63 | /** |
||
| 64 | * @return bool |
||
| 65 | */ |
||
| 66 | public function isValid() |
||
| 70 | |||
| 71 | /** |
||
| 72 | * @param bool $valid |
||
| 73 | */ |
||
| 74 | public function setValid($valid) |
||
| 78 | |||
| 79 | /** |
||
| 80 | * @return string[] |
||
| 81 | */ |
||
| 82 | public function getDetails() |
||
| 86 | |||
| 87 | /** |
||
| 88 | * @param string[] $details |
||
| 89 | */ |
||
| 90 | public function setDetails($details) |
||
| 94 | |||
| 95 | /** |
||
| 96 | * @param string|null $detail |
||
| 97 | */ |
||
| 98 | public function addDetail($detail) |
||
| 102 | |||
| 103 | /** |
||
| 104 | * @return string |
||
| 105 | */ |
||
| 106 | public function getCountry() |
||
| 110 | |||
| 111 | /** |
||
| 112 | * @param string $country |
||
| 113 | */ |
||
| 114 | public function setCountry($country) |
||
| 118 | |||
| 119 | /** |
||
| 120 | * @return int |
||
| 121 | */ |
||
| 122 | public function getType() |
||
| 126 | |||
| 127 | /** |
||
| 128 | * @param int $type |
||
| 129 | */ |
||
| 130 | public function setType($type) |
||
| 134 | } |
||
| 135 |