1
|
|
|
<?php |
2
|
|
|
/** |
3
|
|
|
* amadeus-ws-client |
4
|
|
|
* |
5
|
|
|
* Copyright 2015 Amadeus Benelux NV |
6
|
|
|
* |
7
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
8
|
|
|
* you may not use this file except in compliance with the License. |
9
|
|
|
* You may obtain a copy of the License at |
10
|
|
|
* |
11
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0 |
12
|
|
|
* |
13
|
|
|
* Unless required by applicable law or agreed to in writing, software |
14
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS, |
15
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
16
|
|
|
* See the License for the specific language governing permissions and |
17
|
|
|
* limitations under the License. |
18
|
|
|
* |
19
|
|
|
* @package Amadeus |
20
|
|
|
* @license https://opensource.org/licenses/Apache-2.0 Apache 2.0 |
21
|
|
|
*/ |
22
|
|
|
|
23
|
|
|
namespace Amadeus\Client\Struct\Service\IntegratedPricing; |
24
|
|
|
|
25
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\CarrierInformation; |
26
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\Currency; |
27
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\DateInformation; |
28
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\FormOfPaymentInformation; |
29
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\FrequentFlyerInformation; |
30
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\LocationInformation; |
31
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\OptionDetail; |
32
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\PaxSegTstReference; |
33
|
|
|
use Amadeus\Client\Struct\Fare\PricePnr13\PricingOptionKey; |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* PricingOption |
37
|
|
|
* |
38
|
|
|
* @package Amadeus\Client\Struct\Service\IntegratedPricing |
39
|
|
|
* @author Dieter Devlieghere <[email protected]> |
40
|
|
|
*/ |
41
|
|
|
class PricingOption |
42
|
|
|
{ |
43
|
|
|
/** |
44
|
|
|
* @var PricingOptionKey |
45
|
|
|
*/ |
46
|
|
|
public $pricingOptionKey; |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* @var OptionDetail |
50
|
|
|
*/ |
51
|
|
|
public $optionDetail; |
52
|
|
|
|
53
|
|
|
/** |
54
|
|
|
* @var CarrierInformation |
55
|
|
|
*/ |
56
|
|
|
public $carrierInformation; |
57
|
|
|
|
58
|
|
|
/** |
59
|
|
|
* @var Currency |
60
|
|
|
*/ |
61
|
|
|
public $currency; |
62
|
|
|
|
63
|
|
|
/** |
64
|
|
|
* @var DateInformation |
65
|
|
|
*/ |
66
|
|
|
public $dateInformation; |
67
|
|
|
|
68
|
|
|
/** |
69
|
|
|
* @var FrequentFlyerInformation |
70
|
|
|
*/ |
71
|
|
|
public $frequentFlyerInformation; |
72
|
|
|
|
73
|
|
|
/** |
74
|
|
|
* @var FormOfPaymentInformation |
75
|
|
|
*/ |
76
|
|
|
public $formOfPaymentInformation; |
77
|
|
|
|
78
|
|
|
/** |
79
|
|
|
* @var LocationInformation |
80
|
|
|
*/ |
81
|
|
|
public $locationInformation; |
82
|
|
|
|
83
|
|
|
/** |
84
|
|
|
* @var TicketInformation |
85
|
|
|
*/ |
86
|
|
|
public $ticketInformation; |
87
|
|
|
|
88
|
|
|
/** |
89
|
|
|
* @var PaxSegTstReference |
90
|
|
|
*/ |
91
|
|
|
public $paxSegTstReference; |
92
|
|
|
|
93
|
|
|
/** |
94
|
|
|
* PricingOptionGroup constructor. |
95
|
|
|
* |
96
|
|
|
* @param string $key |
97
|
|
|
*/ |
98
|
|
|
public function __construct($key) |
99
|
|
|
{ |
100
|
|
|
$this->pricingOptionKey = new PricingOptionKey($key); |
101
|
|
|
} |
102
|
|
|
} |
103
|
|
|
|