|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
declare(strict_types=1); |
|
4
|
|
|
|
|
5
|
|
|
namespace Lamoda\IsmpClient\V3\Dto; |
|
6
|
|
|
|
|
7
|
|
|
use Symfony\Component\Serializer\Annotation\SerializedName; |
|
8
|
|
|
|
|
9
|
|
|
final class FacadeMarkedProductsResponse |
|
10
|
|
|
{ |
|
11
|
|
|
public const STATUS_EMITTED = 'EMITTED'; |
|
12
|
|
|
public const STATUS_APPLIED = 'APPLIED'; |
|
13
|
|
|
public const STATUS_INTRODUCED = 'INTRODUCED'; |
|
14
|
|
|
public const STATUS_RETIRED = 'RETIRED'; |
|
15
|
|
|
public const STATUS_ISSUED = 'ISSUED'; |
|
16
|
|
|
|
|
17
|
|
|
/** |
|
18
|
|
|
* @var string |
|
19
|
|
|
*/ |
|
20
|
|
|
private $cis; |
|
21
|
|
|
/** |
|
22
|
|
|
* @var string |
|
23
|
|
|
*/ |
|
24
|
|
|
private $gtin; |
|
25
|
|
|
/** |
|
26
|
|
|
* @var string |
|
27
|
|
|
* @SerializedName("sgtin") |
|
28
|
|
|
*/ |
|
29
|
|
|
private $sgtin; |
|
30
|
|
|
/** |
|
31
|
|
|
* @var string|null |
|
32
|
|
|
* @SerializedName("productName") |
|
33
|
|
|
*/ |
|
34
|
|
|
private $productName; |
|
35
|
|
|
/** |
|
36
|
|
|
* @var string |
|
37
|
|
|
* @SerializedName("ownerName") |
|
38
|
|
|
*/ |
|
39
|
|
|
private $ownerName; |
|
40
|
|
|
/** |
|
41
|
|
|
* @var string |
|
42
|
|
|
* @SerializedName("ownerInn") |
|
43
|
|
|
*/ |
|
44
|
|
|
private $ownerInn; |
|
45
|
|
|
/** |
|
46
|
|
|
* @var string |
|
47
|
|
|
* @SerializedName("producerName") |
|
48
|
|
|
*/ |
|
49
|
|
|
private $producerName; |
|
50
|
|
|
/** |
|
51
|
|
|
* @var string |
|
52
|
|
|
* @SerializedName("producerInn") |
|
53
|
|
|
*/ |
|
54
|
|
|
private $producerInn; |
|
55
|
|
|
/** |
|
56
|
|
|
* @var string|null |
|
57
|
|
|
* @SerializedName("agentName") |
|
58
|
|
|
*/ |
|
59
|
|
|
private $agentName; |
|
60
|
|
|
/** |
|
61
|
|
|
* @var string|null |
|
62
|
|
|
* @SerializedName("agentInn") |
|
63
|
|
|
*/ |
|
64
|
|
|
private $agentInn; |
|
65
|
|
|
/** |
|
66
|
|
|
* @var string |
|
67
|
|
|
*/ |
|
68
|
|
|
private $status; |
|
69
|
|
|
/** |
|
70
|
|
|
* @var string |
|
71
|
|
|
* @SerializedName("emissionDate") |
|
72
|
|
|
*/ |
|
73
|
|
|
private $emissionDate; |
|
74
|
|
|
/** |
|
75
|
|
|
* @var string |
|
76
|
|
|
* @SerializedName("emissionType") |
|
77
|
|
|
*/ |
|
78
|
|
|
private $emissionType; |
|
79
|
|
|
/** |
|
80
|
|
|
* @var string|null |
|
81
|
|
|
* @SerializedName("introducedDate") |
|
82
|
|
|
*/ |
|
83
|
|
|
private $introducedDate; |
|
84
|
|
|
/** |
|
85
|
|
|
* @var string|null |
|
86
|
|
|
*/ |
|
87
|
|
|
private $name; |
|
88
|
|
|
/** |
|
89
|
|
|
* @var string|null |
|
90
|
|
|
*/ |
|
91
|
|
|
private $brand; |
|
92
|
|
|
/** |
|
93
|
|
|
* @var string|null |
|
94
|
|
|
*/ |
|
95
|
|
|
private $model; |
|
96
|
|
|
/** |
|
97
|
|
|
* @var FacadeMarkedProductsCertDoc[] |
|
98
|
|
|
* @SerializedName("prevCises") |
|
99
|
|
|
*/ |
|
100
|
|
|
private $prevCises; |
|
101
|
|
|
/** |
|
102
|
|
|
* @var FacadeMarkedProductsCertDoc[] |
|
103
|
|
|
* @SerializedName("nextCises") |
|
104
|
|
|
*/ |
|
105
|
|
|
private $nextCises; |
|
106
|
|
|
/** |
|
107
|
|
|
* @var string|null |
|
108
|
|
|
*/ |
|
109
|
|
|
private $country; |
|
110
|
|
|
/** |
|
111
|
|
|
* @var string|null |
|
112
|
|
|
* @SerializedName("productTypeDesc") |
|
113
|
|
|
*/ |
|
114
|
|
|
private $productTypeDesc; |
|
115
|
|
|
/** |
|
116
|
|
|
* @var string|null |
|
117
|
|
|
*/ |
|
118
|
|
|
private $color; |
|
119
|
|
|
/** |
|
120
|
|
|
* @var string|null |
|
121
|
|
|
* @SerializedName("materialDown") |
|
122
|
|
|
*/ |
|
123
|
|
|
private $materialDown; |
|
124
|
|
|
/** |
|
125
|
|
|
* @var string|null |
|
126
|
|
|
* @SerializedName("materialUpper") |
|
127
|
|
|
*/ |
|
128
|
|
|
private $materialUpper; |
|
129
|
|
|
/** |
|
130
|
|
|
* @var string|null |
|
131
|
|
|
* @SerializedName("materialLining") |
|
132
|
|
|
*/ |
|
133
|
|
|
private $materialLining; |
|
134
|
|
|
/** |
|
135
|
|
|
* @var string |
|
136
|
|
|
* @SerializedName("packType") |
|
137
|
|
|
*/ |
|
138
|
|
|
private $packType; |
|
139
|
|
|
/** |
|
140
|
|
|
* @var int |
|
141
|
|
|
* @SerializedName("countChildren") |
|
142
|
|
|
*/ |
|
143
|
|
|
private $countChildren; |
|
144
|
|
|
/** |
|
145
|
|
|
* @var string|null |
|
146
|
|
|
* @SerializedName("goodSignedFlag") |
|
147
|
|
|
*/ |
|
148
|
|
|
private $goodSignedFlag; |
|
149
|
|
|
/** |
|
150
|
|
|
* @var string|null |
|
151
|
|
|
* @SerializedName("goodTurnFlag") |
|
152
|
|
|
*/ |
|
153
|
|
|
private $goodTurnFlag; |
|
154
|
|
|
/** |
|
155
|
|
|
* @var string|null |
|
156
|
|
|
* @SerializedName("goodMarkFlag") |
|
157
|
|
|
*/ |
|
158
|
|
|
private $goodMarkFlag; |
|
159
|
|
|
/** |
|
160
|
|
|
* @var string|null |
|
161
|
|
|
* @SerializedName("lastDocId") |
|
162
|
|
|
*/ |
|
163
|
|
|
private $lastDocId; |
|
164
|
|
|
|
|
165
|
|
|
public function __construct( |
|
166
|
|
|
string $cis, |
|
167
|
|
|
string $gtin, |
|
168
|
|
|
string $sgtin, |
|
169
|
|
|
string $ownerName, |
|
170
|
|
|
string $ownerInn, |
|
171
|
|
|
string $producerName, |
|
172
|
|
|
string $producerInn, |
|
173
|
|
|
string $status, |
|
174
|
|
|
string $emissionDate, |
|
175
|
|
|
string $emissionType, |
|
176
|
|
|
array $prevCises, |
|
177
|
|
|
array $nextCises, |
|
178
|
|
|
string $packType, |
|
179
|
|
|
int $countChildren |
|
180
|
|
|
) { |
|
181
|
|
|
$this->cis = $cis; |
|
182
|
|
|
$this->gtin = $gtin; |
|
183
|
|
|
$this->sgtin = $sgtin; |
|
184
|
|
|
$this->ownerName = $ownerName; |
|
185
|
|
|
$this->ownerInn = $ownerInn; |
|
186
|
|
|
$this->producerName = $producerName; |
|
187
|
|
|
$this->producerInn = $producerInn; |
|
188
|
|
|
$this->status = $status; |
|
189
|
|
|
$this->emissionDate = $emissionDate; |
|
190
|
|
|
$this->emissionType = $emissionType; |
|
191
|
|
|
$this->prevCises = $prevCises; |
|
192
|
|
|
$this->nextCises = $nextCises; |
|
193
|
|
|
$this->packType = $packType; |
|
194
|
|
|
$this->countChildren = $countChildren; |
|
195
|
|
|
} |
|
196
|
|
|
|
|
197
|
|
|
public function getCis(): string |
|
198
|
|
|
{ |
|
199
|
|
|
return $this->cis; |
|
200
|
|
|
} |
|
201
|
|
|
|
|
202
|
|
|
public function getGtin(): string |
|
203
|
|
|
{ |
|
204
|
|
|
return $this->gtin; |
|
205
|
|
|
} |
|
206
|
|
|
|
|
207
|
|
|
public function getSgtin(): string |
|
208
|
|
|
{ |
|
209
|
|
|
return $this->sgtin; |
|
210
|
|
|
} |
|
211
|
|
|
|
|
212
|
|
|
public function getProductName(): ?string |
|
213
|
|
|
{ |
|
214
|
|
|
return $this->productName; |
|
215
|
|
|
} |
|
216
|
|
|
|
|
217
|
|
|
public function getOwnerName(): string |
|
218
|
|
|
{ |
|
219
|
|
|
return $this->ownerName; |
|
220
|
|
|
} |
|
221
|
|
|
|
|
222
|
|
|
public function getOwnerInn(): string |
|
223
|
|
|
{ |
|
224
|
|
|
return $this->ownerInn; |
|
225
|
|
|
} |
|
226
|
|
|
|
|
227
|
|
|
public function getProducerName(): string |
|
228
|
|
|
{ |
|
229
|
|
|
return $this->producerName; |
|
230
|
|
|
} |
|
231
|
|
|
|
|
232
|
|
|
public function getProducerInn(): string |
|
233
|
|
|
{ |
|
234
|
|
|
return $this->producerInn; |
|
235
|
|
|
} |
|
236
|
|
|
|
|
237
|
|
|
public function getAgentName(): ?string |
|
238
|
|
|
{ |
|
239
|
|
|
return $this->agentName; |
|
240
|
|
|
} |
|
241
|
|
|
|
|
242
|
|
|
public function getAgentInn(): ?string |
|
243
|
|
|
{ |
|
244
|
|
|
return $this->agentInn; |
|
245
|
|
|
} |
|
246
|
|
|
|
|
247
|
|
|
public function getStatus(): string |
|
248
|
|
|
{ |
|
249
|
|
|
return $this->status; |
|
250
|
|
|
} |
|
251
|
|
|
|
|
252
|
|
|
public function getEmissionDate(): string |
|
253
|
|
|
{ |
|
254
|
|
|
return $this->emissionDate; |
|
255
|
|
|
} |
|
256
|
|
|
|
|
257
|
|
|
public function getEmissionType(): string |
|
258
|
|
|
{ |
|
259
|
|
|
return $this->emissionType; |
|
260
|
|
|
} |
|
261
|
|
|
|
|
262
|
|
|
public function getIntroducedDate(): ?string |
|
263
|
|
|
{ |
|
264
|
|
|
return $this->introducedDate; |
|
265
|
|
|
} |
|
266
|
|
|
|
|
267
|
|
|
public function getName(): ?string |
|
268
|
|
|
{ |
|
269
|
|
|
return $this->name; |
|
270
|
|
|
} |
|
271
|
|
|
|
|
272
|
|
|
public function getBrand(): ?string |
|
273
|
|
|
{ |
|
274
|
|
|
return $this->brand; |
|
275
|
|
|
} |
|
276
|
|
|
|
|
277
|
|
|
public function getModel(): ?string |
|
278
|
|
|
{ |
|
279
|
|
|
return $this->model; |
|
280
|
|
|
} |
|
281
|
|
|
|
|
282
|
|
|
/** |
|
283
|
|
|
* @return FacadeMarkedProductsCertDoc[] |
|
284
|
|
|
*/ |
|
285
|
|
|
public function getPrevCises(): array |
|
286
|
|
|
{ |
|
287
|
|
|
return $this->prevCises; |
|
288
|
|
|
} |
|
289
|
|
|
|
|
290
|
|
|
/** |
|
291
|
|
|
* @return FacadeMarkedProductsCertDoc[] |
|
292
|
|
|
*/ |
|
293
|
|
|
public function getNextCises(): array |
|
294
|
|
|
{ |
|
295
|
|
|
return $this->nextCises; |
|
296
|
|
|
} |
|
297
|
|
|
|
|
298
|
|
|
public function getCountry(): ?string |
|
299
|
|
|
{ |
|
300
|
|
|
return $this->country; |
|
301
|
|
|
} |
|
302
|
|
|
|
|
303
|
|
|
public function getProductTypeDesc(): ?string |
|
304
|
|
|
{ |
|
305
|
|
|
return $this->productTypeDesc; |
|
306
|
|
|
} |
|
307
|
|
|
|
|
308
|
|
|
public function getColor(): ?string |
|
309
|
|
|
{ |
|
310
|
|
|
return $this->color; |
|
311
|
|
|
} |
|
312
|
|
|
|
|
313
|
|
|
public function getMaterialDown(): ?string |
|
314
|
|
|
{ |
|
315
|
|
|
return $this->materialDown; |
|
316
|
|
|
} |
|
317
|
|
|
|
|
318
|
|
|
public function getMaterialUpper(): ?string |
|
319
|
|
|
{ |
|
320
|
|
|
return $this->materialUpper; |
|
321
|
|
|
} |
|
322
|
|
|
|
|
323
|
|
|
public function getMaterialLining(): ?string |
|
324
|
|
|
{ |
|
325
|
|
|
return $this->materialLining; |
|
326
|
|
|
} |
|
327
|
|
|
|
|
328
|
|
|
public function getPackType(): string |
|
329
|
|
|
{ |
|
330
|
|
|
return $this->packType; |
|
331
|
|
|
} |
|
332
|
|
|
|
|
333
|
|
|
public function getCountChildren(): int |
|
334
|
|
|
{ |
|
335
|
|
|
return $this->countChildren; |
|
336
|
|
|
} |
|
337
|
|
|
|
|
338
|
|
|
public function getGoodSignedFlag(): ?string |
|
339
|
|
|
{ |
|
340
|
|
|
return $this->goodSignedFlag; |
|
341
|
|
|
} |
|
342
|
|
|
|
|
343
|
|
|
public function getGoodTurnFlag(): ?string |
|
344
|
|
|
{ |
|
345
|
|
|
return $this->goodTurnFlag; |
|
346
|
|
|
} |
|
347
|
|
|
|
|
348
|
|
|
public function getGoodMarkFlag(): ?string |
|
349
|
|
|
{ |
|
350
|
|
|
return $this->goodMarkFlag; |
|
351
|
|
|
} |
|
352
|
|
|
|
|
353
|
|
|
public function getLastDocId(): ?string |
|
354
|
|
|
{ |
|
355
|
|
|
return $this->lastDocId; |
|
356
|
|
|
} |
|
357
|
|
|
|
|
358
|
|
|
public function setProductName(?string $productName): FacadeMarkedProductsResponse |
|
359
|
|
|
{ |
|
360
|
|
|
$this->productName = $productName; |
|
361
|
|
|
return $this; |
|
362
|
|
|
} |
|
363
|
|
|
|
|
364
|
|
|
public function setAgentName(?string $agentName): FacadeMarkedProductsResponse |
|
365
|
|
|
{ |
|
366
|
|
|
$this->agentName = $agentName; |
|
367
|
|
|
return $this; |
|
368
|
|
|
} |
|
369
|
|
|
|
|
370
|
|
|
public function setAgentInn(?string $agentInn): FacadeMarkedProductsResponse |
|
371
|
|
|
{ |
|
372
|
|
|
$this->agentInn = $agentInn; |
|
373
|
|
|
return $this; |
|
374
|
|
|
} |
|
375
|
|
|
|
|
376
|
|
|
public function setIntroducedDate(?string $introducedDate): FacadeMarkedProductsResponse |
|
377
|
|
|
{ |
|
378
|
|
|
$this->introducedDate = $introducedDate; |
|
379
|
|
|
return $this; |
|
380
|
|
|
} |
|
381
|
|
|
|
|
382
|
|
|
public function setName(?string $name): FacadeMarkedProductsResponse |
|
383
|
|
|
{ |
|
384
|
|
|
$this->name = $name; |
|
385
|
|
|
return $this; |
|
386
|
|
|
} |
|
387
|
|
|
|
|
388
|
|
|
public function setBrand(?string $brand): FacadeMarkedProductsResponse |
|
389
|
|
|
{ |
|
390
|
|
|
$this->brand = $brand; |
|
391
|
|
|
return $this; |
|
392
|
|
|
} |
|
393
|
|
|
|
|
394
|
|
|
public function setModel(?string $model): FacadeMarkedProductsResponse |
|
395
|
|
|
{ |
|
396
|
|
|
$this->model = $model; |
|
397
|
|
|
return $this; |
|
398
|
|
|
} |
|
399
|
|
|
|
|
400
|
|
|
public function setCountry(?string $country): FacadeMarkedProductsResponse |
|
401
|
|
|
{ |
|
402
|
|
|
$this->country = $country; |
|
403
|
|
|
return $this; |
|
404
|
|
|
} |
|
405
|
|
|
|
|
406
|
|
|
public function setProductTypeDesc(?string $productTypeDesc): FacadeMarkedProductsResponse |
|
407
|
|
|
{ |
|
408
|
|
|
$this->productTypeDesc = $productTypeDesc; |
|
409
|
|
|
return $this; |
|
410
|
|
|
} |
|
411
|
|
|
|
|
412
|
|
|
public function setColor(?string $color): FacadeMarkedProductsResponse |
|
413
|
|
|
{ |
|
414
|
|
|
$this->color = $color; |
|
415
|
|
|
return $this; |
|
416
|
|
|
} |
|
417
|
|
|
|
|
418
|
|
|
public function setMaterialDown(?string $materialDown): FacadeMarkedProductsResponse |
|
419
|
|
|
{ |
|
420
|
|
|
$this->materialDown = $materialDown; |
|
421
|
|
|
return $this; |
|
422
|
|
|
} |
|
423
|
|
|
|
|
424
|
|
|
public function setMaterialUpper(?string $materialUpper): FacadeMarkedProductsResponse |
|
425
|
|
|
{ |
|
426
|
|
|
$this->materialUpper = $materialUpper; |
|
427
|
|
|
return $this; |
|
428
|
|
|
} |
|
429
|
|
|
|
|
430
|
|
|
public function setMaterialLining(?string $materialLining): FacadeMarkedProductsResponse |
|
431
|
|
|
{ |
|
432
|
|
|
$this->materialLining = $materialLining; |
|
433
|
|
|
return $this; |
|
434
|
|
|
} |
|
435
|
|
|
|
|
436
|
|
|
public function setGoodSignedFlag(?string $goodSignedFlag): FacadeMarkedProductsResponse |
|
437
|
|
|
{ |
|
438
|
|
|
$this->goodSignedFlag = $goodSignedFlag; |
|
439
|
|
|
return $this; |
|
440
|
|
|
} |
|
441
|
|
|
|
|
442
|
|
|
public function setGoodTurnFlag(?string $goodTurnFlag): FacadeMarkedProductsResponse |
|
443
|
|
|
{ |
|
444
|
|
|
$this->goodTurnFlag = $goodTurnFlag; |
|
445
|
|
|
return $this; |
|
446
|
|
|
} |
|
447
|
|
|
|
|
448
|
|
|
public function setGoodMarkFlag(?string $goodMarkFlag): FacadeMarkedProductsResponse |
|
449
|
|
|
{ |
|
450
|
|
|
$this->goodMarkFlag = $goodMarkFlag; |
|
451
|
|
|
return $this; |
|
452
|
|
|
} |
|
453
|
|
|
|
|
454
|
|
|
public function setLastDocId(?string $lastDocId): FacadeMarkedProductsResponse |
|
455
|
|
|
{ |
|
456
|
|
|
$this->lastDocId = $lastDocId; |
|
457
|
|
|
return $this; |
|
458
|
|
|
} |
|
459
|
|
|
} |
|
460
|
|
|
|