Total Complexity | 5 |
Total Lines | 73 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class TrackingOperationCountry |
||
17 | { |
||
18 | /** @var int */ |
||
19 | private $Id; |
||
20 | |||
21 | /** @var string */ |
||
22 | private $Code2A; |
||
23 | |||
24 | /** @var string */ |
||
25 | private $Code3A; |
||
26 | |||
27 | /** @var string */ |
||
28 | private $NameRU; |
||
29 | |||
30 | /** @var string */ |
||
31 | private $NameEN; |
||
32 | |||
33 | /** |
||
34 | * Код страны. |
||
35 | * |
||
36 | * @return int |
||
37 | */ |
||
38 | public function getId(): int |
||
39 | { |
||
40 | return $this->Id; |
||
41 | } |
||
42 | |||
43 | /** |
||
44 | * Двухбуквенный идентификатор страны. |
||
45 | * |
||
46 | * @link https://tracking.pochta.ru/support/dictionaries/countries |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | public function getCode2A(): string |
||
51 | { |
||
52 | return $this->Code2A; |
||
53 | } |
||
54 | |||
55 | /** |
||
56 | * Трехбуквенный идентификатор страны. |
||
57 | * |
||
58 | * @link https://tracking.pochta.ru/support/dictionaries/countries |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | public function getCode3A(): string |
||
65 | } |
||
66 | |||
67 | /** |
||
68 | * Российское название страны. |
||
69 | * |
||
70 | * @link https://tracking.pochta.ru/support/dictionaries/countries |
||
71 | * |
||
72 | * @return string |
||
73 | */ |
||
74 | public function getNameRU(): string |
||
75 | { |
||
76 | return $this->NameRU; |
||
77 | } |
||
78 | |||
79 | /** |
||
80 | * Международное название страны. |
||
81 | * |
||
82 | * @link https://tracking.pochta.ru/support/dictionaries/countries |
||
83 | * |
||
84 | * @return string |
||
85 | */ |
||
86 | public function getNameEN(): string |
||
89 | } |
||
90 | } |
||
91 |