FacadeOrderRequest   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 getDocument() 0 4 1
A getDocumentFormat() 0 4 1
A getSignature() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Lamoda\IsmpClient\V3\Dto;
6
7
final class FacadeOrderRequest
8
{
9
    /**
10
     * @var string
11
     */
12
    private $document;
13
    /**
14
     * @var string
15
     */
16
    private $documentFormat;
17
    /**
18
     * @var string
19
     */
20
    private $signature;
21
22
    public function __construct(string $document, string $documentFormat, string $signature)
23
    {
24
        $this->document = $document;
25
        $this->documentFormat = $documentFormat;
26
        $this->signature = $signature;
27
    }
28
29
    public function getDocument(): string
30
    {
31
        return $this->document;
32
    }
33
34
    public function getDocumentFormat(): string
35
    {
36
        return $this->documentFormat;
37
    }
38
39
    public function getSignature(): string
40
    {
41
        return $this->signature;
42
    }
43
}
44