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

CurrencyDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 28
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 28
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
 * CurrencyDetails
12
 *
13
 * @package Amadeus\Client\Struct\SalesReports\DisplayQueryReport
14
 * @author Dieter Devlieghere <[email protected]>
15
 */
16
class CurrencyDetails
17
{
18
    const CURRENCY_TARGET = 3;
19
20
    const CURRENCY_REFERENCE = 2;
21
22
    /**
23
     * @var int
24
     */
25
    public $currencyQualifier;
26
27
    /**
28
     * @var string
29
     */
30
    public $currencyIsoCode;
31
32
    /**
33
     * CurrencyDetails constructor.
34
     *
35
     * @param int $type
36
     * @param string $currency
37
     */
38
    public function __construct($type, $currency)
39
    {
40
        $this->currencyQualifier = $type;
41
        $this->currencyIsoCode = $currency;
42
    }
43
}
44