Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 4.3.x will end 7 October 2024 (12 months).
  • Bug fixes for security issues in 4.3.x will end 21 April 2025 (18 months).
  • PHP version: minimum PHP 8.0.0 Note: minimum PHP version has increased since Moodle 4.1. PHP 8.2.x is supported too.

Differences Between: [Versions 310 and 403] [Versions 311 and 403] [Versions 39 and 403] [Versions 400 and 403] [Versions 401 and 403]

   1  <?php
   2  /*
   3   * Copyright 2010 Google Inc.
   4   *
   5   * Licensed under the Apache License, Version 2.0 (the "License"); you may not
   6   * use this file except in compliance with the License. You may obtain a copy of
   7   * the License at
   8   *
   9   * http://www.apache.org/licenses/LICENSE-2.0
  10   *
  11   * Unless required by applicable law or agreed to in writing, software
  12   * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13   * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14   * License for the specific language governing permissions and limitations under
  15   * the License.
  16   */
  17  
  18  /**
  19   * Service definition for QPXExpress (v1).
  20   *
  21   * <p>
  22   * Lets you find the least expensive flights between an origin and a
  23   * destination.</p>
  24   *
  25   * <p>
  26   * For more information about this service, see the API
  27   * <a href="http://developers.google.com/qpx-express" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  #[AllowDynamicProperties]
  33  class Google_Service_QPXExpress extends Google_Service
  34  {
  35  
  36  
  37    public $trips;
  38    
  39  
  40    /**
  41     * Constructs the internal representation of the QPXExpress service.
  42     *
  43     * @param Google_Client $client
  44     */
  45    public function __construct(Google_Client $client)
  46    {
  47      parent::__construct($client);
  48      $this->rootUrl = 'https://www.googleapis.com/';
  49      $this->servicePath = 'qpxExpress/v1/trips/';
  50      $this->version = 'v1';
  51      $this->serviceName = 'qpxExpress';
  52  
  53      $this->trips = new Google_Service_QPXExpress_Trips_Resource(
  54          $this,
  55          $this->serviceName,
  56          'trips',
  57          array(
  58            'methods' => array(
  59              'search' => array(
  60                'path' => 'search',
  61                'httpMethod' => 'POST',
  62                'parameters' => array(),
  63              ),
  64            )
  65          )
  66      );
  67    }
  68  }
  69  
  70  
  71  /**
  72   * The "trips" collection of methods.
  73   * Typical usage is:
  74   *  <code>
  75   *   $qpxExpressService = new Google_Service_QPXExpress(...);
  76   *   $trips = $qpxExpressService->trips;
  77   *  </code>
  78   */
  79  #[AllowDynamicProperties]
  80  class Google_Service_QPXExpress_Trips_Resource extends Google_Service_Resource
  81  {
  82  
  83    /**
  84     * Returns a list of flights. (trips.search)
  85     *
  86     * @param Google_TripsSearchRequest $postBody
  87     * @param array $optParams Optional parameters.
  88     * @return Google_Service_QPXExpress_TripsSearchResponse
  89     */
  90    public function search(Google_Service_QPXExpress_TripsSearchRequest $postBody, $optParams = array())
  91    {
  92      $params = array('postBody' => $postBody);
  93      $params = array_merge($params, $optParams);
  94      return $this->call('search', array($params), "Google_Service_QPXExpress_TripsSearchResponse");
  95    }
  96  }
  97  
  98  
  99  
 100  
 101  #[AllowDynamicProperties]
 102  class Google_Service_QPXExpress_AircraftData extends Google_Model
 103  {
 104    protected $internal_gapi_mappings = array(
 105    );
 106    public $code;
 107    public $kind;
 108    public $name;
 109  
 110  
 111    public function setCode($code)
 112    {
 113      $this->code = $code;
 114    }
 115    public function getCode()
 116    {
 117      return $this->code;
 118    }
 119    public function setKind($kind)
 120    {
 121      $this->kind = $kind;
 122    }
 123    public function getKind()
 124    {
 125      return $this->kind;
 126    }
 127    public function setName($name)
 128    {
 129      $this->name = $name;
 130    }
 131    public function getName()
 132    {
 133      return $this->name;
 134    }
 135  }
 136  
 137  #[AllowDynamicProperties]
 138  class Google_Service_QPXExpress_AirportData extends Google_Model
 139  {
 140    protected $internal_gapi_mappings = array(
 141    );
 142    public $city;
 143    public $code;
 144    public $kind;
 145    public $name;
 146  
 147  
 148    public function setCity($city)
 149    {
 150      $this->city = $city;
 151    }
 152    public function getCity()
 153    {
 154      return $this->city;
 155    }
 156    public function setCode($code)
 157    {
 158      $this->code = $code;
 159    }
 160    public function getCode()
 161    {
 162      return $this->code;
 163    }
 164    public function setKind($kind)
 165    {
 166      $this->kind = $kind;
 167    }
 168    public function getKind()
 169    {
 170      return $this->kind;
 171    }
 172    public function setName($name)
 173    {
 174      $this->name = $name;
 175    }
 176    public function getName()
 177    {
 178      return $this->name;
 179    }
 180  }
 181  
 182  #[AllowDynamicProperties]
 183  class Google_Service_QPXExpress_BagDescriptor extends Google_Collection
 184  {
 185    protected $collection_key = 'description';
 186    protected $internal_gapi_mappings = array(
 187    );
 188    public $commercialName;
 189    public $count;
 190    public $description;
 191    public $kind;
 192    public $subcode;
 193  
 194  
 195    public function setCommercialName($commercialName)
 196    {
 197      $this->commercialName = $commercialName;
 198    }
 199    public function getCommercialName()
 200    {
 201      return $this->commercialName;
 202    }
 203    public function setCount($count)
 204    {
 205      $this->count = $count;
 206    }
 207    public function getCount()
 208    {
 209      return $this->count;
 210    }
 211    public function setDescription($description)
 212    {
 213      $this->description = $description;
 214    }
 215    public function getDescription()
 216    {
 217      return $this->description;
 218    }
 219    public function setKind($kind)
 220    {
 221      $this->kind = $kind;
 222    }
 223    public function getKind()
 224    {
 225      return $this->kind;
 226    }
 227    public function setSubcode($subcode)
 228    {
 229      $this->subcode = $subcode;
 230    }
 231    public function getSubcode()
 232    {
 233      return $this->subcode;
 234    }
 235  }
 236  
 237  #[AllowDynamicProperties]
 238  class Google_Service_QPXExpress_CarrierData extends Google_Model
 239  {
 240    protected $internal_gapi_mappings = array(
 241    );
 242    public $code;
 243    public $kind;
 244    public $name;
 245  
 246  
 247    public function setCode($code)
 248    {
 249      $this->code = $code;
 250    }
 251    public function getCode()
 252    {
 253      return $this->code;
 254    }
 255    public function setKind($kind)
 256    {
 257      $this->kind = $kind;
 258    }
 259    public function getKind()
 260    {
 261      return $this->kind;
 262    }
 263    public function setName($name)
 264    {
 265      $this->name = $name;
 266    }
 267    public function getName()
 268    {
 269      return $this->name;
 270    }
 271  }
 272  
 273  #[AllowDynamicProperties]
 274  class Google_Service_QPXExpress_CityData extends Google_Model
 275  {
 276    protected $internal_gapi_mappings = array(
 277    );
 278    public $code;
 279    public $country;
 280    public $kind;
 281    public $name;
 282  
 283  
 284    public function setCode($code)
 285    {
 286      $this->code = $code;
 287    }
 288    public function getCode()
 289    {
 290      return $this->code;
 291    }
 292    public function setCountry($country)
 293    {
 294      $this->country = $country;
 295    }
 296    public function getCountry()
 297    {
 298      return $this->country;
 299    }
 300    public function setKind($kind)
 301    {
 302      $this->kind = $kind;
 303    }
 304    public function getKind()
 305    {
 306      return $this->kind;
 307    }
 308    public function setName($name)
 309    {
 310      $this->name = $name;
 311    }
 312    public function getName()
 313    {
 314      return $this->name;
 315    }
 316  }
 317  
 318  #[AllowDynamicProperties]
 319  class Google_Service_QPXExpress_Data extends Google_Collection
 320  {
 321    protected $collection_key = 'tax';
 322    protected $internal_gapi_mappings = array(
 323    );
 324    protected $aircraftType = 'Google_Service_QPXExpress_AircraftData';
 325    protected $aircraftDataType = 'array';
 326    protected $airportType = 'Google_Service_QPXExpress_AirportData';
 327    protected $airportDataType = 'array';
 328    protected $carrierType = 'Google_Service_QPXExpress_CarrierData';
 329    protected $carrierDataType = 'array';
 330    protected $cityType = 'Google_Service_QPXExpress_CityData';
 331    protected $cityDataType = 'array';
 332    public $kind;
 333    protected $taxType = 'Google_Service_QPXExpress_TaxData';
 334    protected $taxDataType = 'array';
 335  
 336  
 337    public function setAircraft($aircraft)
 338    {
 339      $this->aircraft = $aircraft;
 340    }
 341    public function getAircraft()
 342    {
 343      return $this->aircraft;
 344    }
 345    public function setAirport($airport)
 346    {
 347      $this->airport = $airport;
 348    }
 349    public function getAirport()
 350    {
 351      return $this->airport;
 352    }
 353    public function setCarrier($carrier)
 354    {
 355      $this->carrier = $carrier;
 356    }
 357    public function getCarrier()
 358    {
 359      return $this->carrier;
 360    }
 361    public function setCity($city)
 362    {
 363      $this->city = $city;
 364    }
 365    public function getCity()
 366    {
 367      return $this->city;
 368    }
 369    public function setKind($kind)
 370    {
 371      $this->kind = $kind;
 372    }
 373    public function getKind()
 374    {
 375      return $this->kind;
 376    }
 377    public function setTax($tax)
 378    {
 379      $this->tax = $tax;
 380    }
 381    public function getTax()
 382    {
 383      return $this->tax;
 384    }
 385  }
 386  
 387  #[AllowDynamicProperties]
 388  class Google_Service_QPXExpress_FareInfo extends Google_Model
 389  {
 390    protected $internal_gapi_mappings = array(
 391    );
 392    public $basisCode;
 393    public $carrier;
 394    public $destination;
 395    public $id;
 396    public $kind;
 397    public $origin;
 398    public $private;
 399  
 400  
 401    public function setBasisCode($basisCode)
 402    {
 403      $this->basisCode = $basisCode;
 404    }
 405    public function getBasisCode()
 406    {
 407      return $this->basisCode;
 408    }
 409    public function setCarrier($carrier)
 410    {
 411      $this->carrier = $carrier;
 412    }
 413    public function getCarrier()
 414    {
 415      return $this->carrier;
 416    }
 417    public function setDestination($destination)
 418    {
 419      $this->destination = $destination;
 420    }
 421    public function getDestination()
 422    {
 423      return $this->destination;
 424    }
 425    public function setId($id)
 426    {
 427      $this->id = $id;
 428    }
 429    public function getId()
 430    {
 431      return $this->id;
 432    }
 433    public function setKind($kind)
 434    {
 435      $this->kind = $kind;
 436    }
 437    public function getKind()
 438    {
 439      return $this->kind;
 440    }
 441    public function setOrigin($origin)
 442    {
 443      $this->origin = $origin;
 444    }
 445    public function getOrigin()
 446    {
 447      return $this->origin;
 448    }
 449    public function setPrivate($private)
 450    {
 451      $this->private = $private;
 452    }
 453    public function getPrivate()
 454    {
 455      return $this->private;
 456    }
 457  }
 458  
 459  #[AllowDynamicProperties]
 460  class Google_Service_QPXExpress_FlightInfo extends Google_Model
 461  {
 462    protected $internal_gapi_mappings = array(
 463    );
 464    public $carrier;
 465    public $number;
 466  
 467  
 468    public function setCarrier($carrier)
 469    {
 470      $this->carrier = $carrier;
 471    }
 472    public function getCarrier()
 473    {
 474      return $this->carrier;
 475    }
 476    public function setNumber($number)
 477    {
 478      $this->number = $number;
 479    }
 480    public function getNumber()
 481    {
 482      return $this->number;
 483    }
 484  }
 485  
 486  #[AllowDynamicProperties]
 487  class Google_Service_QPXExpress_FreeBaggageAllowance extends Google_Collection
 488  {
 489    protected $collection_key = 'bagDescriptor';
 490    protected $internal_gapi_mappings = array(
 491    );
 492    protected $bagDescriptorType = 'Google_Service_QPXExpress_BagDescriptor';
 493    protected $bagDescriptorDataType = 'array';
 494    public $kilos;
 495    public $kilosPerPiece;
 496    public $kind;
 497    public $pieces;
 498    public $pounds;
 499  
 500  
 501    public function setBagDescriptor($bagDescriptor)
 502    {
 503      $this->bagDescriptor = $bagDescriptor;
 504    }
 505    public function getBagDescriptor()
 506    {
 507      return $this->bagDescriptor;
 508    }
 509    public function setKilos($kilos)
 510    {
 511      $this->kilos = $kilos;
 512    }
 513    public function getKilos()
 514    {
 515      return $this->kilos;
 516    }
 517    public function setKilosPerPiece($kilosPerPiece)
 518    {
 519      $this->kilosPerPiece = $kilosPerPiece;
 520    }
 521    public function getKilosPerPiece()
 522    {
 523      return $this->kilosPerPiece;
 524    }
 525    public function setKind($kind)
 526    {
 527      $this->kind = $kind;
 528    }
 529    public function getKind()
 530    {
 531      return $this->kind;
 532    }
 533    public function setPieces($pieces)
 534    {
 535      $this->pieces = $pieces;
 536    }
 537    public function getPieces()
 538    {
 539      return $this->pieces;
 540    }
 541    public function setPounds($pounds)
 542    {
 543      $this->pounds = $pounds;
 544    }
 545    public function getPounds()
 546    {
 547      return $this->pounds;
 548    }
 549  }
 550  
 551  #[AllowDynamicProperties]
 552  class Google_Service_QPXExpress_LegInfo extends Google_Model
 553  {
 554    protected $internal_gapi_mappings = array(
 555    );
 556    public $aircraft;
 557    public $arrivalTime;
 558    public $changePlane;
 559    public $connectionDuration;
 560    public $departureTime;
 561    public $destination;
 562    public $destinationTerminal;
 563    public $duration;
 564    public $id;
 565    public $kind;
 566    public $meal;
 567    public $mileage;
 568    public $onTimePerformance;
 569    public $operatingDisclosure;
 570    public $origin;
 571    public $originTerminal;
 572    public $secure;
 573  
 574  
 575    public function setAircraft($aircraft)
 576    {
 577      $this->aircraft = $aircraft;
 578    }
 579    public function getAircraft()
 580    {
 581      return $this->aircraft;
 582    }
 583    public function setArrivalTime($arrivalTime)
 584    {
 585      $this->arrivalTime = $arrivalTime;
 586    }
 587    public function getArrivalTime()
 588    {
 589      return $this->arrivalTime;
 590    }
 591    public function setChangePlane($changePlane)
 592    {
 593      $this->changePlane = $changePlane;
 594    }
 595    public function getChangePlane()
 596    {
 597      return $this->changePlane;
 598    }
 599    public function setConnectionDuration($connectionDuration)
 600    {
 601      $this->connectionDuration = $connectionDuration;
 602    }
 603    public function getConnectionDuration()
 604    {
 605      return $this->connectionDuration;
 606    }
 607    public function setDepartureTime($departureTime)
 608    {
 609      $this->departureTime = $departureTime;
 610    }
 611    public function getDepartureTime()
 612    {
 613      return $this->departureTime;
 614    }
 615    public function setDestination($destination)
 616    {
 617      $this->destination = $destination;
 618    }
 619    public function getDestination()
 620    {
 621      return $this->destination;
 622    }
 623    public function setDestinationTerminal($destinationTerminal)
 624    {
 625      $this->destinationTerminal = $destinationTerminal;
 626    }
 627    public function getDestinationTerminal()
 628    {
 629      return $this->destinationTerminal;
 630    }
 631    public function setDuration($duration)
 632    {
 633      $this->duration = $duration;
 634    }
 635    public function getDuration()
 636    {
 637      return $this->duration;
 638    }
 639    public function setId($id)
 640    {
 641      $this->id = $id;
 642    }
 643    public function getId()
 644    {
 645      return $this->id;
 646    }
 647    public function setKind($kind)
 648    {
 649      $this->kind = $kind;
 650    }
 651    public function getKind()
 652    {
 653      return $this->kind;
 654    }
 655    public function setMeal($meal)
 656    {
 657      $this->meal = $meal;
 658    }
 659    public function getMeal()
 660    {
 661      return $this->meal;
 662    }
 663    public function setMileage($mileage)
 664    {
 665      $this->mileage = $mileage;
 666    }
 667    public function getMileage()
 668    {
 669      return $this->mileage;
 670    }
 671    public function setOnTimePerformance($onTimePerformance)
 672    {
 673      $this->onTimePerformance = $onTimePerformance;
 674    }
 675    public function getOnTimePerformance()
 676    {
 677      return $this->onTimePerformance;
 678    }
 679    public function setOperatingDisclosure($operatingDisclosure)
 680    {
 681      $this->operatingDisclosure = $operatingDisclosure;
 682    }
 683    public function getOperatingDisclosure()
 684    {
 685      return $this->operatingDisclosure;
 686    }
 687    public function setOrigin($origin)
 688    {
 689      $this->origin = $origin;
 690    }
 691    public function getOrigin()
 692    {
 693      return $this->origin;
 694    }
 695    public function setOriginTerminal($originTerminal)
 696    {
 697      $this->originTerminal = $originTerminal;
 698    }
 699    public function getOriginTerminal()
 700    {
 701      return $this->originTerminal;
 702    }
 703    public function setSecure($secure)
 704    {
 705      $this->secure = $secure;
 706    }
 707    public function getSecure()
 708    {
 709      return $this->secure;
 710    }
 711  }
 712  
 713  #[AllowDynamicProperties]
 714  class Google_Service_QPXExpress_PassengerCounts extends Google_Model
 715  {
 716    protected $internal_gapi_mappings = array(
 717    );
 718    public $adultCount;
 719    public $childCount;
 720    public $infantInLapCount;
 721    public $infantInSeatCount;
 722    public $kind;
 723    public $seniorCount;
 724  
 725  
 726    public function setAdultCount($adultCount)
 727    {
 728      $this->adultCount = $adultCount;
 729    }
 730    public function getAdultCount()
 731    {
 732      return $this->adultCount;
 733    }
 734    public function setChildCount($childCount)
 735    {
 736      $this->childCount = $childCount;
 737    }
 738    public function getChildCount()
 739    {
 740      return $this->childCount;
 741    }
 742    public function setInfantInLapCount($infantInLapCount)
 743    {
 744      $this->infantInLapCount = $infantInLapCount;
 745    }
 746    public function getInfantInLapCount()
 747    {
 748      return $this->infantInLapCount;
 749    }
 750    public function setInfantInSeatCount($infantInSeatCount)
 751    {
 752      $this->infantInSeatCount = $infantInSeatCount;
 753    }
 754    public function getInfantInSeatCount()
 755    {
 756      return $this->infantInSeatCount;
 757    }
 758    public function setKind($kind)
 759    {
 760      $this->kind = $kind;
 761    }
 762    public function getKind()
 763    {
 764      return $this->kind;
 765    }
 766    public function setSeniorCount($seniorCount)
 767    {
 768      $this->seniorCount = $seniorCount;
 769    }
 770    public function getSeniorCount()
 771    {
 772      return $this->seniorCount;
 773    }
 774  }
 775  
 776  #[AllowDynamicProperties]
 777  class Google_Service_QPXExpress_PricingInfo extends Google_Collection
 778  {
 779    protected $collection_key = 'tax';
 780    protected $internal_gapi_mappings = array(
 781    );
 782    public $baseFareTotal;
 783    protected $fareType = 'Google_Service_QPXExpress_FareInfo';
 784    protected $fareDataType = 'array';
 785    public $fareCalculation;
 786    public $kind;
 787    public $latestTicketingTime;
 788    protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
 789    protected $passengersDataType = '';
 790    public $ptc;
 791    public $refundable;
 792    public $saleFareTotal;
 793    public $saleTaxTotal;
 794    public $saleTotal;
 795    protected $segmentPricingType = 'Google_Service_QPXExpress_SegmentPricing';
 796    protected $segmentPricingDataType = 'array';
 797    protected $taxType = 'Google_Service_QPXExpress_TaxInfo';
 798    protected $taxDataType = 'array';
 799  
 800  
 801    public function setBaseFareTotal($baseFareTotal)
 802    {
 803      $this->baseFareTotal = $baseFareTotal;
 804    }
 805    public function getBaseFareTotal()
 806    {
 807      return $this->baseFareTotal;
 808    }
 809    public function setFare($fare)
 810    {
 811      $this->fare = $fare;
 812    }
 813    public function getFare()
 814    {
 815      return $this->fare;
 816    }
 817    public function setFareCalculation($fareCalculation)
 818    {
 819      $this->fareCalculation = $fareCalculation;
 820    }
 821    public function getFareCalculation()
 822    {
 823      return $this->fareCalculation;
 824    }
 825    public function setKind($kind)
 826    {
 827      $this->kind = $kind;
 828    }
 829    public function getKind()
 830    {
 831      return $this->kind;
 832    }
 833    public function setLatestTicketingTime($latestTicketingTime)
 834    {
 835      $this->latestTicketingTime = $latestTicketingTime;
 836    }
 837    public function getLatestTicketingTime()
 838    {
 839      return $this->latestTicketingTime;
 840    }
 841    public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers)
 842    {
 843      $this->passengers = $passengers;
 844    }
 845    public function getPassengers()
 846    {
 847      return $this->passengers;
 848    }
 849    public function setPtc($ptc)
 850    {
 851      $this->ptc = $ptc;
 852    }
 853    public function getPtc()
 854    {
 855      return $this->ptc;
 856    }
 857    public function setRefundable($refundable)
 858    {
 859      $this->refundable = $refundable;
 860    }
 861    public function getRefundable()
 862    {
 863      return $this->refundable;
 864    }
 865    public function setSaleFareTotal($saleFareTotal)
 866    {
 867      $this->saleFareTotal = $saleFareTotal;
 868    }
 869    public function getSaleFareTotal()
 870    {
 871      return $this->saleFareTotal;
 872    }
 873    public function setSaleTaxTotal($saleTaxTotal)
 874    {
 875      $this->saleTaxTotal = $saleTaxTotal;
 876    }
 877    public function getSaleTaxTotal()
 878    {
 879      return $this->saleTaxTotal;
 880    }
 881    public function setSaleTotal($saleTotal)
 882    {
 883      $this->saleTotal = $saleTotal;
 884    }
 885    public function getSaleTotal()
 886    {
 887      return $this->saleTotal;
 888    }
 889    public function setSegmentPricing($segmentPricing)
 890    {
 891      $this->segmentPricing = $segmentPricing;
 892    }
 893    public function getSegmentPricing()
 894    {
 895      return $this->segmentPricing;
 896    }
 897    public function setTax($tax)
 898    {
 899      $this->tax = $tax;
 900    }
 901    public function getTax()
 902    {
 903      return $this->tax;
 904    }
 905  }
 906  
 907  #[AllowDynamicProperties]
 908  class Google_Service_QPXExpress_SegmentInfo extends Google_Collection
 909  {
 910    protected $collection_key = 'leg';
 911    protected $internal_gapi_mappings = array(
 912    );
 913    public $bookingCode;
 914    public $bookingCodeCount;
 915    public $cabin;
 916    public $connectionDuration;
 917    public $duration;
 918    protected $flightType = 'Google_Service_QPXExpress_FlightInfo';
 919    protected $flightDataType = '';
 920    public $id;
 921    public $kind;
 922    protected $legType = 'Google_Service_QPXExpress_LegInfo';
 923    protected $legDataType = 'array';
 924    public $marriedSegmentGroup;
 925    public $subjectToGovernmentApproval;
 926  
 927  
 928    public function setBookingCode($bookingCode)
 929    {
 930      $this->bookingCode = $bookingCode;
 931    }
 932    public function getBookingCode()
 933    {
 934      return $this->bookingCode;
 935    }
 936    public function setBookingCodeCount($bookingCodeCount)
 937    {
 938      $this->bookingCodeCount = $bookingCodeCount;
 939    }
 940    public function getBookingCodeCount()
 941    {
 942      return $this->bookingCodeCount;
 943    }
 944    public function setCabin($cabin)
 945    {
 946      $this->cabin = $cabin;
 947    }
 948    public function getCabin()
 949    {
 950      return $this->cabin;
 951    }
 952    public function setConnectionDuration($connectionDuration)
 953    {
 954      $this->connectionDuration = $connectionDuration;
 955    }
 956    public function getConnectionDuration()
 957    {
 958      return $this->connectionDuration;
 959    }
 960    public function setDuration($duration)
 961    {
 962      $this->duration = $duration;
 963    }
 964    public function getDuration()
 965    {
 966      return $this->duration;
 967    }
 968    public function setFlight(Google_Service_QPXExpress_FlightInfo $flight)
 969    {
 970      $this->flight = $flight;
 971    }
 972    public function getFlight()
 973    {
 974      return $this->flight;
 975    }
 976    public function setId($id)
 977    {
 978      $this->id = $id;
 979    }
 980    public function getId()
 981    {
 982      return $this->id;
 983    }
 984    public function setKind($kind)
 985    {
 986      $this->kind = $kind;
 987    }
 988    public function getKind()
 989    {
 990      return $this->kind;
 991    }
 992    public function setLeg($leg)
 993    {
 994      $this->leg = $leg;
 995    }
 996    public function getLeg()
 997    {
 998      return $this->leg;
 999    }
1000    public function setMarriedSegmentGroup($marriedSegmentGroup)
1001    {
1002      $this->marriedSegmentGroup = $marriedSegmentGroup;
1003    }
1004    public function getMarriedSegmentGroup()
1005    {
1006      return $this->marriedSegmentGroup;
1007    }
1008    public function setSubjectToGovernmentApproval($subjectToGovernmentApproval)
1009    {
1010      $this->subjectToGovernmentApproval = $subjectToGovernmentApproval;
1011    }
1012    public function getSubjectToGovernmentApproval()
1013    {
1014      return $this->subjectToGovernmentApproval;
1015    }
1016  }
1017  
1018  #[AllowDynamicProperties]
1019  class Google_Service_QPXExpress_SegmentPricing extends Google_Collection
1020  {
1021    protected $collection_key = 'freeBaggageOption';
1022    protected $internal_gapi_mappings = array(
1023    );
1024    public $fareId;
1025    protected $freeBaggageOptionType = 'Google_Service_QPXExpress_FreeBaggageAllowance';
1026    protected $freeBaggageOptionDataType = 'array';
1027    public $kind;
1028    public $segmentId;
1029  
1030  
1031    public function setFareId($fareId)
1032    {
1033      $this->fareId = $fareId;
1034    }
1035    public function getFareId()
1036    {
1037      return $this->fareId;
1038    }
1039    public function setFreeBaggageOption($freeBaggageOption)
1040    {
1041      $this->freeBaggageOption = $freeBaggageOption;
1042    }
1043    public function getFreeBaggageOption()
1044    {
1045      return $this->freeBaggageOption;
1046    }
1047    public function setKind($kind)
1048    {
1049      $this->kind = $kind;
1050    }
1051    public function getKind()
1052    {
1053      return $this->kind;
1054    }
1055    public function setSegmentId($segmentId)
1056    {
1057      $this->segmentId = $segmentId;
1058    }
1059    public function getSegmentId()
1060    {
1061      return $this->segmentId;
1062    }
1063  }
1064  
1065  #[AllowDynamicProperties]
1066  class Google_Service_QPXExpress_SliceInfo extends Google_Collection
1067  {
1068    protected $collection_key = 'segment';
1069    protected $internal_gapi_mappings = array(
1070    );
1071    public $duration;
1072    public $kind;
1073    protected $segmentType = 'Google_Service_QPXExpress_SegmentInfo';
1074    protected $segmentDataType = 'array';
1075  
1076  
1077    public function setDuration($duration)
1078    {
1079      $this->duration = $duration;
1080    }
1081    public function getDuration()
1082    {
1083      return $this->duration;
1084    }
1085    public function setKind($kind)
1086    {
1087      $this->kind = $kind;
1088    }
1089    public function getKind()
1090    {
1091      return $this->kind;
1092    }
1093    public function setSegment($segment)
1094    {
1095      $this->segment = $segment;
1096    }
1097    public function getSegment()
1098    {
1099      return $this->segment;
1100    }
1101  }
1102  
1103  #[AllowDynamicProperties]
1104  class Google_Service_QPXExpress_SliceInput extends Google_Collection
1105  {
1106    protected $collection_key = 'prohibitedCarrier';
1107    protected $internal_gapi_mappings = array(
1108    );
1109    public $alliance;
1110    public $date;
1111    public $destination;
1112    public $kind;
1113    public $maxConnectionDuration;
1114    public $maxStops;
1115    public $origin;
1116    public $permittedCarrier;
1117    protected $permittedDepartureTimeType = 'Google_Service_QPXExpress_TimeOfDayRange';
1118    protected $permittedDepartureTimeDataType = '';
1119    public $preferredCabin;
1120    public $prohibitedCarrier;
1121  
1122  
1123    public function setAlliance($alliance)
1124    {
1125      $this->alliance = $alliance;
1126    }
1127    public function getAlliance()
1128    {
1129      return $this->alliance;
1130    }
1131    public function setDate($date)
1132    {
1133      $this->date = $date;
1134    }
1135    public function getDate()
1136    {
1137      return $this->date;
1138    }
1139    public function setDestination($destination)
1140    {
1141      $this->destination = $destination;
1142    }
1143    public function getDestination()
1144    {
1145      return $this->destination;
1146    }
1147    public function setKind($kind)
1148    {
1149      $this->kind = $kind;
1150    }
1151    public function getKind()
1152    {
1153      return $this->kind;
1154    }
1155    public function setMaxConnectionDuration($maxConnectionDuration)
1156    {
1157      $this->maxConnectionDuration = $maxConnectionDuration;
1158    }
1159    public function getMaxConnectionDuration()
1160    {
1161      return $this->maxConnectionDuration;
1162    }
1163    public function setMaxStops($maxStops)
1164    {
1165      $this->maxStops = $maxStops;
1166    }
1167    public function getMaxStops()
1168    {
1169      return $this->maxStops;
1170    }
1171    public function setOrigin($origin)
1172    {
1173      $this->origin = $origin;
1174    }
1175    public function getOrigin()
1176    {
1177      return $this->origin;
1178    }
1179    public function setPermittedCarrier($permittedCarrier)
1180    {
1181      $this->permittedCarrier = $permittedCarrier;
1182    }
1183    public function getPermittedCarrier()
1184    {
1185      return $this->permittedCarrier;
1186    }
1187    public function setPermittedDepartureTime(Google_Service_QPXExpress_TimeOfDayRange $permittedDepartureTime)
1188    {
1189      $this->permittedDepartureTime = $permittedDepartureTime;
1190    }
1191    public function getPermittedDepartureTime()
1192    {
1193      return $this->permittedDepartureTime;
1194    }
1195    public function setPreferredCabin($preferredCabin)
1196    {
1197      $this->preferredCabin = $preferredCabin;
1198    }
1199    public function getPreferredCabin()
1200    {
1201      return $this->preferredCabin;
1202    }
1203    public function setProhibitedCarrier($prohibitedCarrier)
1204    {
1205      $this->prohibitedCarrier = $prohibitedCarrier;
1206    }
1207    public function getProhibitedCarrier()
1208    {
1209      return $this->prohibitedCarrier;
1210    }
1211  }
1212  
1213  #[AllowDynamicProperties]
1214  class Google_Service_QPXExpress_TaxData extends Google_Model
1215  {
1216    protected $internal_gapi_mappings = array(
1217    );
1218    public $id;
1219    public $kind;
1220    public $name;
1221  
1222  
1223    public function setId($id)
1224    {
1225      $this->id = $id;
1226    }
1227    public function getId()
1228    {
1229      return $this->id;
1230    }
1231    public function setKind($kind)
1232    {
1233      $this->kind = $kind;
1234    }
1235    public function getKind()
1236    {
1237      return $this->kind;
1238    }
1239    public function setName($name)
1240    {
1241      $this->name = $name;
1242    }
1243    public function getName()
1244    {
1245      return $this->name;
1246    }
1247  }
1248  
1249  #[AllowDynamicProperties]
1250  class Google_Service_QPXExpress_TaxInfo extends Google_Model
1251  {
1252    protected $internal_gapi_mappings = array(
1253    );
1254    public $chargeType;
1255    public $code;
1256    public $country;
1257    public $id;
1258    public $kind;
1259    public $salePrice;
1260  
1261  
1262    public function setChargeType($chargeType)
1263    {
1264      $this->chargeType = $chargeType;
1265    }
1266    public function getChargeType()
1267    {
1268      return $this->chargeType;
1269    }
1270    public function setCode($code)
1271    {
1272      $this->code = $code;
1273    }
1274    public function getCode()
1275    {
1276      return $this->code;
1277    }
1278    public function setCountry($country)
1279    {
1280      $this->country = $country;
1281    }
1282    public function getCountry()
1283    {
1284      return $this->country;
1285    }
1286    public function setId($id)
1287    {
1288      $this->id = $id;
1289    }
1290    public function getId()
1291    {
1292      return $this->id;
1293    }
1294    public function setKind($kind)
1295    {
1296      $this->kind = $kind;
1297    }
1298    public function getKind()
1299    {
1300      return $this->kind;
1301    }
1302    public function setSalePrice($salePrice)
1303    {
1304      $this->salePrice = $salePrice;
1305    }
1306    public function getSalePrice()
1307    {
1308      return $this->salePrice;
1309    }
1310  }
1311  
1312  #[AllowDynamicProperties]
1313  class Google_Service_QPXExpress_TimeOfDayRange extends Google_Model
1314  {
1315    protected $internal_gapi_mappings = array(
1316    );
1317    public $earliestTime;
1318    public $kind;
1319    public $latestTime;
1320  
1321  
1322    public function setEarliestTime($earliestTime)
1323    {
1324      $this->earliestTime = $earliestTime;
1325    }
1326    public function getEarliestTime()
1327    {
1328      return $this->earliestTime;
1329    }
1330    public function setKind($kind)
1331    {
1332      $this->kind = $kind;
1333    }
1334    public function getKind()
1335    {
1336      return $this->kind;
1337    }
1338    public function setLatestTime($latestTime)
1339    {
1340      $this->latestTime = $latestTime;
1341    }
1342    public function getLatestTime()
1343    {
1344      return $this->latestTime;
1345    }
1346  }
1347  
1348  #[AllowDynamicProperties]
1349  class Google_Service_QPXExpress_TripOption extends Google_Collection
1350  {
1351    protected $collection_key = 'slice';
1352    protected $internal_gapi_mappings = array(
1353    );
1354    public $id;
1355    public $kind;
1356    protected $pricingType = 'Google_Service_QPXExpress_PricingInfo';
1357    protected $pricingDataType = 'array';
1358    public $saleTotal;
1359    protected $sliceType = 'Google_Service_QPXExpress_SliceInfo';
1360    protected $sliceDataType = 'array';
1361  
1362  
1363    public function setId($id)
1364    {
1365      $this->id = $id;
1366    }
1367    public function getId()
1368    {
1369      return $this->id;
1370    }
1371    public function setKind($kind)
1372    {
1373      $this->kind = $kind;
1374    }
1375    public function getKind()
1376    {
1377      return $this->kind;
1378    }
1379    public function setPricing($pricing)
1380    {
1381      $this->pricing = $pricing;
1382    }
1383    public function getPricing()
1384    {
1385      return $this->pricing;
1386    }
1387    public function setSaleTotal($saleTotal)
1388    {
1389      $this->saleTotal = $saleTotal;
1390    }
1391    public function getSaleTotal()
1392    {
1393      return $this->saleTotal;
1394    }
1395    public function setSlice($slice)
1396    {
1397      $this->slice = $slice;
1398    }
1399    public function getSlice()
1400    {
1401      return $this->slice;
1402    }
1403  }
1404  
1405  #[AllowDynamicProperties]
1406  class Google_Service_QPXExpress_TripOptionsRequest extends Google_Collection
1407  {
1408    protected $collection_key = 'slice';
1409    protected $internal_gapi_mappings = array(
1410    );
1411    public $maxPrice;
1412    protected $passengersType = 'Google_Service_QPXExpress_PassengerCounts';
1413    protected $passengersDataType = '';
1414    public $refundable;
1415    public $saleCountry;
1416    protected $sliceType = 'Google_Service_QPXExpress_SliceInput';
1417    protected $sliceDataType = 'array';
1418    public $solutions;
1419  
1420  
1421    public function setMaxPrice($maxPrice)
1422    {
1423      $this->maxPrice = $maxPrice;
1424    }
1425    public function getMaxPrice()
1426    {
1427      return $this->maxPrice;
1428    }
1429    public function setPassengers(Google_Service_QPXExpress_PassengerCounts $passengers)
1430    {
1431      $this->passengers = $passengers;
1432    }
1433    public function getPassengers()
1434    {
1435      return $this->passengers;
1436    }
1437    public function setRefundable($refundable)
1438    {
1439      $this->refundable = $refundable;
1440    }
1441    public function getRefundable()
1442    {
1443      return $this->refundable;
1444    }
1445    public function setSaleCountry($saleCountry)
1446    {
1447      $this->saleCountry = $saleCountry;
1448    }
1449    public function getSaleCountry()
1450    {
1451      return $this->saleCountry;
1452    }
1453    public function setSlice($slice)
1454    {
1455      $this->slice = $slice;
1456    }
1457    public function getSlice()
1458    {
1459      return $this->slice;
1460    }
1461    public function setSolutions($solutions)
1462    {
1463      $this->solutions = $solutions;
1464    }
1465    public function getSolutions()
1466    {
1467      return $this->solutions;
1468    }
1469  }
1470  
1471  #[AllowDynamicProperties]
1472  class Google_Service_QPXExpress_TripOptionsResponse extends Google_Collection
1473  {
1474    protected $collection_key = 'tripOption';
1475    protected $internal_gapi_mappings = array(
1476    );
1477    protected $dataType = 'Google_Service_QPXExpress_Data';
1478    protected $dataDataType = '';
1479    public $kind;
1480    public $requestId;
1481    protected $tripOptionType = 'Google_Service_QPXExpress_TripOption';
1482    protected $tripOptionDataType = 'array';
1483  
1484  
1485    public function setData(Google_Service_QPXExpress_Data $data)
1486    {
1487      $this->data = $data;
1488    }
1489    public function getData()
1490    {
1491      return $this->data;
1492    }
1493    public function setKind($kind)
1494    {
1495      $this->kind = $kind;
1496    }
1497    public function getKind()
1498    {
1499      return $this->kind;
1500    }
1501    public function setRequestId($requestId)
1502    {
1503      $this->requestId = $requestId;
1504    }
1505    public function getRequestId()
1506    {
1507      return $this->requestId;
1508    }
1509    public function setTripOption($tripOption)
1510    {
1511      $this->tripOption = $tripOption;
1512    }
1513    public function getTripOption()
1514    {
1515      return $this->tripOption;
1516    }
1517  }
1518  
1519  #[AllowDynamicProperties]
1520  class Google_Service_QPXExpress_TripsSearchRequest extends Google_Model
1521  {
1522    protected $internal_gapi_mappings = array(
1523    );
1524    protected $requestType = 'Google_Service_QPXExpress_TripOptionsRequest';
1525    protected $requestDataType = '';
1526  
1527  
1528    public function setRequest(Google_Service_QPXExpress_TripOptionsRequest $request)
1529    {
1530      $this->request = $request;
1531    }
1532    public function getRequest()
1533    {
1534      return $this->request;
1535    }
1536  }
1537  
1538  #[AllowDynamicProperties]
1539  class Google_Service_QPXExpress_TripsSearchResponse extends Google_Model
1540  {
1541    protected $internal_gapi_mappings = array(
1542    );
1543    public $kind;
1544    protected $tripsType = 'Google_Service_QPXExpress_TripOptionsResponse';
1545    protected $tripsDataType = '';
1546  
1547  
1548    public function setKind($kind)
1549    {
1550      $this->kind = $kind;
1551    }
1552    public function getKind()
1553    {
1554      return $this->kind;
1555    }
1556    public function setTrips(Google_Service_QPXExpress_TripOptionsResponse $trips)
1557    {
1558      $this->trips = $trips;
1559    }
1560    public function getTrips()
1561    {
1562      return $this->trips;
1563    }
1564  }