Completed
Push — develop ( a8951f...6805ee )
by Dieter
05:48
created

FrequentTravellerDetails::__construct()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 6
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 4
nc 1
nop 3
1
<?php
2
/**
3
 * Amadeus
4
 *
5
 * Copyright 2015 Amadeus Benelux NV
6
 */
7
8
namespace Amadeus\Client\Struct\Air\MultiAvailability;
9
10
/**
11
 * FrequentTravellerDetails
12
 *
13
 * @package Amadeus\Client\Struct\Air\MultiAvailability
14
 * @author Dieter Devlieghere <[email protected]>
15
 */
16
class FrequentTravellerDetails
17
{
18
    /**
19
     * @var string
20
     */
21
    public $carrier;
22
    /**
23
     * @var string
24
     */
25
    public $number;
26
    /**
27
     * @var string
28
     */
29
    public $customerReference;
30
    /**
31
     * @var string
32
     */
33
    public $status;
34
    /**
35
     * @var string
36
     */
37
    public $tierLevel;
38
    /**
39
     * @var string
40
     */
41
    public $priorityCode;
42
    /**
43
     * @var string
44
     */
45
    public $tierDescription;
46
    /**
47
     * @var string
48
     */
49
    public $companyCode;
50
    /**
51
     * @var string
52
     */
53
    public $customerValue;
54
    /**
55
     * @var string
56
     */
57
    public $referenceType;
58
59
    /**
60
     * FrequentTravellerDetails constructor.
61
     *
62
     * @param string $carrier
63
     * @param string $number
64
     * @param string|null $refType
65
     */
66
    public function __construct($carrier, $number, $refType = null)
67
    {
68
        $this->carrier = $carrier;
69
        $this->number = $number;
70
        $this->referenceType = $refType;
71
    }
72
}
73