Passed
Push — master ( 31fd3d...9d78ee )
by Agaletskiy
52s queued 14s
created

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