1 | <?php |
||
9 | class Reference |
||
10 | { |
||
11 | const TYPE_TST = 'T'; |
||
12 | const TYPE_RECOMMENDATION = 'REC'; |
||
13 | const TYPE_FARE_COMPONENT = 'FC'; |
||
14 | |||
15 | /** |
||
16 | * @var string |
||
17 | */ |
||
18 | private $type; |
||
19 | |||
20 | /** |
||
21 | * @var int |
||
22 | */ |
||
23 | private $value; |
||
24 | |||
25 | /** |
||
26 | * Reference constructor. |
||
27 | * @param string $type |
||
28 | * @param int $value |
||
29 | */ |
||
30 | public function __construct($type, $value) |
||
35 | |||
36 | /** |
||
37 | * @return string |
||
38 | */ |
||
39 | public function getType() |
||
43 | |||
44 | /** |
||
45 | * @return int |
||
46 | */ |
||
47 | public function getValue() |
||
51 | } |
||
52 |