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
|
@@ 246-259 (lines=14) @@
|
| 243 |
|
* @param string|null $currency |
| 244 |
|
* @return PricePnr13\PricingOptionGroup[] |
| 245 |
|
*/ |
| 246 |
|
protected static function makePricingOptionForCurrencyOverride($currency) |
| 247 |
|
{ |
| 248 |
|
$opt = []; |
| 249 |
|
|
| 250 |
|
if ($currency !== null) { |
| 251 |
|
$po = new PricingOptionGroup(PricingOptionKey::OPTION_FARE_CURRENCY_OVERRIDE); |
| 252 |
|
|
| 253 |
|
$po->currency = new Currency($currency); |
| 254 |
|
|
| 255 |
|
$opt[] = $po; |
| 256 |
|
} |
| 257 |
|
|
| 258 |
|
return $opt; |
| 259 |
|
} |
| 260 |
|
|
| 261 |
|
/** |
| 262 |
|
* @param FareBasis[] $pricingsFareBasis |
src/Amadeus/Client/Struct/Service/IntegratedPricing.php 1 location
|
@@ 219-232 (lines=14) @@
|
| 216 |
|
* @param string|null $currency |
| 217 |
|
* @return PricingOption[] |
| 218 |
|
*/ |
| 219 |
|
protected static function makePricingOptionForCurrencyOverride($currency) |
| 220 |
|
{ |
| 221 |
|
$opt = []; |
| 222 |
|
|
| 223 |
|
if ($currency !== null) { |
| 224 |
|
$po = new PricingOption(PricingOptionKey::OVERRIDE_CURRENCY); |
| 225 |
|
|
| 226 |
|
$po->currency = new Currency($currency); |
| 227 |
|
|
| 228 |
|
$opt[] = $po; |
| 229 |
|
} |
| 230 |
|
|
| 231 |
|
return $opt; |
| 232 |
|
} |
| 233 |
|
|
| 234 |
|
/** |
| 235 |
|
* @param string $overrideCode |