Completed
Push — develop ( b71e24...13e4b5 )
by Dieter
10:39
created

OriginatorDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 24
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 24
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 5 1
1
<?php
2
/**
3
 * Amadeus
4
 *
5
 * Copyright 2015 Amadeus Benelux NV
6
 */
7
8
namespace Amadeus\Client\Struct\SalesReports\DisplayQueryReport;
9
10
/**
11
 * OriginatorDetails
12
 *
13
 * @package Amadeus\Client\Struct\SalesReports\DisplayQueryReport
14
 * @author Dieter Devlieghere <[email protected]>
15
 */
16
class OriginatorDetails
17
{
18
    /**
19
     * @var string
20
     */
21
    public $originatorId;
22
23
    /**
24
     * @var string
25
     */
26
    public $inHouseIdentification1;
27
28
    /**
29
     * OriginatorDetails constructor.
30
     *
31
     * @param string $iataNumber
32
     * @param string $officeId
33
     */
34
    public function __construct($iataNumber, $officeId)
35
    {
36
        $this->originatorId = $iataNumber;
37
        $this->inHouseIdentification1 = $officeId;
38
    }
39
}
40