Complex classes like Client often do a lot of different things. To break such a class down, we need to identify a cohesive component within that class. A common approach to find such a component is to look for fields/methods that share the same prefixes, or suffixes. You can also have a look at the cohesion graph to spot any un-connected, or weakly-connected components.
Once you have determined the fields that belong together, you can apply the Extract Class refactoring. If the component makes sense as a sub-class, Extract Subclass is also a candidate, and is often faster.
While breaking up the class, it is a good idea to analyze how other classes use Client, and based on these observations, apply Extract Interface, too.
| 1 | <?php  | 
            ||
| 41 | class Client extends Base  | 
            ||
| 42 | { | 
            ||
| 43 | /**  | 
            ||
| 44 | * Amadeus SOAP header version 1  | 
            ||
| 45 | */  | 
            ||
| 46 | const HEADER_V1 = "1";  | 
            ||
| 47 | /**  | 
            ||
| 48 | * Amadeus SOAP header version 2  | 
            ||
| 49 | */  | 
            ||
| 50 | const HEADER_V2 = "2";  | 
            ||
| 51 | /**  | 
            ||
| 52 | * Amadeus SOAP header version 4  | 
            ||
| 53 | */  | 
            ||
| 54 | const HEADER_V4 = "4";  | 
            ||
| 55 | |||
| 56 | /**  | 
            ||
| 57 | * Version string  | 
            ||
| 58 | *  | 
            ||
| 59 | * @var string  | 
            ||
| 60 | */  | 
            ||
| 61 | const VERSION = "1.8.0-dev";  | 
            ||
| 62 | |||
| 63 | /**  | 
            ||
| 64 | * An identifier string for the library (to be used in Received From entries)  | 
            ||
| 65 | *  | 
            ||
| 66 | * @var string  | 
            ||
| 67 | */  | 
            ||
| 68 | const RECEIVED_FROM_IDENTIFIER = "amabnl-amadeus-ws-client";  | 
            ||
| 69 | |||
| 70 | /**  | 
            ||
| 71 | * @var string  | 
            ||
| 72 | */  | 
            ||
| 73 | protected $lastMessage;  | 
            ||
| 74 | |||
| 75 | /**  | 
            ||
| 76 | * Set the session as stateful (true) or stateless (false)  | 
            ||
| 77 | *  | 
            ||
| 78 | * @param bool $newStateful  | 
            ||
| 79 | */  | 
            ||
| 80 | 4 | public function setStateful($newStateful)  | 
            |
| 84 | |||
| 85 | /**  | 
            ||
| 86 | * @return bool  | 
            ||
| 87 | */  | 
            ||
| 88 | 12 | public function isStateful()  | 
            |
| 92 | |||
| 93 | /**  | 
            ||
| 94 | * Get TransactionFlowLink Consumer Id  | 
            ||
| 95 | *  | 
            ||
| 96 | * @return string|null  | 
            ||
| 97 | */  | 
            ||
| 98 | 4 | public function getConsumerId()  | 
            |
| 102 | |||
| 103 | /**  | 
            ||
| 104 | * Set TransactionFlowLink Consumer Id  | 
            ||
| 105 | *  | 
            ||
| 106 | * @throws UnsupportedOperationException when used on unsupported WSAP versions  | 
            ||
| 107 | * @param string $id  | 
            ||
| 108 | * @return void  | 
            ||
| 109 | */  | 
            ||
| 110 | 4 | public function setConsumerId($id)  | 
            |
| 115 | |||
| 116 | /**  | 
            ||
| 117 | * Get the last raw XML message that was sent out  | 
            ||
| 118 | *  | 
            ||
| 119 | * @return string|null  | 
            ||
| 120 | */  | 
            ||
| 121 | 4 | public function getLastRequest()  | 
            |
| 125 | |||
| 126 | /**  | 
            ||
| 127 | * Get the last raw XML message that was received  | 
            ||
| 128 | *  | 
            ||
| 129 | * @return string|null  | 
            ||
| 130 | */  | 
            ||
| 131 | 4 | public function getLastResponse()  | 
            |
| 135 | |||
| 136 | /**  | 
            ||
| 137 | * Get the request headers for the last SOAP message that was sent out  | 
            ||
| 138 | *  | 
            ||
| 139 | * @return string|null  | 
            ||
| 140 | */  | 
            ||
| 141 | 4 | public function getLastRequestHeaders()  | 
            |
| 145 | |||
| 146 | /**  | 
            ||
| 147 | * Get the response headers for the last SOAP message that was received  | 
            ||
| 148 | *  | 
            ||
| 149 | * @return string|null  | 
            ||
| 150 | */  | 
            ||
| 151 | 4 | public function getLastResponseHeaders()  | 
            |
| 155 | |||
| 156 | /**  | 
            ||
| 157 | * Get session information for authenticated session  | 
            ||
| 158 | *  | 
            ||
| 159 | * - sessionId  | 
            ||
| 160 | * - sequenceNr  | 
            ||
| 161 | * - securityToken  | 
            ||
| 162 | *  | 
            ||
| 163 | * @return array|null  | 
            ||
| 164 | */  | 
            ||
| 165 | 4 | public function getSessionData()  | 
            |
| 169 | |||
| 170 | /**  | 
            ||
| 171 | * Restore a previously used session  | 
            ||
| 172 | *  | 
            ||
| 173 | * To be used when implementing your own session pooling system on legacy Soap Header 2 applications.  | 
            ||
| 174 | *  | 
            ||
| 175 | * @param array $sessionData  | 
            ||
| 176 | * @return bool  | 
            ||
| 177 | */  | 
            ||
| 178 | 4 | public function setSessionData(array $sessionData)  | 
            |
| 182 | |||
| 183 | /**  | 
            ||
| 184 | * Construct Amadeus Web Services client  | 
            ||
| 185 | *  | 
            ||
| 186 | * @param Params $params  | 
            ||
| 187 | */  | 
            ||
| 188 | 396 | public function __construct(Params $params)  | 
            |
| 196 | |||
| 197 | /**  | 
            ||
| 198 | * Authenticate.  | 
            ||
| 199 | *  | 
            ||
| 200 | * Authentication Parameters were provided at construction time (authParams)  | 
            ||
| 201 | *  | 
            ||
| 202 | * @return Result  | 
            ||
| 203 | * @throws Exception  | 
            ||
| 204 | */  | 
            ||
| 205 | 8 | public function securityAuthenticate()  | 
            |
| 218 | |||
| 219 | /**  | 
            ||
| 220 | * Terminate a session - only applicable to non-stateless mode.  | 
            ||
| 221 | *  | 
            ||
| 222 | * @return Result  | 
            ||
| 223 | * @throws Exception  | 
            ||
| 224 | */  | 
            ||
| 225 | 4 | public function securitySignOut()  | 
            |
| 236 | |||
| 237 | /**  | 
            ||
| 238 | * PNR_Retrieve - Retrieve an Amadeus PNR by record locator  | 
            ||
| 239 | *  | 
            ||
| 240 | * @param RequestOptions\PnrRetrieveOptions $options  | 
            ||
| 241 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 242 | * @return Result  | 
            ||
| 243 | * @throws Client\InvalidMessageException  | 
            ||
| 244 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 245 | * @throws Exception  | 
            ||
| 246 | */  | 
            ||
| 247 | 4 | public function pnrRetrieve(RequestOptions\PnrRetrieveOptions $options, $messageOptions = [])  | 
            |
| 253 | |||
| 254 | /**  | 
            ||
| 255 | * PNR_Split  | 
            ||
| 256 | *  | 
            ||
| 257 | * @param RequestOptions\PnrSplitOptions $options  | 
            ||
| 258 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 259 | * @return Result  | 
            ||
| 260 | * @throws Client\InvalidMessageException  | 
            ||
| 261 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 262 | * @throws Exception  | 
            ||
| 263 | */  | 
            ||
| 264 | 4 | public function pnrSplit(  | 
            |
| 272 | |||
| 273 | /**  | 
            ||
| 274 | * Create a PNR using PNR_AddMultiElements  | 
            ||
| 275 | *  | 
            ||
| 276 | * @param RequestOptions\PnrCreatePnrOptions $options  | 
            ||
| 277 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 278 | * @return Result  | 
            ||
| 279 | * @throws Client\InvalidMessageException  | 
            ||
| 280 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 281 | * @throws Exception  | 
            ||
| 282 | */  | 
            ||
| 283 | 4 | public function pnrCreatePnr(RequestOptions\PnrCreatePnrOptions $options, $messageOptions = [])  | 
            |
| 289 | |||
| 290 | /**  | 
            ||
| 291 | * PNR_AddMultiElements - Create a new PNR or update an existing PNR.  | 
            ||
| 292 | *  | 
            ||
| 293 | * https://webservices.amadeus.com/extranet/viewService.do?id=25&flavourId=1&menuId=functional  | 
            ||
| 294 | *  | 
            ||
| 295 | * @param RequestOptions\PnrAddMultiElementsOptions $options  | 
            ||
| 296 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 297 | * @return Result  | 
            ||
| 298 | * @throws Client\InvalidMessageException  | 
            ||
| 299 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 300 | * @throws Exception  | 
            ||
| 301 | */  | 
            ||
| 302 | 8 | public function pnrAddMultiElements(RequestOptions\PnrAddMultiElementsOptions $options, $messageOptions = [])  | 
            |
| 308 | |||
| 309 | /**  | 
            ||
| 310 | * PNR_RetrieveAndDisplay - Retrieve an Amadeus PNR by record locator including extra info  | 
            ||
| 311 | *  | 
            ||
| 312 | * This extra info is info you cannot see in the regular PNR, like Offers.  | 
            ||
| 313 | *  | 
            ||
| 314 | * https://webservices.amadeus.com/extranet/viewService.do?id=1922&flavourId=1&menuId=functional  | 
            ||
| 315 | *  | 
            ||
| 316 | * @param RequestOptions\PnrRetrieveAndDisplayOptions $options Amadeus Record Locator for PNR  | 
            ||
| 317 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 318 | * @return Result  | 
            ||
| 319 | * @throws Client\InvalidMessageException  | 
            ||
| 320 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 321 | * @throws Exception  | 
            ||
| 322 | **/  | 
            ||
| 323 | 4 | public function pnrRetrieveAndDisplay(RequestOptions\PnrRetrieveAndDisplayOptions $options, $messageOptions = [])  | 
            |
| 329 | |||
| 330 | /**  | 
            ||
| 331 | * PNR_Cancel  | 
            ||
| 332 | *  | 
            ||
| 333 | * @param RequestOptions\PnrCancelOptions $options  | 
            ||
| 334 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 335 | * @return Result  | 
            ||
| 336 | * @throws Client\InvalidMessageException  | 
            ||
| 337 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 338 | * @throws Exception  | 
            ||
| 339 | */  | 
            ||
| 340 | 4 | public function pnrCancel(RequestOptions\PnrCancelOptions $options, $messageOptions = [])  | 
            |
| 346 | |||
| 347 | /**  | 
            ||
| 348 | * PNR_DisplayHistory  | 
            ||
| 349 | *  | 
            ||
| 350 | * @param RequestOptions\PnrDisplayHistoryOptions $options  | 
            ||
| 351 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 352 | * @return Result  | 
            ||
| 353 | * @throws Client\InvalidMessageException  | 
            ||
| 354 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 355 | * @throws Exception  | 
            ||
| 356 | */  | 
            ||
| 357 | 4 | public function pnrDisplayHistory(RequestOptions\PnrDisplayHistoryOptions $options, $messageOptions = [])  | 
            |
| 363 | |||
| 364 | /**  | 
            ||
| 365 | * PNR_TransferOwnership  | 
            ||
| 366 | *  | 
            ||
| 367 | * @param RequestOptions\PnrTransferOwnershipOptions $options  | 
            ||
| 368 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 369 | * @return Result  | 
            ||
| 370 | * @throws Client\InvalidMessageException  | 
            ||
| 371 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 372 | * @throws Exception  | 
            ||
| 373 | */  | 
            ||
| 374 | 4 | public function pnrTransferOwnership(RequestOptions\PnrTransferOwnershipOptions $options, $messageOptions = [])  | 
            |
| 380 | |||
| 381 | /**  | 
            ||
| 382 | * PNR_NameChange  | 
            ||
| 383 | *  | 
            ||
| 384 | * @param RequestOptions\PnrNameChangeOptions $options  | 
            ||
| 385 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 386 | * @return Result  | 
            ||
| 387 | * @throws Client\InvalidMessageException  | 
            ||
| 388 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 389 | * @throws Exception  | 
            ||
| 390 | */  | 
            ||
| 391 | 4 | public function pnrNameChange(RequestOptions\PnrNameChangeOptions $options, $messageOptions = [])  | 
            |
| 397 | |||
| 398 | /**  | 
            ||
| 399 | * Queue_List - get a list of all PNR's on a given queue  | 
            ||
| 400 | *  | 
            ||
| 401 | * https://webservices.amadeus.com/extranet/viewService.do?id=52&flavourId=1&menuId=functional  | 
            ||
| 402 | *  | 
            ||
| 403 | * @param RequestOptions\QueueListOptions $options  | 
            ||
| 404 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 405 | * @return Result  | 
            ||
| 406 | * @throws Client\InvalidMessageException  | 
            ||
| 407 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 408 | * @throws Exception  | 
            ||
| 409 | */  | 
            ||
| 410 | 4 | public function queueList(RequestOptions\QueueListOptions $options, $messageOptions = [])  | 
            |
| 416 | |||
| 417 | /**  | 
            ||
| 418 | * Queue_PlacePNR - Place a PNR on a given queue  | 
            ||
| 419 | *  | 
            ||
| 420 | * @param RequestOptions\QueuePlacePnrOptions $options  | 
            ||
| 421 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 422 | * @return Result  | 
            ||
| 423 | * @throws Client\InvalidMessageException  | 
            ||
| 424 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 425 | * @throws Exception  | 
            ||
| 426 | */  | 
            ||
| 427 | 4 | public function queuePlacePnr(RequestOptions\QueuePlacePnrOptions $options, $messageOptions = [])  | 
            |
| 433 | |||
| 434 | /**  | 
            ||
| 435 | * PNR_Ignore - Ignore an Amadeus PNR by record locator  | 
            ||
| 436 | *  | 
            ||
| 437 | * @param RequestOptions\PnrIgnoreOptions $options  | 
            ||
| 438 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 439 | * @return Result  | 
            ||
| 440 | * @throws Client\InvalidMessageException  | 
            ||
| 441 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 442 | * @throws Exception  | 
            ||
| 443 | */  | 
            ||
| 444 | 4 | public function pnrIgnore(RequestOptions\PnrIgnoreOptions $options, $messageOptions = [])  | 
            |
| 450 | |||
| 451 | |||
| 452 | /**  | 
            ||
| 453 | * Queue_RemoveItem - remove an item (a PNR) from a given queue  | 
            ||
| 454 | *  | 
            ||
| 455 | * @param RequestOptions\QueueRemoveItemOptions $options  | 
            ||
| 456 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 457 | * @return Result  | 
            ||
| 458 | * @throws Client\InvalidMessageException  | 
            ||
| 459 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 460 | * @throws Exception  | 
            ||
| 461 | */  | 
            ||
| 462 | 4 | public function queueRemoveItem(RequestOptions\QueueRemoveItemOptions $options, $messageOptions = [])  | 
            |
| 468 | |||
| 469 | /**  | 
            ||
| 470 | * Queue_MoveItem - move an item (a PNR) from one queue to another.  | 
            ||
| 471 | *  | 
            ||
| 472 | * @param RequestOptions\QueueMoveItemOptions $options  | 
            ||
| 473 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 474 | * @return Result  | 
            ||
| 475 | * @throws Client\InvalidMessageException  | 
            ||
| 476 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 477 | * @throws Exception  | 
            ||
| 478 | */  | 
            ||
| 479 | 4 | public function queueMoveItem(RequestOptions\QueueMoveItemOptions $options, $messageOptions = [])  | 
            |
| 485 | |||
| 486 | /**  | 
            ||
| 487 | * Offer_CreateOffer  | 
            ||
| 488 | *  | 
            ||
| 489 | * @param RequestOptions\OfferCreateOptions $options  | 
            ||
| 490 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 491 | * @return Result  | 
            ||
| 492 | * @throws Client\InvalidMessageException  | 
            ||
| 493 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 494 | * @throws Exception  | 
            ||
| 495 | */  | 
            ||
| 496 | 4 | public function offerCreate(RequestOptions\OfferCreateOptions $options, $messageOptions = [])  | 
            |
| 502 | |||
| 503 | /**  | 
            ||
| 504 | * Offer_VerifyOffer  | 
            ||
| 505 | *  | 
            ||
| 506 | * To be called in the context of an open PNR  | 
            ||
| 507 | *  | 
            ||
| 508 | * @param RequestOptions\OfferVerifyOptions $options  | 
            ||
| 509 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 510 | * @return Result  | 
            ||
| 511 | * @throws Client\InvalidMessageException  | 
            ||
| 512 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 513 | * @throws Exception  | 
            ||
| 514 | */  | 
            ||
| 515 | 4 | public function offerVerify(RequestOptions\OfferVerifyOptions $options, $messageOptions = [])  | 
            |
| 521 | |||
| 522 | /**  | 
            ||
| 523 | * Offer_ConfirmAirOffer  | 
            ||
| 524 | *  | 
            ||
| 525 | * @param RequestOptions\OfferConfirmAirOptions $options  | 
            ||
| 526 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 527 | * @return Result  | 
            ||
| 528 | * @throws Client\InvalidMessageException  | 
            ||
| 529 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 530 | * @throws Exception  | 
            ||
| 531 | */  | 
            ||
| 532 | 4 | public function offerConfirmAir(RequestOptions\OfferConfirmAirOptions $options, $messageOptions = [])  | 
            |
| 538 | |||
| 539 | /**  | 
            ||
| 540 | * Offer_ConfirmHotelOffer  | 
            ||
| 541 | *  | 
            ||
| 542 | * @param RequestOptions\OfferConfirmHotelOptions $options  | 
            ||
| 543 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 544 | * @return Result  | 
            ||
| 545 | * @throws Client\InvalidMessageException  | 
            ||
| 546 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 547 | * @throws Exception  | 
            ||
| 548 | */  | 
            ||
| 549 | 4 | public function offerConfirmHotel(RequestOptions\OfferConfirmHotelOptions $options, $messageOptions = [])  | 
            |
| 555 | |||
| 556 | /**  | 
            ||
| 557 | * Offer_ConfirmCarOffer  | 
            ||
| 558 | *  | 
            ||
| 559 | * @param RequestOptions\OfferConfirmCarOptions $options  | 
            ||
| 560 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 561 | * @return Result  | 
            ||
| 562 | * @throws Client\InvalidMessageException  | 
            ||
| 563 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 564 | * @throws Exception  | 
            ||
| 565 | */  | 
            ||
| 566 | 4 | public function offerConfirmCar(RequestOptions\OfferConfirmCarOptions $options, $messageOptions = [])  | 
            |
| 572 | |||
| 573 | /**  | 
            ||
| 574 | * Fare_MasterPricerTravelBoardSearch  | 
            ||
| 575 | *  | 
            ||
| 576 | * @param RequestOptions\FareMasterPricerTbSearch $options  | 
            ||
| 577 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 578 | * @return Result  | 
            ||
| 579 | * @throws Client\InvalidMessageException  | 
            ||
| 580 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 581 | * @throws Exception  | 
            ||
| 582 | */  | 
            ||
| 583 | 4 | public function fareMasterPricerTravelBoardSearch(  | 
            |
| 591 | |||
| 592 | /**  | 
            ||
| 593 | * Fare_MasterPricerCalendar  | 
            ||
| 594 | *  | 
            ||
| 595 | * @param RequestOptions\FareMasterPricerCalendarOptions $options  | 
            ||
| 596 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 597 | * @return Result  | 
            ||
| 598 | * @throws Client\InvalidMessageException  | 
            ||
| 599 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 600 | * @throws Exception  | 
            ||
| 601 | */  | 
            ||
| 602 | 4 | public function fareMasterPricerCalendar(  | 
            |
| 610 | |||
| 611 | /**  | 
            ||
| 612 | * Fare_PricePnrWithBookingClass  | 
            ||
| 613 | *  | 
            ||
| 614 | * @param RequestOptions\FarePricePnrWithBookingClassOptions $options  | 
            ||
| 615 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 616 | * @return Result  | 
            ||
| 617 | * @throws Client\InvalidMessageException  | 
            ||
| 618 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 619 | * @throws Exception  | 
            ||
| 620 | */  | 
            ||
| 621 | 8 | public function farePricePnrWithBookingClass(  | 
            |
| 629 | |||
| 630 | /**  | 
            ||
| 631 | * Fare_PricePnrWithLowerFares  | 
            ||
| 632 | *  | 
            ||
| 633 | * @param RequestOptions\FarePricePnrWithLowerFaresOptions $options  | 
            ||
| 634 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 635 | * @return Result  | 
            ||
| 636 | * @throws Client\InvalidMessageException  | 
            ||
| 637 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 638 | * @throws Exception  | 
            ||
| 639 | */  | 
            ||
| 640 | 8 | public function farePricePnrWithLowerFares(  | 
            |
| 648 | |||
| 649 | /**  | 
            ||
| 650 | * Fare_PricePnrWithLowestFare  | 
            ||
| 651 | *  | 
            ||
| 652 | * @param RequestOptions\FarePricePnrWithLowestFareOptions $options  | 
            ||
| 653 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 654 | * @return Result  | 
            ||
| 655 | * @throws Client\InvalidMessageException  | 
            ||
| 656 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 657 | * @throws Exception  | 
            ||
| 658 | */  | 
            ||
| 659 | 8 | public function farePricePnrWithLowestFare(  | 
            |
| 667 | |||
| 668 | /**  | 
            ||
| 669 | * Fare_InformativePricingWithoutPNR  | 
            ||
| 670 | *  | 
            ||
| 671 | * @param RequestOptions\FareInformativePricingWithoutPnrOptions $options  | 
            ||
| 672 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 673 | * @return Result  | 
            ||
| 674 | * @throws Client\InvalidMessageException  | 
            ||
| 675 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 676 | * @throws Exception  | 
            ||
| 677 | */  | 
            ||
| 678 | 4 | public function fareInformativePricingWithoutPnr(  | 
            |
| 686 | |||
| 687 | /**  | 
            ||
| 688 | * Fare_InformativeBestPricingWithoutPNR  | 
            ||
| 689 | *  | 
            ||
| 690 | * @param RequestOptions\FareInformativeBestPricingWithoutPnrOptions $options  | 
            ||
| 691 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 692 | * @return Result  | 
            ||
| 693 | * @throws Client\InvalidMessageException  | 
            ||
| 694 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 695 | * @throws Exception  | 
            ||
| 696 | */  | 
            ||
| 697 | 4 | public function fareInformativeBestPricingWithoutPnr(  | 
            |
| 705 | |||
| 706 | /**  | 
            ||
| 707 | * Fare_CheckRules  | 
            ||
| 708 | *  | 
            ||
| 709 | * @param RequestOptions\FareCheckRulesOptions $options  | 
            ||
| 710 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 711 | * @return Result  | 
            ||
| 712 | * @throws Client\InvalidMessageException  | 
            ||
| 713 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 714 | * @throws Exception  | 
            ||
| 715 | */  | 
            ||
| 716 | 4 | public function fareCheckRules(RequestOptions\FareCheckRulesOptions $options, $messageOptions = [])  | 
            |
| 722 | |||
| 723 | /**  | 
            ||
| 724 | * Fare_GetFareRules  | 
            ||
| 725 | *  | 
            ||
| 726 | * @param RequestOptions\FareGetFareRulesOptions $options  | 
            ||
| 727 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 728 | * @return Result  | 
            ||
| 729 | * @throws Client\InvalidMessageException  | 
            ||
| 730 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 731 | * @throws Exception  | 
            ||
| 732 | */  | 
            ||
| 733 | 4 | public function fareGetFareRules(RequestOptions\FareGetFareRulesOptions $options, $messageOptions = [])  | 
            |
| 739 | |||
| 740 | /**  | 
            ||
| 741 | * Fare_ConvertCurrency  | 
            ||
| 742 | *  | 
            ||
| 743 | * @param RequestOptions\FareConvertCurrencyOptions $options  | 
            ||
| 744 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 745 | * @return Result  | 
            ||
| 746 | * @throws Client\InvalidMessageException  | 
            ||
| 747 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 748 | * @throws Exception  | 
            ||
| 749 | */  | 
            ||
| 750 | 4 | public function fareConvertCurrency(RequestOptions\FareConvertCurrencyOptions $options, $messageOptions = [])  | 
            |
| 756 | |||
| 757 | /**  | 
            ||
| 758 | * Air_MultiAvailability  | 
            ||
| 759 | *  | 
            ||
| 760 | * @param RequestOptions\AirMultiAvailabilityOptions $options  | 
            ||
| 761 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 762 | * @return Result  | 
            ||
| 763 | * @throws Client\InvalidMessageException  | 
            ||
| 764 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 765 | * @throws Exception  | 
            ||
| 766 | */  | 
            ||
| 767 | 4 | public function airMultiAvailability(  | 
            |
| 775 | |||
| 776 | /**  | 
            ||
| 777 | * Air_SellFromRecommendation  | 
            ||
| 778 | *  | 
            ||
| 779 | * @param RequestOptions\AirSellFromRecommendationOptions $options  | 
            ||
| 780 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 781 | * @return Result  | 
            ||
| 782 | * @throws Client\InvalidMessageException  | 
            ||
| 783 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 784 | * @throws Exception  | 
            ||
| 785 | */  | 
            ||
| 786 | 4 | public function airSellFromRecommendation(  | 
            |
| 794 | |||
| 795 | /**  | 
            ||
| 796 | * Air_FlightInfo  | 
            ||
| 797 | *  | 
            ||
| 798 | * @param RequestOptions\AirFlightInfoOptions $options  | 
            ||
| 799 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 800 | * @return Result  | 
            ||
| 801 | * @throws Client\InvalidMessageException  | 
            ||
| 802 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 803 | * @throws Exception  | 
            ||
| 804 | */  | 
            ||
| 805 | 4 | public function airFlightInfo(RequestOptions\AirFlightInfoOptions $options, $messageOptions = [])  | 
            |
| 811 | |||
| 812 | /**  | 
            ||
| 813 | * Air_RetrieveSeatMap  | 
            ||
| 814 | *  | 
            ||
| 815 | * @param RequestOptions\AirRetrieveSeatMapOptions $options  | 
            ||
| 816 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 817 | * @return Result  | 
            ||
| 818 | * @throws Client\InvalidMessageException  | 
            ||
| 819 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 820 | * @throws Exception  | 
            ||
| 821 | */  | 
            ||
| 822 | 4 | public function airRetrieveSeatMap(RequestOptions\AirRetrieveSeatMapOptions $options, $messageOptions = [])  | 
            |
| 828 | |||
| 829 | /**  | 
            ||
| 830 | * Air_RebookAirSegment  | 
            ||
| 831 | *  | 
            ||
| 832 | * @param RequestOptions\AirRebookAirSegmentOptions $options  | 
            ||
| 833 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 834 | * @return Result  | 
            ||
| 835 | * @throws Client\InvalidMessageException  | 
            ||
| 836 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 837 | * @throws Exception  | 
            ||
| 838 | */  | 
            ||
| 839 | 4 | public function airRebookAirSegment(RequestOptions\AirRebookAirSegmentOptions $options, $messageOptions = [])  | 
            |
| 845 | |||
| 846 | /**  | 
            ||
| 847 | * Command_Cryptic  | 
            ||
| 848 | *  | 
            ||
| 849 | * @param RequestOptions\CommandCrypticOptions $options  | 
            ||
| 850 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 851 | * @return Result  | 
            ||
| 852 | * @throws Client\InvalidMessageException  | 
            ||
| 853 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 854 | * @throws Exception  | 
            ||
| 855 | */  | 
            ||
| 856 | 4 | public function commandCryptic(RequestOptions\CommandCrypticOptions $options, $messageOptions = [])  | 
            |
| 862 | |||
| 863 | /**  | 
            ||
| 864 | * MiniRule_GetFromPricingRec  | 
            ||
| 865 | *  | 
            ||
| 866 | * @param RequestOptions\MiniRuleGetFromPricingRecOptions $options  | 
            ||
| 867 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 868 | * @return Result  | 
            ||
| 869 | * @throws Client\InvalidMessageException  | 
            ||
| 870 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 871 | * @throws Exception  | 
            ||
| 872 | */  | 
            ||
| 873 | 4 | public function miniRuleGetFromPricingRec(  | 
            |
| 881 | |||
| 882 | /**  | 
            ||
| 883 | * MiniRule_GetFromPricing  | 
            ||
| 884 | *  | 
            ||
| 885 | * @param RequestOptions\MiniRuleGetFromPricingOptions $options  | 
            ||
| 886 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 887 | * @return Result  | 
            ||
| 888 | * @throws Client\InvalidMessageException  | 
            ||
| 889 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 890 | * @throws Exception  | 
            ||
| 891 | */  | 
            ||
| 892 | 4 | public function miniRuleGetFromPricing(  | 
            |
| 900 | |||
| 901 | /**  | 
            ||
| 902 | * MiniRule_GetFromETicket  | 
            ||
| 903 | *  | 
            ||
| 904 | * @param RequestOptions\MiniRuleGetFromETicketOptions $options  | 
            ||
| 905 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 906 | * @return Result  | 
            ||
| 907 | * @throws Client\InvalidMessageException  | 
            ||
| 908 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 909 | * @throws Exception  | 
            ||
| 910 | */  | 
            ||
| 911 | 4 | public function miniRuleGetFromETicket(  | 
            |
| 919 | |||
| 920 | /**  | 
            ||
| 921 | * Info_EncodeDecodeCity  | 
            ||
| 922 | *  | 
            ||
| 923 | * @param RequestOptions\InfoEncodeDecodeCityOptions $options  | 
            ||
| 924 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 925 | * @return Result  | 
            ||
| 926 | * @throws Client\InvalidMessageException  | 
            ||
| 927 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 928 | * @throws Exception  | 
            ||
| 929 | */  | 
            ||
| 930 | 4 | public function infoEncodeDecodeCity(RequestOptions\InfoEncodeDecodeCityOptions $options, $messageOptions = [])  | 
            |
| 936 | |||
| 937 | /**  | 
            ||
| 938 | * PointOfRef_Search  | 
            ||
| 939 | *  | 
            ||
| 940 | * @param RequestOptions\PointOfRefSearchOptions $options  | 
            ||
| 941 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 942 | * @return Result  | 
            ||
| 943 | * @throws Client\InvalidMessageException  | 
            ||
| 944 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 945 | * @throws Exception  | 
            ||
| 946 | */  | 
            ||
| 947 | 4 | public function pointOfRefSearch(RequestOptions\PointOfRefSearchOptions $options, $messageOptions = [])  | 
            |
| 953 | |||
| 954 | |||
| 955 | /**  | 
            ||
| 956 | * Ticket_CreateTSTFromPricing  | 
            ||
| 957 | *  | 
            ||
| 958 | * @param RequestOptions\TicketCreateTstFromPricingOptions $options  | 
            ||
| 959 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 960 | * @return Result  | 
            ||
| 961 | * @throws Client\InvalidMessageException  | 
            ||
| 962 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 963 | * @throws Exception  | 
            ||
| 964 | */  | 
            ||
| 965 | 4 | public function ticketCreateTSTFromPricing(  | 
            |
| 973 | |||
| 974 | /**  | 
            ||
| 975 | * Ticket_CreateTSMFromPricing  | 
            ||
| 976 | *  | 
            ||
| 977 | * @param RequestOptions\TicketCreateTsmFromPricingOptions $options  | 
            ||
| 978 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 979 | * @return Result  | 
            ||
| 980 | * @throws Client\InvalidMessageException  | 
            ||
| 981 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 982 | * @throws Exception  | 
            ||
| 983 | */  | 
            ||
| 984 | 4 | public function ticketCreateTSMFromPricing(  | 
            |
| 992 | |||
| 993 | /**  | 
            ||
| 994 | * Ticket_CreateTSMFareElement  | 
            ||
| 995 | *  | 
            ||
| 996 | * @param RequestOptions\TicketCreateTsmFareElOptions $options  | 
            ||
| 997 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 998 | * @return Result  | 
            ||
| 999 | * @throws Client\InvalidMessageException  | 
            ||
| 1000 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1001 | * @throws Exception  | 
            ||
| 1002 | */  | 
            ||
| 1003 | 4 | public function ticketCreateTSMFareElement(  | 
            |
| 1011 | |||
| 1012 | /**  | 
            ||
| 1013 | * Ticket_CreateTASF  | 
            ||
| 1014 | *  | 
            ||
| 1015 | * @param RequestOptions\TicketCreateTasfOptions $options  | 
            ||
| 1016 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1017 | * @return Result  | 
            ||
| 1018 | * @throws Client\InvalidMessageException  | 
            ||
| 1019 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1020 | * @throws Exception  | 
            ||
| 1021 | */  | 
            ||
| 1022 | 4 | public function ticketCreateTASF(  | 
            |
| 1030 | |||
| 1031 | /**  | 
            ||
| 1032 | * Ticket_DeleteTST  | 
            ||
| 1033 | *  | 
            ||
| 1034 | * @param RequestOptions\TicketDeleteTstOptions $options  | 
            ||
| 1035 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1036 | * @return Result  | 
            ||
| 1037 | * @throws Client\InvalidMessageException  | 
            ||
| 1038 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1039 | * @throws Exception  | 
            ||
| 1040 | */  | 
            ||
| 1041 | 4 | public function ticketDeleteTST(RequestOptions\TicketDeleteTstOptions $options, $messageOptions = [])  | 
            |
| 1047 | |||
| 1048 | /**  | 
            ||
| 1049 | * Ticket_DeleteTSMP  | 
            ||
| 1050 | *  | 
            ||
| 1051 | * @param RequestOptions\TicketDeleteTsmpOptions $options  | 
            ||
| 1052 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1053 | * @return Result  | 
            ||
| 1054 | * @throws Client\InvalidMessageException  | 
            ||
| 1055 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1056 | * @throws Exception  | 
            ||
| 1057 | */  | 
            ||
| 1058 | 4 | public function ticketDeleteTSMP(RequestOptions\TicketDeleteTsmpOptions $options, $messageOptions = [])  | 
            |
| 1064 | |||
| 1065 | /**  | 
            ||
| 1066 | * Ticket_DisplayTST  | 
            ||
| 1067 | *  | 
            ||
| 1068 | * @param RequestOptions\TicketDisplayTstOptions $options  | 
            ||
| 1069 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1070 | * @return Result  | 
            ||
| 1071 | * @throws Client\InvalidMessageException  | 
            ||
| 1072 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1073 | * @throws Exception  | 
            ||
| 1074 | */  | 
            ||
| 1075 | 4 | public function ticketDisplayTST(RequestOptions\TicketDisplayTstOptions $options, $messageOptions = [])  | 
            |
| 1081 | |||
| 1082 | /**  | 
            ||
| 1083 | * Ticket_DisplayTSMP  | 
            ||
| 1084 | *  | 
            ||
| 1085 | * @param RequestOptions\TicketDisplayTsmpOptions $options  | 
            ||
| 1086 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1087 | * @return Result  | 
            ||
| 1088 | * @throws Client\InvalidMessageException  | 
            ||
| 1089 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1090 | * @throws Exception  | 
            ||
| 1091 | */  | 
            ||
| 1092 | 4 | public function ticketDisplayTSMP(RequestOptions\TicketDisplayTsmpOptions $options, $messageOptions = [])  | 
            |
| 1098 | |||
| 1099 | /**  | 
            ||
| 1100 | * Ticket_RetrieveListOfTSM  | 
            ||
| 1101 | *  | 
            ||
| 1102 | * @param RequestOptions\TicketRetrieveListOfTSMOptions $options  | 
            ||
| 1103 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1104 | * @return Result  | 
            ||
| 1105 | * @throws Client\InvalidMessageException  | 
            ||
| 1106 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1107 | * @throws Exception  | 
            ||
| 1108 | */  | 
            ||
| 1109 | 4 | public function ticketRetrieveListOfTSM(  | 
            |
| 1117 | |||
| 1118 | /**  | 
            ||
| 1119 | * Ticket_DisplayTSMFareElement  | 
            ||
| 1120 | *  | 
            ||
| 1121 | * @param RequestOptions\TicketDisplayTsmFareElOptions $options  | 
            ||
| 1122 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1123 | * @return Result  | 
            ||
| 1124 | * @throws Client\InvalidMessageException  | 
            ||
| 1125 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1126 | * @throws Exception  | 
            ||
| 1127 | */  | 
            ||
| 1128 | 4 | public function ticketDisplayTSMFareElement(  | 
            |
| 1136 | |||
| 1137 | /**  | 
            ||
| 1138 | * Ticket_CheckEligibility  | 
            ||
| 1139 | *  | 
            ||
| 1140 | * @param RequestOptions\TicketCheckEligibilityOptions $options  | 
            ||
| 1141 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1142 | * @return Result  | 
            ||
| 1143 | * @throws Client\InvalidMessageException  | 
            ||
| 1144 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1145 | * @throws Exception  | 
            ||
| 1146 | */  | 
            ||
| 1147 | 4 | public function ticketCheckEligibility(  | 
            |
| 1155 | |||
| 1156 | /**  | 
            ||
| 1157 | * Ticket_ATCShopperMasterPricerTravelBoardSearch  | 
            ||
| 1158 | *  | 
            ||
| 1159 | * @param RequestOptions\TicketAtcShopperMpTbSearchOptions $options  | 
            ||
| 1160 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1161 | * @return Result  | 
            ||
| 1162 | * @throws Client\InvalidMessageException  | 
            ||
| 1163 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1164 | * @throws Exception  | 
            ||
| 1165 | */  | 
            ||
| 1166 | 4 | public function ticketAtcShopperMasterPricerTravelBoardSearch(  | 
            |
| 1174 | |||
| 1175 | /**  | 
            ||
| 1176 | * Ticket_RepricePNRWithBookingClass  | 
            ||
| 1177 | *  | 
            ||
| 1178 | * @param RequestOptions\TicketRepricePnrWithBookingClassOptions $options  | 
            ||
| 1179 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1180 | * @return Result  | 
            ||
| 1181 | * @throws Client\InvalidMessageException  | 
            ||
| 1182 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1183 | * @throws Exception  | 
            ||
| 1184 | */  | 
            ||
| 1185 | 4 | public function ticketRepricePnrWithBookingClass(  | 
            |
| 1193 | |||
| 1194 | /**  | 
            ||
| 1195 | * Ticket_CancelDocument  | 
            ||
| 1196 | *  | 
            ||
| 1197 | * @param RequestOptions\TicketCancelDocumentOptions $options  | 
            ||
| 1198 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1199 | * @return Result  | 
            ||
| 1200 | * @throws Client\InvalidMessageException  | 
            ||
| 1201 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1202 | * @throws Exception  | 
            ||
| 1203 | */  | 
            ||
| 1204 | 4 | public function ticketCancelDocument(  | 
            |
| 1212 | |||
| 1213 | /**  | 
            ||
| 1214 | * Ticket_ReissueConfirmedPricing  | 
            ||
| 1215 | *  | 
            ||
| 1216 | * @param RequestOptions\TicketReissueConfirmedPricingOptions $options  | 
            ||
| 1217 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1218 | * @return Result  | 
            ||
| 1219 | * @throws Client\InvalidMessageException  | 
            ||
| 1220 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1221 | * @throws Exception  | 
            ||
| 1222 | */  | 
            ||
| 1223 | 4 | public function ticketReissueConfirmedPricing(  | 
            |
| 1231 | |||
| 1232 | /**  | 
            ||
| 1233 | * Ticket_ProcessEDoc  | 
            ||
| 1234 | *  | 
            ||
| 1235 | * @param RequestOptions\TicketProcessEDocOptions $options  | 
            ||
| 1236 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1237 | * @return Result  | 
            ||
| 1238 | * @throws Client\InvalidMessageException  | 
            ||
| 1239 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1240 | * @throws Exception  | 
            ||
| 1241 | */  | 
            ||
| 1242 | 4 | public function ticketProcessEDoc(RequestOptions\TicketProcessEDocOptions $options, $messageOptions = [])  | 
            |
| 1248 | |||
| 1249 | /**  | 
            ||
| 1250 | * Ticket_ProcessETicket  | 
            ||
| 1251 | *  | 
            ||
| 1252 | * @param RequestOptions\TicketProcessETicketOptions $options  | 
            ||
| 1253 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1254 | * @return Result  | 
            ||
| 1255 | * @throws Client\InvalidMessageException  | 
            ||
| 1256 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1257 | * @throws Exception  | 
            ||
| 1258 | */  | 
            ||
| 1259 | 4 | public function ticketProcessETicket(RequestOptions\TicketProcessETicketOptions $options, $messageOptions = [])  | 
            |
| 1265 | |||
| 1266 | /**  | 
            ||
| 1267 | * DocIssuance_IssueTicket  | 
            ||
| 1268 | *  | 
            ||
| 1269 | * @param RequestOptions\DocIssuanceIssueTicketOptions $options  | 
            ||
| 1270 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1271 | * @return Result  | 
            ||
| 1272 | * @throws Client\InvalidMessageException  | 
            ||
| 1273 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1274 | * @throws Exception  | 
            ||
| 1275 | */  | 
            ||
| 1276 | 4 | public function docIssuanceIssueTicket(  | 
            |
| 1284 | |||
| 1285 | /**  | 
            ||
| 1286 | * DocIssuance_IssueMiscellaneousDocuments  | 
            ||
| 1287 | *  | 
            ||
| 1288 | * @param RequestOptions\DocIssuanceIssueMiscDocOptions $options  | 
            ||
| 1289 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1290 | * @return Result  | 
            ||
| 1291 | * @throws Client\InvalidMessageException  | 
            ||
| 1292 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1293 | * @throws Exception  | 
            ||
| 1294 | */  | 
            ||
| 1295 | 4 | public function docIssuanceIssueMiscellaneousDocuments(  | 
            |
| 1303 | |||
| 1304 | /**  | 
            ||
| 1305 | * DocIssuance_IssueCombined  | 
            ||
| 1306 | *  | 
            ||
| 1307 | * @param RequestOptions\DocIssuanceIssueCombinedOptions $options  | 
            ||
| 1308 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1309 | * @return Result  | 
            ||
| 1310 | * @throws Client\InvalidMessageException  | 
            ||
| 1311 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1312 | * @throws Exception  | 
            ||
| 1313 | */  | 
            ||
| 1314 | 8 | public function docIssuanceIssueCombined(  | 
            |
| 1322 | |||
| 1323 | /**  | 
            ||
| 1324 | * DocRefund_InitRefund  | 
            ||
| 1325 | *  | 
            ||
| 1326 | * @param RequestOptions\DocRefundInitRefundOptions $options  | 
            ||
| 1327 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1328 | * @return Result  | 
            ||
| 1329 | * @throws Client\InvalidMessageException  | 
            ||
| 1330 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1331 | * @throws Exception  | 
            ||
| 1332 | */  | 
            ||
| 1333 | 4 | public function docRefundInitRefund(  | 
            |
| 1341 | |||
| 1342 | /**  | 
            ||
| 1343 | * DocRefund_IgnoreRefund  | 
            ||
| 1344 | *  | 
            ||
| 1345 | * @param RequestOptions\DocRefundIgnoreRefundOptions $options  | 
            ||
| 1346 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1347 | * @return Result  | 
            ||
| 1348 | * @throws Client\InvalidMessageException  | 
            ||
| 1349 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1350 | * @throws Exception  | 
            ||
| 1351 | */  | 
            ||
| 1352 | 4 | public function docRefundIgnoreRefund(  | 
            |
| 1360 | |||
| 1361 | /**  | 
            ||
| 1362 | * DocRefund_UpdateRefund  | 
            ||
| 1363 | *  | 
            ||
| 1364 | * @param RequestOptions\DocRefundUpdateRefundOptions $options  | 
            ||
| 1365 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1366 | * @return Result  | 
            ||
| 1367 | * @throws Client\InvalidMessageException  | 
            ||
| 1368 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1369 | * @throws Exception  | 
            ||
| 1370 | */  | 
            ||
| 1371 | 4 | public function docRefundUpdateRefund(  | 
            |
| 1379 | |||
| 1380 | /**  | 
            ||
| 1381 | * DocRefund_ProcessRefund  | 
            ||
| 1382 | *  | 
            ||
| 1383 | * @param RequestOptions\DocRefundProcessRefundOptions $options  | 
            ||
| 1384 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1385 | * @return Result  | 
            ||
| 1386 | * @throws Client\InvalidMessageException  | 
            ||
| 1387 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1388 | * @throws Exception  | 
            ||
| 1389 | */  | 
            ||
| 1390 | 4 | public function docRefundProcessRefund(  | 
            |
| 1398 | |||
| 1399 | /**  | 
            ||
| 1400 | * Ticket_InitRefund  | 
            ||
| 1401 | *  | 
            ||
| 1402 | * @param RequestOptions\TicketInitRefundOptions $options  | 
            ||
| 1403 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1404 | * @return Result  | 
            ||
| 1405 | * @throws Client\InvalidMessageException  | 
            ||
| 1406 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1407 | * @throws Exception  | 
            ||
| 1408 | */  | 
            ||
| 1409 | 4 | public function ticketInitRefund(  | 
            |
| 1417 | |||
| 1418 | /**  | 
            ||
| 1419 | * Ticket_IgnoreRefund  | 
            ||
| 1420 | *  | 
            ||
| 1421 | * @param RequestOptions\TicketIgnoreRefundOptions $options  | 
            ||
| 1422 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1423 | * @return Result  | 
            ||
| 1424 | * @throws Client\InvalidMessageException  | 
            ||
| 1425 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1426 | * @throws Exception  | 
            ||
| 1427 | */  | 
            ||
| 1428 | 4 | public function ticketIgnoreRefund(  | 
            |
| 1436 | |||
| 1437 | /**  | 
            ||
| 1438 | * Ticket_ProcessRefund  | 
            ||
| 1439 | *  | 
            ||
| 1440 | * @param RequestOptions\TicketProcessRefundOptions $options  | 
            ||
| 1441 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1442 | * @return Result  | 
            ||
| 1443 | * @throws Client\InvalidMessageException  | 
            ||
| 1444 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1445 | * @throws Exception  | 
            ||
| 1446 | */  | 
            ||
| 1447 | 4 | public function ticketProcessRefund(  | 
            |
| 1455 | |||
| 1456 | /**  | 
            ||
| 1457 | * FOP_CreateFormOfPayment  | 
            ||
| 1458 | *  | 
            ||
| 1459 | * @param RequestOptions\FopCreateFopOptions $options  | 
            ||
| 1460 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1461 | * @return Result  | 
            ||
| 1462 | * @throws Client\InvalidMessageException  | 
            ||
| 1463 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1464 | * @throws Exception  | 
            ||
| 1465 | */  | 
            ||
| 1466 | 4 | public function fopCreateFormOfPayment(RequestOptions\FopCreateFopOptions $options, $messageOptions = [])  | 
            |
| 1472 | |||
| 1473 | |||
| 1474 | /**  | 
            ||
| 1475 | * FOP_CreateFormOfPayment  | 
            ||
| 1476 | *  | 
            ||
| 1477 | * @param RequestOptions\FopValidateFopOptions $options  | 
            ||
| 1478 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1479 | * @return Result  | 
            ||
| 1480 | * @throws Client\InvalidMessageException  | 
            ||
| 1481 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1482 | * @throws Exception  | 
            ||
| 1483 | */  | 
            ||
| 1484 | 4 | public function fopValidateFOP(RequestOptions\FopValidateFopOptions $options, $messageOptions = [])  | 
            |
| 1490 | |||
| 1491 | /**  | 
            ||
| 1492 | * PriceXplorer_ExtremeSearch  | 
            ||
| 1493 | *  | 
            ||
| 1494 | * @param RequestOptions\PriceXplorerExtremeSearchOptions $options  | 
            ||
| 1495 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1496 | * @return Result  | 
            ||
| 1497 | * @throws Client\InvalidMessageException  | 
            ||
| 1498 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1499 | * @throws Exception  | 
            ||
| 1500 | */  | 
            ||
| 1501 | 4 | public function priceXplorerExtremeSearch(  | 
            |
| 1509 | |||
| 1510 | /**  | 
            ||
| 1511 | * SalesReports_DisplayQueryReport  | 
            ||
| 1512 | *  | 
            ||
| 1513 | * @param RequestOptions\SalesReportsDisplayQueryReportOptions $options  | 
            ||
| 1514 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1515 | * @return Result  | 
            ||
| 1516 | * @throws Client\InvalidMessageException  | 
            ||
| 1517 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1518 | * @throws Exception  | 
            ||
| 1519 | */  | 
            ||
| 1520 | 4 | public function salesReportsDisplayQueryReport(  | 
            |
| 1528 | |||
| 1529 | /**  | 
            ||
| 1530 | * Service_IntegratedPricing  | 
            ||
| 1531 | *  | 
            ||
| 1532 | * @param RequestOptions\ServiceIntegratedPricingOptions $options  | 
            ||
| 1533 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1534 | * @return Result  | 
            ||
| 1535 | * @throws Client\InvalidMessageException  | 
            ||
| 1536 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1537 | * @throws Exception  | 
            ||
| 1538 | */  | 
            ||
| 1539 | 4 | public function serviceIntegratedPricing(  | 
            |
| 1547 | |||
| 1548 | /**  | 
            ||
| 1549 | * Service_IntegratedCatalogue  | 
            ||
| 1550 | *  | 
            ||
| 1551 | * @param RequestOptions\ServiceIntegratedCatalogueOptions $options  | 
            ||
| 1552 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1553 | * @return Result  | 
            ||
| 1554 | * @throws Client\InvalidMessageException  | 
            ||
| 1555 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1556 | * @throws Exception  | 
            ||
| 1557 | */  | 
            ||
| 1558 | 4 | public function serviceIntegratedCatalogue(  | 
            |
| 1566 | |||
| 1567 | /**  | 
            ||
| 1568 | * SalesReports_DisplayorSummarizedReport  | 
            ||
| 1569 | *  | 
            ||
| 1570 | * @param RequestOptions\SalesReportsDisplayDailyOrSummarizedReportOptions $options  | 
            ||
| 1571 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1572 | * @return Result  | 
            ||
| 1573 | * @throws Client\InvalidMessageException  | 
            ||
| 1574 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1575 | * @throws Exception  | 
            ||
| 1576 | */  | 
            ||
| 1577 | 4 | public function salesReportsDisplayDailyOrSummarizedReport(  | 
            |
| 1585 | |||
| 1586 | /**  | 
            ||
| 1587 | * SalesReports_DisplayNetRemitReport  | 
            ||
| 1588 | *  | 
            ||
| 1589 | * @param RequestOptions\SalesReportsDisplayNetRemitReportOptions $options  | 
            ||
| 1590 | * @param array $messageOptions (OPTIONAL)  | 
            ||
| 1591 | * @return Result  | 
            ||
| 1592 | * @throws Client\InvalidMessageException  | 
            ||
| 1593 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1594 | * @throws Exception  | 
            ||
| 1595 | */  | 
            ||
| 1596 | 4 | public function salesReportsDisplayNetRemitReport(  | 
            |
| 1604 | |||
| 1605 | /**  | 
            ||
| 1606 | * Call a message with the given parameters  | 
            ||
| 1607 | *  | 
            ||
| 1608 | * @param string $messageName  | 
            ||
| 1609 | * @param RequestOptions\RequestOptionsInterface $options  | 
            ||
| 1610 | * @param array $messageOptions  | 
            ||
| 1611 | * @param bool $endSession  | 
            ||
| 1612 | * @return Result  | 
            ||
| 1613 | * @throws Client\Exception  | 
            ||
| 1614 | * @throws Client\Struct\InvalidArgumentException  | 
            ||
| 1615 | * @throws Client\InvalidMessageException  | 
            ||
| 1616 | * @throws Client\RequestCreator\MessageVersionUnsupportedException  | 
            ||
| 1617 | * @throws \RuntimeException  | 
            ||
| 1618 | * @throws \InvalidArgumentException  | 
            ||
| 1619 | */  | 
            ||
| 1620 | 332 | protected function callMessage($messageName, $options, $messageOptions, $endSession = false)  | 
            |
| 1646 | |||
| 1647 | /**  | 
            ||
| 1648 | * Make message options  | 
            ||
| 1649 | *  | 
            ||
| 1650 | * Message options are meta options when sending a message to the amadeus web services  | 
            ||
| 1651 | * - 'endSession' (if stateful) : should we end the current session after sending this call?  | 
            ||
| 1652 | * - 'returnXml' : Should we return the XML string in the Result::responseXml property?  | 
            ||
| 1653 | * (this overrides the default setting returnXml in the Amadeus\Client\Params for a single message)  | 
            ||
| 1654 | *  | 
            ||
| 1655 | * @param array $incoming The Message options chosen by the caller - if any.  | 
            ||
| 1656 | * @param bool $endSession Switch if you want to terminate the current session after making the call.  | 
            ||
| 1657 | * @return array  | 
            ||
| 1658 | */  | 
            ||
| 1659 | 356 | protected function makeMessageOptions(array $incoming, $endSession = false)  | 
            |
| 1676 | }  | 
            ||
| 1677 |