Completed
Pull Request — master (#10)
by
unknown
02:19
created

FacadeMarkedProductsResponse::getStatus()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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_INTRODUCED = 'INTRODUCED';
12
    public const STATUS_RETIRED = 'RETIRED';
13
14
    public const EMISSION_TYPE_LOCAL = 'LOCAL';
15
    public const EMISSION_TYPE_FOREIGN = 'FOREIGN';
16
    public const EMISSION_TYPE_REMAINS = 'REMAINS';
17
    public const EMISSION_TYPE_CROSSBORDER = 'CROSSBORDER';
18
19
    public const STATUS_EXT_WAIT_SHIPMENT = 'WAIT_SHIPMENT';
20
    public const STATUS_EXT_WAIT_TRANSFER_TO_OWNER = 'WAIT_TRANSFER_TO_OWNER';
21
    public const STATUS_EXT_WAIT_REMARK = 'WAIT_REMARK';
22
23
    public const WITHDRAW_REASON_RETAIL = 'RETAIL';
24
    public const WITHDRAW_REASON_EEC_EXPORT = 'EEC_EXPORT';
25
    public const WITHDRAW_REASON_BEYOND_EEC_EXPORT = 'BEYOND_EEC_EXPORT';
26
    public const WITHDRAW_REASON_RETURN = 'RETURN';
27
    public const WITHDRAW_REASON_DAMAGE_LOSS = 'DAMAGE_LOSS';
28
    public const WITHDRAW_REASON_DESTRUCTION = 'DESTRUCTION';
29
    public const WITHDRAW_REASON_CONFISCATION = 'CONFISCATION';
30
    public const WITHDRAW_REASON_LIQUIDATION = 'LIQUIDATION';
31
    public const WITHDRAW_REASON_DONATION = 'DONATION';
32
    public const WITHDRAW_REASON_STATE_ENTERPRISE = 'STATE_ENTERPRISE';
33
    public const WITHDRAW_REASON_NO_RETAIL_USE = 'NO_RETAIL_USE';
34
    public const WITHDRAW_REASON_ENTERPRISE_USE = 'ENTERPRISE_USE';
35
36
    /**
37
     * @var string
38
     */
39
    private $cis;
40
    /**
41
     * @var string
42
     */
43
    private $gtin;
44
    /**
45
     * @var string
46
     * @SerializedName("tnVed")
47
     */
48
    private $tnVed;
49
    /**
50
     * @var string
51
     * @SerializedName("productName")
52
     */
53
    private $productName;
54
    /**
55
     * @var string
56
     * @SerializedName("ownerName")
57
     */
58
    private $ownerName;
59
    /**
60
     * @var string
61
     * @SerializedName("ownerInn")
62
     */
63
    private $ownerInn;
64
    /**
65
     * @var string
66
     * @SerializedName("producerName")
67
     */
68
    private $producerName;
69
    /**
70
     * @var string
71
     * @SerializedName("producerInn")
72
     */
73
    private $producerInn;
74
    /**
75
     * @var string
76
     */
77
    private $status;
78
    /**
79
     * @var string
80
     * @SerializedName("emissionDate")
81
     */
82
    private $emissionDate;
83
    /**
84
     * @var string
85
     * @SerializedName("emissionType")
86
     */
87
    private $emissionType;
88
    /**
89
     * @var string
90
     * @SerializedName("statusExt")
91
     */
92
    private $statusExt;
93
    /**
94
     * @var string
95
     * @SerializedName("withdrawReason")
96
     */
97
    private $withdrawReason;
98
    /**
99
     * @var string
100
     */
101
    private $name;
102
    /**
103
     * @var string
104
     */
105
    private $brand;
106
    /**
107
     * @var string
108
     */
109
    private $model;
110
    /**
111
     * @var FacadeMarkedProductsCertDoc
112
     * @SerializedName("certDoc")
113
     */
114
    private $certDoc;
115
    /**
116
     * @var string
117
     */
118
    private $country;
119
    /**
120
     * @var string
121
     * @SerializedName("productTypeDesc")
122
     */
123
    private $productTypeDesc;
124
    /**
125
     * @var string
126
     */
127
    private $color;
128
    /**
129
     * @var string
130
     * @SerializedName("materialDown")
131
     */
132
    private $materialDown;
133
    /**
134
     * @var string
135
     * @SerializedName("productSize")
136
     */
137
    private $productSize;
138
    /**
139
     * @var string
140
     * @SerializedName("materialUpper")
141
     */
142
    private $materialUpper;
143
    /**
144
     * @var string
145
     * @SerializedName("materialLining")
146
     */
147
    private $materialLining;
148
    /**
149
     * @var string
150
     * @SerializedName("packageType")
151
     */
152
    private $packageType;
153
    /**
154
     * @var string
155
     * @SerializedName("productType")
156
     */
157
    private $productType;
158
159
    public function __construct(
160
        string $cis,
161
        string $gtin,
162
        string $tnVed,
163
        string $productName,
164
        string $ownerName,
165
        string $ownerInn,
166
        string $producerName,
167
        string $producerInn,
168
        string $status,
169
        string $emissionDate,
170
        string $emissionType,
171
        string $statusExt,
172
        string $withdrawReason,
173
        string $name,
174
        string $brand,
175
        string $model,
176
        FacadeMarkedProductsCertDoc $certDoc,
177
        string $country,
178
        string $productTypeDesc,
179
        string $color,
180
        string $materialDown,
181
        string $productSize,
182
        string $materialUpper,
183
        string $materialLining,
184
        string $packageType,
185
        string $productType
186
    )
187
    {
188
        $this->cis = $cis;
189
        $this->gtin = $gtin;
190
        $this->tnVed = $tnVed;
191
        $this->productName = $productName;
192
        $this->ownerName = $ownerName;
193
        $this->ownerInn = $ownerInn;
194
        $this->producerName = $producerName;
195
        $this->producerInn = $producerInn;
196
        $this->status = $status;
197
        $this->emissionDate = $emissionDate;
198
        $this->emissionType = $emissionType;
199
        $this->statusExt = $statusExt;
200
        $this->withdrawReason = $withdrawReason;
201
        $this->name = $name;
202
        $this->brand = $brand;
203
        $this->model = $model;
204
        $this->certDoc = $certDoc;
205
        $this->country = $country;
206
        $this->productTypeDesc = $productTypeDesc;
207
        $this->color = $color;
208
        $this->materialDown = $materialDown;
209
        $this->productSize = $productSize;
210
        $this->materialUpper = $materialUpper;
211
        $this->materialLining = $materialLining;
212
        $this->packageType = $packageType;
213
        $this->productType = $productType;
214
    }
215
216
    public function getCis(): string
217
    {
218
        return $this->cis;
219
    }
220
221
    public function getGtin(): string
222
    {
223
        return $this->gtin;
224
    }
225
226
    public function getTnVed(): string
227
    {
228
        return $this->tnVed;
229
    }
230
231
    public function getProductName(): string
232
    {
233
        return $this->productName;
234
    }
235
236
    public function getOwnerName(): string
237
    {
238
        return $this->ownerName;
239
    }
240
241
    public function getOwnerInn(): string
242
    {
243
        return $this->ownerInn;
244
    }
245
246
    public function getProducerName(): string
247
    {
248
        return $this->producerName;
249
    }
250
251
    public function getProducerInn(): string
252
    {
253
        return $this->producerInn;
254
    }
255
256
    public function getStatus(): string
257
    {
258
        return $this->status;
259
    }
260
261
    public function getEmissionDate(): string
262
    {
263
        return $this->emissionDate;
264
    }
265
266
    public function getEmissionType(): string
267
    {
268
        return $this->emissionType;
269
    }
270
271
    public function getStatusExt(): string
272
    {
273
        return $this->statusExt;
274
    }
275
276
    public function getWithdrawReason(): string
277
    {
278
        return $this->withdrawReason;
279
    }
280
281
    public function getName(): string
282
    {
283
        return $this->name;
284
    }
285
286
    public function getBrand(): string
287
    {
288
        return $this->brand;
289
    }
290
291
    public function getModel(): string
292
    {
293
        return $this->model;
294
    }
295
296
    public function getCertDoc(): FacadeMarkedProductsCertDoc
297
    {
298
        return $this->certDoc;
299
    }
300
301
    public function getCountry(): string
302
    {
303
        return $this->country;
304
    }
305
306
    public function getProductTypeDesc(): string
307
    {
308
        return $this->productTypeDesc;
309
    }
310
311
    public function getColor(): string
312
    {
313
        return $this->color;
314
    }
315
316
    public function getMaterialDown(): string
317
    {
318
        return $this->materialDown;
319
    }
320
321
    public function getProductSize(): string
322
    {
323
        return $this->productSize;
324
    }
325
326
    public function getMaterialUpper(): string
327
    {
328
        return $this->materialUpper;
329
    }
330
331
    public function getMaterialLining(): string
332
    {
333
        return $this->materialLining;
334
    }
335
336
    public function getPackageType(): string
337
    {
338
        return $this->packageType;
339
    }
340
341
    public function getProductType(): string
342
    {
343
        return $this->productType;
344
    }
345
}
346