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