GetICsFromOrderResponse::getCodes()   A
last analyzed

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\OmsClient\V2\Dto;
6
7
final class GetICsFromOrderResponse
8
{
9
    /**
10
     * @var string
11
     */
12
    private $omsId;
13
    /**
14
     * @var string[]
15
     */
16
    private $codes;
17
    /**
18
     * @var string
19
     */
20
    private $blockId;
21
22
    public function __construct(string $omsId, array $codes, string $blockId)
23
    {
24
        $this->omsId = $omsId;
25
        $this->codes = $codes;
26
        $this->blockId = $blockId;
27
    }
28
29
    public function getOmsId(): string
30
    {
31
        return $this->omsId;
32
    }
33
34
    /**
35
     * @return string[]
36
     */
37
    public function getCodes(): array
38
    {
39
        return $this->codes;
40
    }
41
42
    public function getBlockId(): string
43
    {
44
        return $this->blockId;
45
    }
46
}
47