src/Amadeus/Client/Struct/Service/IntegratedPricing.php 1 location
|
@@ 182-195 (lines=14) @@
|
| 179 |
|
* @param string|null $currency |
| 180 |
|
* @return PricingOption[] |
| 181 |
|
*/ |
| 182 |
|
protected static function makePricingOptionForCurrencyOverride($currency) |
| 183 |
|
{ |
| 184 |
|
$opt = []; |
| 185 |
|
|
| 186 |
|
if ($currency !== null) { |
| 187 |
|
$po = new PricingOption(PricingOptionKey::OVERRIDE_CURRENCY); |
| 188 |
|
|
| 189 |
|
$po->currency = new Currency($currency); |
| 190 |
|
|
| 191 |
|
$opt[] = $po; |
| 192 |
|
} |
| 193 |
|
|
| 194 |
|
return $opt; |
| 195 |
|
} |
| 196 |
|
|
| 197 |
|
/** |
| 198 |
|
* @param string $overrideCode |
src/Amadeus/Client/Struct/Ticket/RepricePnrWithBookingClass.php 1 location
|
@@ 417-430 (lines=14) @@
|
| 414 |
|
* @param string|null $currency |
| 415 |
|
* @return PricingOption[] |
| 416 |
|
*/ |
| 417 |
|
protected function makePricingOptionForCurrencyOverride($currency) |
| 418 |
|
{ |
| 419 |
|
$opt = []; |
| 420 |
|
|
| 421 |
|
if ($currency !== null) { |
| 422 |
|
$po = new PricingOption(PricingOptionKey::OPTION_FARE_CURRENCY_OVERRIDE); |
| 423 |
|
|
| 424 |
|
$po->currency = new Currency($currency); |
| 425 |
|
|
| 426 |
|
$opt[] = $po; |
| 427 |
|
} |
| 428 |
|
|
| 429 |
|
return $opt; |
| 430 |
|
} |
| 431 |
|
|
| 432 |
|
/** |
| 433 |
|
* @param string[] $paxDiscount |
src/Amadeus/Client/Struct/Fare/PricePNRWithBookingClass13.php 1 location
|
@@ 257-270 (lines=14) @@
|
| 254 |
|
* @param string|null $currency |
| 255 |
|
* @return PricePnr13\PricingOptionGroup[] |
| 256 |
|
*/ |
| 257 |
|
protected static function makePricingOptionForCurrencyOverride($currency) |
| 258 |
|
{ |
| 259 |
|
$opt = []; |
| 260 |
|
|
| 261 |
|
if ($currency !== null) { |
| 262 |
|
$po = new PricingOptionGroup(PricingOptionKey::OPTION_FARE_CURRENCY_OVERRIDE); |
| 263 |
|
|
| 264 |
|
$po->currency = new Currency($currency); |
| 265 |
|
|
| 266 |
|
$opt[] = $po; |
| 267 |
|
} |
| 268 |
|
|
| 269 |
|
return $opt; |
| 270 |
|
} |
| 271 |
|
|
| 272 |
|
|
| 273 |
|
/** |