PluginProbe
Authorizer / 2.2
Authorizer v2.2
3.15.3 3.15.2 3.15.1 3.15.0 3.14.3 3.14.4 3.14.2 3.14.1 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.8 2.9.0 2.9.1 2.9.10 2.9.11 2.9.12 2.9.13 2.9.2 2.9.3 2.9.6 All 126 releases
authorizer / inc / google-api-php-client / src / Google / Service / QPXExpress.php

QPXExpress.php in Authorizer 2.2, at inc/google-api-php-client/src/Google/Service/QPXExpress.php

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