src/Amadeus/Client/Struct/Service/IntegratedPricing.php 1 location
|
@@ 328-339 (lines=12) @@
|
325 |
|
* @param PricingOption[] $priceOptions |
326 |
|
* @return PricingOption[] |
327 |
|
*/ |
328 |
|
protected static function makeOverrideOptions($overrideOptions, $priceOptions) |
329 |
|
{ |
330 |
|
$opt = []; |
331 |
|
|
332 |
|
foreach ($overrideOptions as $overrideOption) { |
333 |
|
if (!self::hasPricingGroup($overrideOption, $priceOptions)) { |
334 |
|
$opt[] = new PricingOption($overrideOption); |
335 |
|
} |
336 |
|
} |
337 |
|
|
338 |
|
return $opt; |
339 |
|
} |
340 |
|
|
341 |
|
/** |
342 |
|
* Merges Pricing options |
src/Amadeus/Client/Struct/Fare/PricePNRWithBookingClass13.php 1 location
|
@@ 204-215 (lines=12) @@
|
201 |
|
* @param PricingOptionGroup[] $priceOptions |
202 |
|
* @return PricingOptionGroup[] |
203 |
|
*/ |
204 |
|
protected static function makeOverrideOptions($overrideOptions, $priceOptions) |
205 |
|
{ |
206 |
|
$opt = []; |
207 |
|
|
208 |
|
foreach ($overrideOptions as $overrideOption) { |
209 |
|
if (!self::hasPricingGroup($overrideOption, $priceOptions)) { |
210 |
|
$opt[] = new PricingOptionGroup($overrideOption); |
211 |
|
} |
212 |
|
} |
213 |
|
|
214 |
|
return $opt; |
215 |
|
} |
216 |
|
|
217 |
|
/** |
218 |
|
* @param string[] $overrideOptionsWithCriteria |