1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
declare(strict_types=1); |
4
|
|
|
|
5
|
|
|
namespace Lamoda\IsmpClient\V4\Dto; |
6
|
|
|
|
7
|
|
|
use Symfony\Component\Serializer\Annotation\SerializedName; |
8
|
|
|
|
9
|
|
|
final class FacadeCisItemResponse |
10
|
|
|
{ |
11
|
|
|
public const STATUS_EMITTED = 'EMITTED'; |
12
|
|
|
public const STATUS_APPLIED = 'APPLIED'; |
13
|
|
|
public const STATUS_INTRODUCED = 'INTRODUCED'; |
14
|
|
|
public const STATUS_WRITTEN_OFF = 'WRITTEN_OFF'; |
15
|
|
|
public const STATUS_RETIRED = 'RETIRED'; |
16
|
|
|
public const STATUS_DISAGGREGATION = 'DISAGGREGATION'; |
17
|
|
|
|
18
|
|
|
/** |
19
|
|
|
* @var string |
20
|
|
|
*/ |
21
|
|
|
private $cis; |
22
|
|
|
/** |
23
|
|
|
* @var string|null |
24
|
|
|
*/ |
25
|
|
|
private $gtin = null; |
26
|
|
|
/** |
27
|
|
|
* @var string|null |
28
|
|
|
* @SerializedName("producerName") |
29
|
|
|
*/ |
30
|
|
|
private $producerName = null; |
31
|
|
|
/** |
32
|
|
|
* @var string |
33
|
|
|
*/ |
34
|
|
|
private $status; |
35
|
|
|
/** |
36
|
|
|
* @var string |
37
|
|
|
* @SerializedName("emissionDate") |
38
|
|
|
*/ |
39
|
|
|
private $emissionDate; |
40
|
|
|
/** @var string */ |
41
|
|
|
private $emissionType; |
42
|
|
|
/** @var string|null */ |
43
|
|
|
private $producedDate = null; |
44
|
|
|
/** |
45
|
|
|
* @var string |
46
|
|
|
* @SerializedName("packType") |
47
|
|
|
*/ |
48
|
|
|
private $packType; |
49
|
|
|
/** |
50
|
|
|
* @var string|null |
51
|
|
|
* @SerializedName("ownerName") |
52
|
|
|
*/ |
53
|
|
|
private $ownerName = null; |
54
|
|
|
/** |
55
|
|
|
* @var string|null |
56
|
|
|
* @SerializedName("ownerInn") |
57
|
|
|
*/ |
58
|
|
|
private $ownerInn = null; |
59
|
|
|
/** |
60
|
|
|
* @var string|null |
61
|
|
|
* @SerializedName("productName") |
62
|
|
|
*/ |
63
|
|
|
private $productName = null; |
64
|
|
|
/** |
65
|
|
|
* @var string|null |
66
|
|
|
*/ |
67
|
|
|
private $brand = null; |
68
|
|
|
/** @var string[]|null */ |
69
|
|
|
private $prevCises = null; |
70
|
|
|
/** @var string[]|null */ |
71
|
|
|
private $nextCises = null; |
72
|
|
|
/** @var string|null */ |
73
|
|
|
private $statusEx = null; |
74
|
|
|
/** |
75
|
|
|
* @var FacadeCisItemResponse[] |
76
|
|
|
*/ |
77
|
|
|
private $children = []; |
78
|
|
|
/** |
79
|
|
|
* @var int|null |
80
|
|
|
* @SerializedName("countChildren") |
81
|
|
|
*/ |
82
|
|
|
private $countChildren = null; |
83
|
|
|
/** |
84
|
|
|
* @var string|null |
85
|
|
|
*/ |
86
|
|
|
private $parent= null; |
87
|
|
|
/** |
88
|
|
|
* @var string|null |
89
|
|
|
* @SerializedName("agentInn") |
90
|
|
|
*/ |
91
|
|
|
private $lastDocId= null; |
92
|
|
|
/** @var string|null */ |
93
|
|
|
private $introductionDate= null; |
94
|
|
|
/** @var string|null */ |
95
|
|
|
private $agentInn= null; |
96
|
|
|
/** |
97
|
|
|
* @var string|null |
98
|
|
|
* @SerializedName("agentName") |
99
|
|
|
*/ |
100
|
|
|
private $agentName= null; |
101
|
|
|
/** @var string */ |
102
|
|
|
private $lastStatusChangeDate; |
103
|
|
|
/** @var string|null */ |
104
|
|
|
private $turnoverType= null; |
105
|
|
|
/** @var string */ |
106
|
|
|
private $productGroup; |
107
|
|
|
/** @var string|null */ |
108
|
|
|
private $tnVed10= null; |
109
|
|
|
/** @var bool|null */ |
110
|
|
|
private $markWithdraw = null; |
111
|
|
|
|
112
|
1 |
|
public function getCis(): string |
113
|
|
|
{ |
114
|
1 |
|
return $this->cis; |
115
|
|
|
} |
116
|
|
|
|
117
|
1 |
|
public function setCis(string $cis): void |
118
|
|
|
{ |
119
|
1 |
|
$this->cis = $cis; |
120
|
1 |
|
} |
121
|
|
|
|
122
|
|
|
public function getGtin(): ?string |
123
|
|
|
{ |
124
|
|
|
return $this->gtin; |
125
|
|
|
} |
126
|
|
|
|
127
|
|
|
public function setGtin(?string $gtin): void |
128
|
|
|
{ |
129
|
|
|
$this->gtin = $gtin; |
130
|
|
|
} |
131
|
|
|
|
132
|
|
|
public function getProducerName(): ?string |
133
|
|
|
{ |
134
|
|
|
return $this->producerName; |
135
|
|
|
} |
136
|
|
|
|
137
|
|
|
public function setProducerName(?string $producerName): void |
138
|
|
|
{ |
139
|
|
|
$this->producerName = $producerName; |
140
|
|
|
} |
141
|
|
|
|
142
|
|
|
public function getStatus(): string |
143
|
|
|
{ |
144
|
|
|
return $this->status; |
145
|
|
|
} |
146
|
|
|
|
147
|
|
|
public function setStatus(string $status): void |
148
|
|
|
{ |
149
|
|
|
$this->status = $status; |
150
|
|
|
} |
151
|
|
|
|
152
|
|
|
public function getEmissionDate(): string |
153
|
|
|
{ |
154
|
|
|
return $this->emissionDate; |
155
|
|
|
} |
156
|
|
|
|
157
|
|
|
public function setEmissionDate(string $emissionDate): void |
158
|
|
|
{ |
159
|
|
|
$this->emissionDate = $emissionDate; |
160
|
|
|
} |
161
|
|
|
|
162
|
|
|
public function getEmissionType(): string |
163
|
|
|
{ |
164
|
|
|
return $this->emissionType; |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
public function setEmissionType(string $emissionType): void |
168
|
|
|
{ |
169
|
|
|
$this->emissionType = $emissionType; |
170
|
|
|
} |
171
|
|
|
|
172
|
|
|
public function getProducedDate(): ?string |
173
|
|
|
{ |
174
|
|
|
return $this->producedDate; |
175
|
|
|
} |
176
|
|
|
|
177
|
|
|
public function setProducedDate(?string $producedDate): void |
178
|
|
|
{ |
179
|
|
|
$this->producedDate = $producedDate; |
180
|
|
|
} |
181
|
|
|
|
182
|
|
|
public function getPackType(): string |
183
|
|
|
{ |
184
|
|
|
return $this->packType; |
185
|
|
|
} |
186
|
|
|
|
187
|
|
|
public function setPackType(string $packType): void |
188
|
|
|
{ |
189
|
|
|
$this->packType = $packType; |
190
|
|
|
} |
191
|
|
|
|
192
|
|
|
public function getOwnerName(): ?string |
193
|
|
|
{ |
194
|
|
|
return $this->ownerName; |
195
|
|
|
} |
196
|
|
|
|
197
|
|
|
public function setOwnerName(?string $ownerName): void |
198
|
|
|
{ |
199
|
|
|
$this->ownerName = $ownerName; |
200
|
|
|
} |
201
|
|
|
|
202
|
|
|
public function getOwnerInn(): ?string |
203
|
|
|
{ |
204
|
|
|
return $this->ownerInn; |
205
|
|
|
} |
206
|
|
|
|
207
|
|
|
public function setOwnerInn(?string $ownerInn): void |
208
|
|
|
{ |
209
|
|
|
$this->ownerInn = $ownerInn; |
210
|
|
|
} |
211
|
|
|
|
212
|
|
|
public function getProductName(): ?string |
213
|
|
|
{ |
214
|
|
|
return $this->productName; |
215
|
|
|
} |
216
|
|
|
|
217
|
|
|
public function setProductName(?string $productName): void |
218
|
|
|
{ |
219
|
|
|
$this->productName = $productName; |
220
|
|
|
} |
221
|
|
|
|
222
|
|
|
public function getBrand(): ?string |
223
|
|
|
{ |
224
|
|
|
return $this->brand; |
225
|
|
|
} |
226
|
|
|
|
227
|
|
|
public function setBrand(?string $brand): void |
228
|
|
|
{ |
229
|
|
|
$this->brand = $brand; |
230
|
|
|
} |
231
|
|
|
|
232
|
|
|
public function getPrevCises(): ?array |
233
|
|
|
{ |
234
|
|
|
return $this->prevCises; |
235
|
|
|
} |
236
|
|
|
|
237
|
|
|
public function setPrevCises(?array $prevCises): void |
238
|
|
|
{ |
239
|
|
|
$this->prevCises = $prevCises; |
240
|
|
|
} |
241
|
|
|
|
242
|
|
|
public function getNextCises(): ?array |
243
|
|
|
{ |
244
|
|
|
return $this->nextCises; |
245
|
|
|
} |
246
|
|
|
|
247
|
|
|
public function setNextCises(?array $nextCises): void |
248
|
|
|
{ |
249
|
|
|
$this->nextCises = $nextCises; |
250
|
|
|
} |
251
|
|
|
|
252
|
|
|
public function getStatusEx(): ?string |
253
|
|
|
{ |
254
|
|
|
return $this->statusEx; |
255
|
|
|
} |
256
|
|
|
|
257
|
|
|
public function setStatusEx(?string $statusEx): void |
258
|
|
|
{ |
259
|
|
|
$this->statusEx = $statusEx; |
260
|
|
|
} |
261
|
|
|
|
262
|
|
|
public function getChildren(): ?array |
263
|
|
|
{ |
264
|
|
|
return $this->children; |
265
|
|
|
} |
266
|
|
|
|
267
|
|
|
public function setChildren(array $children): void |
268
|
|
|
{ |
269
|
|
|
$this->children = $children; |
270
|
|
|
} |
271
|
|
|
|
272
|
|
|
public function getCountChildren(): ?int |
273
|
|
|
{ |
274
|
|
|
return $this->countChildren; |
275
|
|
|
} |
276
|
|
|
|
277
|
|
|
public function setCountChildren(?int $countChildren): void |
278
|
|
|
{ |
279
|
|
|
$this->countChildren = $countChildren; |
280
|
|
|
} |
281
|
|
|
|
282
|
|
|
public function getParent(): ?string |
283
|
|
|
{ |
284
|
|
|
return $this->parent; |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
public function setParent(?string $parent): void |
288
|
|
|
{ |
289
|
|
|
$this->parent = $parent; |
290
|
|
|
} |
291
|
|
|
|
292
|
|
|
public function getLastDocId(): ?string |
293
|
|
|
{ |
294
|
|
|
return $this->lastDocId; |
295
|
|
|
} |
296
|
|
|
|
297
|
|
|
public function setLastDocId(?string $lastDocId): void |
298
|
|
|
{ |
299
|
|
|
$this->lastDocId = $lastDocId; |
300
|
|
|
} |
301
|
|
|
|
302
|
|
|
public function getIntroductionDate(): ?string |
303
|
|
|
{ |
304
|
|
|
return $this->introductionDate; |
305
|
|
|
} |
306
|
|
|
|
307
|
|
|
public function setIntroductionDate(?string $introductionDate): void |
308
|
|
|
{ |
309
|
|
|
$this->introductionDate = $introductionDate; |
310
|
|
|
} |
311
|
|
|
|
312
|
|
|
public function getAgentInn(): ?string |
313
|
|
|
{ |
314
|
|
|
return $this->agentInn; |
315
|
|
|
} |
316
|
|
|
|
317
|
|
|
public function setAgentInn(?string $agentInn): void |
318
|
|
|
{ |
319
|
|
|
$this->agentInn = $agentInn; |
320
|
|
|
} |
321
|
|
|
|
322
|
|
|
public function getAgentName(): ?string |
323
|
|
|
{ |
324
|
|
|
return $this->agentName; |
325
|
|
|
} |
326
|
|
|
|
327
|
|
|
public function setAgentName(?string $agentName): void |
328
|
|
|
{ |
329
|
|
|
$this->agentName = $agentName; |
330
|
|
|
} |
331
|
|
|
|
332
|
|
|
public function getLastStatusChangeDate(): string |
333
|
|
|
{ |
334
|
|
|
return $this->lastStatusChangeDate; |
335
|
|
|
} |
336
|
|
|
|
337
|
|
|
public function setLastStatusChangeDate(string $lastStatusChangeDate): void |
338
|
|
|
{ |
339
|
|
|
$this->lastStatusChangeDate = $lastStatusChangeDate; |
340
|
|
|
} |
341
|
|
|
|
342
|
|
|
public function getTurnoverType(): ?string |
343
|
|
|
{ |
344
|
|
|
return $this->turnoverType; |
345
|
|
|
} |
346
|
|
|
|
347
|
|
|
public function setTurnoverType(?string $turnoverType): void |
348
|
|
|
{ |
349
|
|
|
$this->turnoverType = $turnoverType; |
350
|
|
|
} |
351
|
|
|
|
352
|
|
|
public function getProductGroup(): string |
353
|
|
|
{ |
354
|
|
|
return $this->productGroup; |
355
|
|
|
} |
356
|
|
|
|
357
|
|
|
public function setProductGroup(string $productGroup): void |
358
|
|
|
{ |
359
|
|
|
$this->productGroup = $productGroup; |
360
|
|
|
} |
361
|
|
|
|
362
|
|
|
public function getTnVed10(): ?string |
363
|
|
|
{ |
364
|
|
|
return $this->tnVed10; |
365
|
|
|
} |
366
|
|
|
|
367
|
|
|
public function setTnVed10(?string $tnVed10): void |
368
|
|
|
{ |
369
|
|
|
$this->tnVed10 = $tnVed10; |
370
|
|
|
} |
371
|
|
|
|
372
|
|
|
public function getMarkWithdraw(): ?bool |
373
|
|
|
{ |
374
|
|
|
return $this->markWithdraw; |
375
|
|
|
} |
376
|
|
|
|
377
|
|
|
public function setMarkWithdraw(?bool $markWithdraw): void |
378
|
|
|
{ |
379
|
|
|
$this->markWithdraw = $markWithdraw; |
380
|
|
|
} |
381
|
|
|
} |
382
|
|
|
|