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

FrequentTravellerDetails   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 57
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 0
dl 0
loc 57
rs 10
c 0
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\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