Total Complexity | 4 |
Total Lines | 56 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
16 | class RemoveBasketRequest extends AbstractRequest implements RequestInterface |
||
17 | { |
||
18 | public const RESPONSE_CLASS = RemoveBasketResponse::class; |
||
19 | |||
20 | /** |
||
21 | * Штрих-код заказа в системе Dalli |
||
22 | * |
||
23 | * @JMS\Type("string") |
||
24 | * @JMS\SerializedName("barcode") |
||
25 | */ |
||
26 | private ?string $barcode = null; |
||
27 | |||
28 | /** |
||
29 | * Номер заявки в учетной системе ИМ (обязательный атрибут) |
||
30 | * |
||
31 | * @JMS\Type("string") |
||
32 | * @JMS\SerializedName("number") |
||
33 | */ |
||
34 | private ?string $number = null; |
||
35 | |||
36 | /** |
||
37 | * @return string|null |
||
38 | */ |
||
39 | 1 | public function getBarcode(): ?string |
|
40 | { |
||
41 | 1 | return $this->barcode; |
|
42 | } |
||
43 | |||
44 | /** |
||
45 | * @param string|null $barcode |
||
46 | * |
||
47 | * @return RemoveBasketRequest |
||
48 | */ |
||
49 | 1 | public function setBarcode(?string $barcode): RemoveBasketRequest |
|
53 | } |
||
54 | |||
55 | /** |
||
56 | * @return string|null |
||
57 | */ |
||
58 | 1 | public function getNumber(): ?string |
|
61 | } |
||
62 | |||
63 | /** |
||
64 | * @param string|null $number |
||
65 | * |
||
66 | * @return RemoveBasketRequest |
||
67 | */ |
||
68 | 1 | public function setNumber(?string $number): RemoveBasketRequest |
|
74 |