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|null |
37
|
|
|
* @SerializedName("ownerName") |
38
|
|
|
*/ |
39
|
|
|
private $ownerName; |
40
|
|
|
/** |
41
|
|
|
* @var string|null |
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 $producerName, |
170
|
|
|
string $producerInn, |
171
|
|
|
string $status, |
172
|
|
|
string $emissionDate, |
173
|
|
|
string $emissionType, |
174
|
|
|
array $prevCises, |
175
|
|
|
array $nextCises, |
176
|
|
|
string $packType, |
177
|
|
|
int $countChildren |
178
|
|
|
) { |
179
|
|
|
$this->cis = $cis; |
180
|
|
|
$this->gtin = $gtin; |
181
|
|
|
$this->sgtin = $sgtin; |
182
|
|
|
$this->producerName = $producerName; |
183
|
|
|
$this->producerInn = $producerInn; |
184
|
|
|
$this->status = $status; |
185
|
|
|
$this->emissionDate = $emissionDate; |
186
|
|
|
$this->emissionType = $emissionType; |
187
|
|
|
$this->prevCises = $prevCises; |
188
|
|
|
$this->nextCises = $nextCises; |
189
|
|
|
$this->packType = $packType; |
190
|
|
|
$this->countChildren = $countChildren; |
191
|
|
|
} |
192
|
|
|
|
193
|
|
|
public function getCis(): string |
194
|
|
|
{ |
195
|
|
|
return $this->cis; |
196
|
|
|
} |
197
|
|
|
|
198
|
|
|
public function getGtin(): string |
199
|
|
|
{ |
200
|
|
|
return $this->gtin; |
201
|
|
|
} |
202
|
|
|
|
203
|
|
|
public function getSgtin(): string |
204
|
|
|
{ |
205
|
|
|
return $this->sgtin; |
206
|
|
|
} |
207
|
|
|
|
208
|
|
|
public function getProductName(): ?string |
209
|
|
|
{ |
210
|
|
|
return $this->productName; |
211
|
|
|
} |
212
|
|
|
|
213
|
|
|
public function getOwnerName(): string |
214
|
|
|
{ |
215
|
|
|
return $this->ownerName; |
216
|
|
|
} |
217
|
|
|
|
218
|
|
|
public function getOwnerInn(): string |
219
|
|
|
{ |
220
|
|
|
return $this->ownerInn; |
221
|
|
|
} |
222
|
|
|
|
223
|
|
|
public function getProducerName(): string |
224
|
|
|
{ |
225
|
|
|
return $this->producerName; |
226
|
|
|
} |
227
|
|
|
|
228
|
|
|
public function getProducerInn(): string |
229
|
|
|
{ |
230
|
|
|
return $this->producerInn; |
231
|
|
|
} |
232
|
|
|
|
233
|
|
|
public function getAgentName(): ?string |
234
|
|
|
{ |
235
|
|
|
return $this->agentName; |
236
|
|
|
} |
237
|
|
|
|
238
|
|
|
public function getAgentInn(): ?string |
239
|
|
|
{ |
240
|
|
|
return $this->agentInn; |
241
|
|
|
} |
242
|
|
|
|
243
|
|
|
public function getStatus(): string |
244
|
|
|
{ |
245
|
|
|
return $this->status; |
246
|
|
|
} |
247
|
|
|
|
248
|
|
|
public function getEmissionDate(): string |
249
|
|
|
{ |
250
|
|
|
return $this->emissionDate; |
251
|
|
|
} |
252
|
|
|
|
253
|
|
|
public function getEmissionType(): string |
254
|
|
|
{ |
255
|
|
|
return $this->emissionType; |
256
|
|
|
} |
257
|
|
|
|
258
|
|
|
public function getIntroducedDate(): ?string |
259
|
|
|
{ |
260
|
|
|
return $this->introducedDate; |
261
|
|
|
} |
262
|
|
|
|
263
|
|
|
public function getName(): ?string |
264
|
|
|
{ |
265
|
|
|
return $this->name; |
266
|
|
|
} |
267
|
|
|
|
268
|
|
|
public function getBrand(): ?string |
269
|
|
|
{ |
270
|
|
|
return $this->brand; |
271
|
|
|
} |
272
|
|
|
|
273
|
|
|
public function getModel(): ?string |
274
|
|
|
{ |
275
|
|
|
return $this->model; |
276
|
|
|
} |
277
|
|
|
|
278
|
|
|
/** |
279
|
|
|
* @return FacadeMarkedProductsCertDoc[] |
280
|
|
|
*/ |
281
|
|
|
public function getPrevCises(): array |
282
|
|
|
{ |
283
|
|
|
return $this->prevCises; |
284
|
|
|
} |
285
|
|
|
|
286
|
|
|
/** |
287
|
|
|
* @return FacadeMarkedProductsCertDoc[] |
288
|
|
|
*/ |
289
|
|
|
public function getNextCises(): array |
290
|
|
|
{ |
291
|
|
|
return $this->nextCises; |
292
|
|
|
} |
293
|
|
|
|
294
|
|
|
public function getCountry(): ?string |
295
|
|
|
{ |
296
|
|
|
return $this->country; |
297
|
|
|
} |
298
|
|
|
|
299
|
|
|
public function getProductTypeDesc(): ?string |
300
|
|
|
{ |
301
|
|
|
return $this->productTypeDesc; |
302
|
|
|
} |
303
|
|
|
|
304
|
|
|
public function getColor(): ?string |
305
|
|
|
{ |
306
|
|
|
return $this->color; |
307
|
|
|
} |
308
|
|
|
|
309
|
|
|
public function getMaterialDown(): ?string |
310
|
|
|
{ |
311
|
|
|
return $this->materialDown; |
312
|
|
|
} |
313
|
|
|
|
314
|
|
|
public function getMaterialUpper(): ?string |
315
|
|
|
{ |
316
|
|
|
return $this->materialUpper; |
317
|
|
|
} |
318
|
|
|
|
319
|
|
|
public function getMaterialLining(): ?string |
320
|
|
|
{ |
321
|
|
|
return $this->materialLining; |
322
|
|
|
} |
323
|
|
|
|
324
|
|
|
public function getPackType(): string |
325
|
|
|
{ |
326
|
|
|
return $this->packType; |
327
|
|
|
} |
328
|
|
|
|
329
|
|
|
public function getCountChildren(): int |
330
|
|
|
{ |
331
|
|
|
return $this->countChildren; |
332
|
|
|
} |
333
|
|
|
|
334
|
|
|
public function getGoodSignedFlag(): ?string |
335
|
|
|
{ |
336
|
|
|
return $this->goodSignedFlag; |
337
|
|
|
} |
338
|
|
|
|
339
|
|
|
public function getGoodTurnFlag(): ?string |
340
|
|
|
{ |
341
|
|
|
return $this->goodTurnFlag; |
342
|
|
|
} |
343
|
|
|
|
344
|
|
|
public function getGoodMarkFlag(): ?string |
345
|
|
|
{ |
346
|
|
|
return $this->goodMarkFlag; |
347
|
|
|
} |
348
|
|
|
|
349
|
|
|
public function getLastDocId(): ?string |
350
|
|
|
{ |
351
|
|
|
return $this->lastDocId; |
352
|
|
|
} |
353
|
|
|
|
354
|
|
|
public function setProductName(?string $productName): FacadeMarkedProductsResponse |
355
|
|
|
{ |
356
|
|
|
$this->productName = $productName; |
357
|
|
|
return $this; |
358
|
|
|
} |
359
|
|
|
|
360
|
|
|
public function setOwnerName(?string $ownerName): self |
361
|
|
|
{ |
362
|
|
|
$this->ownerName = $ownerName; |
363
|
|
|
|
364
|
|
|
return $this; |
365
|
|
|
} |
366
|
|
|
|
367
|
|
|
public function setOwnerInn(?string $ownerInn): self |
368
|
|
|
{ |
369
|
|
|
$this->ownerInn = $ownerInn; |
370
|
|
|
|
371
|
|
|
return $this; |
372
|
|
|
} |
373
|
|
|
|
374
|
|
|
public function setAgentName(?string $agentName): FacadeMarkedProductsResponse |
375
|
|
|
{ |
376
|
|
|
$this->agentName = $agentName; |
377
|
|
|
return $this; |
378
|
|
|
} |
379
|
|
|
|
380
|
|
|
public function setAgentInn(?string $agentInn): FacadeMarkedProductsResponse |
381
|
|
|
{ |
382
|
|
|
$this->agentInn = $agentInn; |
383
|
|
|
return $this; |
384
|
|
|
} |
385
|
|
|
|
386
|
|
|
public function setIntroducedDate(?string $introducedDate): FacadeMarkedProductsResponse |
387
|
|
|
{ |
388
|
|
|
$this->introducedDate = $introducedDate; |
389
|
|
|
return $this; |
390
|
|
|
} |
391
|
|
|
|
392
|
|
|
public function setName(?string $name): FacadeMarkedProductsResponse |
393
|
|
|
{ |
394
|
|
|
$this->name = $name; |
395
|
|
|
return $this; |
396
|
|
|
} |
397
|
|
|
|
398
|
|
|
public function setBrand(?string $brand): FacadeMarkedProductsResponse |
399
|
|
|
{ |
400
|
|
|
$this->brand = $brand; |
401
|
|
|
return $this; |
402
|
|
|
} |
403
|
|
|
|
404
|
|
|
public function setModel(?string $model): FacadeMarkedProductsResponse |
405
|
|
|
{ |
406
|
|
|
$this->model = $model; |
407
|
|
|
return $this; |
408
|
|
|
} |
409
|
|
|
|
410
|
|
|
public function setCountry(?string $country): FacadeMarkedProductsResponse |
411
|
|
|
{ |
412
|
|
|
$this->country = $country; |
413
|
|
|
return $this; |
414
|
|
|
} |
415
|
|
|
|
416
|
|
|
public function setProductTypeDesc(?string $productTypeDesc): FacadeMarkedProductsResponse |
417
|
|
|
{ |
418
|
|
|
$this->productTypeDesc = $productTypeDesc; |
419
|
|
|
return $this; |
420
|
|
|
} |
421
|
|
|
|
422
|
|
|
public function setColor(?string $color): FacadeMarkedProductsResponse |
423
|
|
|
{ |
424
|
|
|
$this->color = $color; |
425
|
|
|
return $this; |
426
|
|
|
} |
427
|
|
|
|
428
|
|
|
public function setMaterialDown(?string $materialDown): FacadeMarkedProductsResponse |
429
|
|
|
{ |
430
|
|
|
$this->materialDown = $materialDown; |
431
|
|
|
return $this; |
432
|
|
|
} |
433
|
|
|
|
434
|
|
|
public function setMaterialUpper(?string $materialUpper): FacadeMarkedProductsResponse |
435
|
|
|
{ |
436
|
|
|
$this->materialUpper = $materialUpper; |
437
|
|
|
return $this; |
438
|
|
|
} |
439
|
|
|
|
440
|
|
|
public function setMaterialLining(?string $materialLining): FacadeMarkedProductsResponse |
441
|
|
|
{ |
442
|
|
|
$this->materialLining = $materialLining; |
443
|
|
|
return $this; |
444
|
|
|
} |
445
|
|
|
|
446
|
|
|
public function setGoodSignedFlag(?string $goodSignedFlag): FacadeMarkedProductsResponse |
447
|
|
|
{ |
448
|
|
|
$this->goodSignedFlag = $goodSignedFlag; |
449
|
|
|
return $this; |
450
|
|
|
} |
451
|
|
|
|
452
|
|
|
public function setGoodTurnFlag(?string $goodTurnFlag): FacadeMarkedProductsResponse |
453
|
|
|
{ |
454
|
|
|
$this->goodTurnFlag = $goodTurnFlag; |
455
|
|
|
return $this; |
456
|
|
|
} |
457
|
|
|
|
458
|
|
|
public function setGoodMarkFlag(?string $goodMarkFlag): FacadeMarkedProductsResponse |
459
|
|
|
{ |
460
|
|
|
$this->goodMarkFlag = $goodMarkFlag; |
461
|
|
|
return $this; |
462
|
|
|
} |
463
|
|
|
|
464
|
|
|
public function setLastDocId(?string $lastDocId): FacadeMarkedProductsResponse |
465
|
|
|
{ |
466
|
|
|
$this->lastDocId = $lastDocId; |
467
|
|
|
return $this; |
468
|
|
|
} |
469
|
|
|
} |
470
|
|
|
|