[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> QPXExpress.php (source)

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


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1