1 | <?php declare(strict_types = 1); |
||
5 | class Receipt |
||
6 | { |
||
7 | |||
8 | /** |
||
9 | * XML uuid_zpravy |
||
10 | * |
||
11 | * @var \Ramsey\Uuid\UuidInterface |
||
12 | */ |
||
13 | private $uuid; |
||
14 | |||
15 | /** |
||
16 | * XML prvni_zaslani |
||
17 | * |
||
18 | * @var bool |
||
19 | */ |
||
20 | private $firstSend = true; |
||
21 | |||
22 | /** |
||
23 | * XML dic_poverujiciho |
||
24 | * |
||
25 | * @var string|null |
||
26 | */ |
||
27 | private $delegatedVatId; |
||
28 | |||
29 | /** |
||
30 | * XML porad_cis |
||
31 | * |
||
32 | * @var string |
||
33 | */ |
||
34 | private $receiptNumber; |
||
35 | |||
36 | /** |
||
37 | * XML dat_trzby |
||
38 | * |
||
39 | * @var \DateTimeImmutable |
||
40 | */ |
||
41 | private $receiptTime; |
||
42 | |||
43 | /** |
||
44 | * XML celk_trzba |
||
45 | * |
||
46 | * @var int |
||
47 | */ |
||
48 | private $totalPrice; |
||
49 | |||
50 | /** |
||
51 | * XML zakl_nepodl_dph |
||
52 | * |
||
53 | * @var int|null |
||
54 | */ |
||
55 | private $priceZeroVat; |
||
56 | |||
57 | /** |
||
58 | * XML zakl_dan1 |
||
59 | * |
||
60 | * @var int|null |
||
61 | */ |
||
62 | private $priceStandardVat; |
||
63 | |||
64 | /** |
||
65 | * XML dan1 |
||
66 | * |
||
67 | * @var int|null |
||
68 | */ |
||
69 | private $vatStandard; |
||
70 | |||
71 | /** |
||
72 | * XML zakl_dan2 |
||
73 | * |
||
74 | * @var int|null |
||
75 | */ |
||
76 | private $priceFirstReducedVat; |
||
77 | |||
78 | /** |
||
79 | * XML dan2 |
||
80 | * |
||
81 | * @var int|null |
||
82 | */ |
||
83 | private $vatFirstReduced; |
||
84 | |||
85 | /** |
||
86 | * XML zakl_dan3 |
||
87 | * |
||
88 | * @var int|null |
||
89 | */ |
||
90 | private $priceSecondReducedVat; |
||
91 | |||
92 | /** |
||
93 | * XML dan3 |
||
94 | * |
||
95 | * @var int|null |
||
96 | */ |
||
97 | private $vatSecondReduced; |
||
98 | |||
99 | /** |
||
100 | * XML cest_sluz |
||
101 | * |
||
102 | * @var int|null |
||
103 | */ |
||
104 | private $priceTravelService; |
||
105 | |||
106 | /** |
||
107 | * XML pouzit_zboz1 |
||
108 | * |
||
109 | * @var int|null |
||
110 | */ |
||
111 | private $priceUsedGoodsStandardVat; |
||
112 | |||
113 | /** |
||
114 | * XML pouzit_zboz2 |
||
115 | * |
||
116 | * @var int|null |
||
117 | */ |
||
118 | private $priceUsedGoodsFirstReducedVat; |
||
119 | |||
120 | /** |
||
121 | * XML pouzit_zboz3 |
||
122 | * |
||
123 | * @var int|null |
||
124 | */ |
||
125 | private $priceUsedGoodsSecondReducedVat; |
||
126 | |||
127 | /** |
||
128 | * XML urceno_cerp_zuct |
||
129 | * |
||
130 | * @var int|null |
||
131 | */ |
||
132 | private $priceForSubsequentSettlement; |
||
133 | |||
134 | /** |
||
135 | * XML cerp_zuct |
||
136 | * |
||
137 | * @var int|null |
||
138 | */ |
||
139 | private $priceUsedSubsequentSettlement; |
||
140 | |||
141 | 4 | public function __construct( |
|
182 | |||
183 | 4 | public function getUuid(): \Ramsey\Uuid\UuidInterface |
|
187 | |||
188 | 4 | public function isFirstSend(): bool |
|
192 | |||
193 | /** |
||
194 | * @return null|string |
||
195 | */ |
||
196 | 4 | public function getDelegatedVatId() |
|
200 | |||
201 | 4 | public function getReceiptNumber(): string |
|
205 | |||
206 | 4 | public function getReceiptTime(): \DateTimeImmutable |
|
210 | |||
211 | 4 | public function getTotalPrice(): int |
|
215 | |||
216 | /** |
||
217 | * @return int|null |
||
218 | */ |
||
219 | 4 | public function getPriceZeroVat() |
|
223 | |||
224 | /** |
||
225 | * @return int|null |
||
226 | */ |
||
227 | 4 | public function getPriceStandardVat() |
|
231 | |||
232 | /** |
||
233 | * @return int|null |
||
234 | */ |
||
235 | 4 | public function getVatStandard() |
|
239 | |||
240 | /** |
||
241 | * @return int|null |
||
242 | */ |
||
243 | 4 | public function getPriceFirstReducedVat() |
|
247 | |||
248 | /** |
||
249 | * @return int|null |
||
250 | */ |
||
251 | 4 | public function getVatFirstReduced() |
|
255 | |||
256 | /** |
||
257 | * @return int|null |
||
258 | */ |
||
259 | 4 | public function getPriceSecondReducedVat() |
|
263 | |||
264 | /** |
||
265 | * @return int|null |
||
266 | */ |
||
267 | 4 | public function getVatSecondReduced() |
|
271 | |||
272 | /** |
||
273 | * @return int|null |
||
274 | */ |
||
275 | 4 | public function getPriceTravelService() |
|
279 | |||
280 | /** |
||
281 | * @return int|null |
||
282 | */ |
||
283 | 4 | public function getPriceUsedGoodsStandardVat() |
|
287 | |||
288 | /** |
||
289 | * @return int|null |
||
290 | */ |
||
291 | 4 | public function getPriceUsedGoodsFirstReducedVat() |
|
292 | { |
||
293 | 4 | return $this->priceUsedGoodsFirstReducedVat; |
|
294 | } |
||
295 | |||
296 | /** |
||
297 | * @return int|null |
||
298 | */ |
||
299 | 4 | public function getPriceUsedGoodsSecondReducedVat() |
|
300 | { |
||
301 | 4 | return $this->priceUsedGoodsSecondReducedVat; |
|
302 | } |
||
303 | |||
304 | /** |
||
305 | * @return int|null |
||
306 | */ |
||
307 | 4 | public function getPriceForSubsequentSettlement() |
|
311 | |||
312 | /** |
||
313 | * @return int|null |
||
314 | */ |
||
315 | 4 | public function getPriceUsedSubsequentSettlement() |
|
319 | |||
320 | } |
||
321 |