CreateOrderForEmissionICResponse   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 37
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 37
rs 10
c 0
b 0
f 0

4 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 1
A getOmsId() 0 4 1
A getOrderId() 0 4 1
A getExpectedCompleteTimestamp() 0 4 1
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 $expectedCompleteTimestamp;
21
22
    public function __construct(string $omsId, string $orderId, int $expectedCompleteTimestamp)
23
    {
24
        $this->omsId = $omsId;
25
        $this->orderId = $orderId;
26
        $this->expectedCompleteTimestamp = $expectedCompleteTimestamp;
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 getExpectedCompleteTimestamp(): int
40
    {
41
        return $this->expectedCompleteTimestamp;
42
    }
43
}