src/Amadeus/Client/Struct/Fare/MasterPricer/FlightInfo.php 1 location
|
@@ 110-112 (lines=3) @@
|
| 107 |
|
if ($noAirportChange === true) { |
| 108 |
|
$this->unitNumberDetail[] = new UnitNumberDetail(1, UnitNumberDetail::TYPE_NO_AIRPORT_CHANGE); |
| 109 |
|
} |
| 110 |
|
if (!is_null($cabinCode) || !is_null($cabinOption)) { |
| 111 |
|
$this->cabinId = new CabinId($cabinCode, $cabinOption); |
| 112 |
|
} |
| 113 |
|
} |
| 114 |
|
} |
| 115 |
|
|
src/Amadeus/Client/Struct/Fare/MasterPricer/TravelFlightInfo.php 1 location
|
@@ 84-86 (lines=3) @@
|
| 81 |
|
$noAirportChange = null, |
| 82 |
|
$maxElapsedFlyingTime = null |
| 83 |
|
) { |
| 84 |
|
if (!is_null($cabinCode) || !is_null($cabinOption)) { |
| 85 |
|
$this->cabinId = new CabinId($cabinCode, $cabinOption); |
| 86 |
|
} |
| 87 |
|
|
| 88 |
|
if (is_array($flightTypes)) { |
| 89 |
|
$this->flightDetail = new FlightDetail($flightTypes); |