Passed
Push — master ( 321509...140bc5 )
by Agaletskiy
02:43
created

FacadeDocListV2ItemResponse::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 15

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 15
rs 9.7666
c 0
b 0
f 0
cc 1
nc 1
nop 6
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 FacadeDocListV2ItemResponse
10
{
11
    /**
12
     * @var string
13
     */
14
    private $number;
15
    /**
16
     * @var string
17
     * @SerializedName("docDate")
18
     */
19
    private $docDate;
20
    /**
21
     * @var int
22
     * @SerializedName("receivedAt")
23
     */
24
    private $receivedAt;
25
    /**
26
     * @var string
27
     */
28
    private $type;
29
    /**
30
     * @var string
31
     */
32
    private $status;
33
    /**
34
     * @var string
35
     * @SerializedName("senderName")
36
     */
37
    private $senderName;
38
39
    public function __construct(
40
        string $number,
41
        string $docDate,
42
        int $receivedAt,
43
        string $type,
44
        string $status,
45
        string $senderName
46
    ) {
47
        $this->number = $number;
48
        $this->docDate = $docDate;
49
        $this->receivedAt = $receivedAt;
50
        $this->type = $type;
51
        $this->status = $status;
52
        $this->senderName = $senderName;
53
    }
54
55
    public function getNumber(): string
56
    {
57
        return $this->number;
58
    }
59
60
    public function getDocDate(): string
61
    {
62
        return $this->docDate;
63
    }
64
65
    public function getReceivedAt(): int
66
    {
67
        return $this->receivedAt;
68
    }
69
70
    public function getType(): string
71
    {
72
        return $this->type;
73
    }
74
75
    public function getStatus(): string
76
    {
77
        return $this->status;
78
    }
79
80
    public function getSenderName(): string
81
    {
82
        return $this->senderName;
83
    }
84
}