Passed
Push — master ( 5b9625...a3c6c3 )
by Artem
03:31
created

Request   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 20
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 5
c 1
b 0
f 0
dl 0
loc 20
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 3 1
A setShoppingResponse() 0 3 1
1
<?php
2
3
namespace Amadeus\Client\Struct\Travel\ServiceList;
4
5
use Amadeus\Client\Struct\Travel\ShoppingResponse;
6
7
/**
8
 * Request
9
 *
10
 * @package Amadeus\Client\Struct\Travel\ServiceList
11
 * @author Artem Zakharchenko <[email protected]>
12
 */
13
class Request
14
{
15
    /**
16
     * @var CoreRequest
17
     */
18
    public $CoreRequest;
19
20
    /**
21
     * @var ShoppingResponse
22
     */
23
    public $ShoppingResponse;
24
25
    public function __construct(CoreRequest $coreRequest)
26
    {
27
        $this->CoreRequest = $coreRequest;
28
    }
29
30
    public function setShoppingResponse(ShoppingResponse $ShoppingResponse)
31
    {
32
        $this->ShoppingResponse = $ShoppingResponse;
33
    }
34
}
35