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

TransactionDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 31
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 31
rs 10
c 1
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A __construct() 0 6 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
 * TransactionDetails
12
 *
13
 * @package Amadeus\Client\Struct\SalesReports\DisplayQueryReport
14
 * @author Dieter Devlieghere <[email protected]>
15
 */
16
class TransactionDetails
17
{
18
    /**
19
     * @var string
20
     */
21
    public $code;
22
23
    /**
24
     * @var string
25
     */
26
    public $type;
27
28
    /**
29
     * @var string
30
     */
31
    public $issueIndicator;
32
33
    /**
34
     * TransactionDetails constructor.
35
     *
36
     * @param string|null $type
37
     * @param string|null $code
38
     * @param string|null $issueIndicator
39
     */
40
    public function __construct($type, $code, $issueIndicator)
41
    {
42
        $this->code = $code;
43
        $this->type = $type;
44
        $this->issueIndicator = $issueIndicator;
45
    }
46
}
47