PluginProbe
Authorizer / 2.6.10
Authorizer v2.6.10
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 / vendor / google-api-php-client / src / Google / Service / QPXExpress.php

QPXExpress.php in Authorizer 2.6.10, at vendor/google-api-php-client/src/Google/Service/QPXExpress.php

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