FacadeOrderResponse   A
last analyzed

Complexity

Total Complexity 3

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 30
c 0
b 0
f 0
wmc 3
lcom 0
cbo 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
A getOrderId() 0 4 1
A getOrderStatus() 0 4 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Lamoda\IsmpClient\V3\Dto;
6
7
final class FacadeOrderResponse
8
{
9
    /**
10
     * @var string
11
     */
12
    private $orderId;
13
    /**
14
     * @var string
15
     */
16
    private $orderStatus;
17
18
    /**
19
     * * @param string $orderId
20
     */
21
    public function __construct(string $orderId, string $orderStatus)
22
    {
23
        $this->orderId = $orderId;
24
        $this->orderStatus = $orderStatus;
25
    }
26
27
    public function getOrderId(): string
28
    {
29
        return $this->orderId;
30
    }
31
32
    public function getOrderStatus(): string
33
    {
34
        return $this->orderStatus;
35
    }
36
}
37