1 | <?php |
||
31 | class FareOptions |
||
32 | { |
||
33 | /** |
||
34 | * @var PricingTickInfo |
||
35 | */ |
||
36 | public $pricingTickInfo; |
||
37 | /** |
||
38 | * @var Corporate |
||
39 | */ |
||
40 | public $corporate; |
||
41 | |||
42 | public $ticketingPriceScheme; |
||
43 | /** |
||
44 | * @var FeeIdDescription |
||
45 | */ |
||
46 | public $feeIdDescription; |
||
47 | /** |
||
48 | * @var ConversionRate |
||
49 | */ |
||
50 | public $conversionRate; |
||
51 | |||
52 | public $formOfPayment; |
||
53 | |||
54 | public $frequentTravellerInfo; |
||
55 | |||
56 | public $monetaryCabinInfo; |
||
57 | |||
58 | /** |
||
59 | * FareOptions constructor. |
||
60 | * |
||
61 | * @param array $flightOptions List of flight / fare options |
||
62 | * @param array $corpCodesUniFares list of Corporate codes for Corporate Unifares |
||
63 | * @param bool $tickPreCheck Do Ticketability pre-check? |
||
64 | * @param string|null $currency Override Currency conversion |
||
65 | * @param \Amadeus\Client\RequestOptions\Fare\MPFeeId[]|null $flightOptions List of FeeIds |
||
66 | */ |
||
67 | 5 | public function __construct(array $flightOptions, array $corpCodesUniFares, $tickPreCheck, $currency, $feeIds) |
|
87 | |||
88 | /** |
||
89 | * Set fee ids if needed |
||
90 | * |
||
91 | * @param \Amadeus\Client\RequestOptions\Fare\MPFeeId[] $feeIds |
||
92 | */ |
||
93 | 1 | protected function loadFeeIds($feeIds) |
|
102 | |||
103 | /** |
||
104 | * Set currency override code if needed |
||
105 | * |
||
106 | * @param string|null $currency |
||
107 | */ |
||
108 | 5 | protected function loadCurrencyOverride($currency) |
|
116 | |||
117 | /** |
||
118 | * Add PriceType |
||
119 | * |
||
120 | * @param string $type |
||
121 | */ |
||
122 | 4 | protected function addPriceType($type) |
|
133 | } |
||
134 |