source: vendor/google/apiclient-services/src/Walletobjects/TransitObject.php@ f9c482b

Last change on this file since f9c482b was f9c482b, checked in by Vlado 222039 <vlado.popovski@…>, 13 days ago

Upload new project files

  • Property mode set to 100644
File size: 15.2 KB
Line 
1<?php
2/*
3 * Copyright 2014 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
18namespace Google\Service\Walletobjects;
19
20class TransitObject extends \Google\Collection
21{
22 protected $collection_key = 'valueAddedModuleData';
23 protected $activationStatusType = ActivationStatus::class;
24 protected $activationStatusDataType = '';
25 protected $appLinkDataType = AppLinkData::class;
26 protected $appLinkDataDataType = '';
27 protected $barcodeType = Barcode::class;
28 protected $barcodeDataType = '';
29 /**
30 * @var string
31 */
32 public $classId;
33 protected $classReferenceType = TransitClass::class;
34 protected $classReferenceDataType = '';
35 /**
36 * @var string
37 */
38 public $concessionCategory;
39 protected $customConcessionCategoryType = LocalizedString::class;
40 protected $customConcessionCategoryDataType = '';
41 protected $customTicketStatusType = LocalizedString::class;
42 protected $customTicketStatusDataType = '';
43 protected $deviceContextType = DeviceContext::class;
44 protected $deviceContextDataType = '';
45 /**
46 * @var bool
47 */
48 public $disableExpirationNotification;
49 protected $groupingInfoType = GroupingInfo::class;
50 protected $groupingInfoDataType = '';
51 /**
52 * @var bool
53 */
54 public $hasLinkedDevice;
55 /**
56 * @var bool
57 */
58 public $hasUsers;
59 protected $heroImageType = Image::class;
60 protected $heroImageDataType = '';
61 /**
62 * @var string
63 */
64 public $hexBackgroundColor;
65 /**
66 * @var string
67 */
68 public $id;
69 protected $imageModulesDataType = ImageModuleData::class;
70 protected $imageModulesDataDataType = 'array';
71 protected $infoModuleDataType = InfoModuleData::class;
72 protected $infoModuleDataDataType = '';
73 /**
74 * @var string[]
75 */
76 public $linkedObjectIds;
77 protected $linksModuleDataType = LinksModuleData::class;
78 protected $linksModuleDataDataType = '';
79 protected $locationsType = LatLongPoint::class;
80 protected $locationsDataType = 'array';
81 protected $merchantLocationsType = MerchantLocation::class;
82 protected $merchantLocationsDataType = 'array';
83 protected $messagesType = Message::class;
84 protected $messagesDataType = 'array';
85 /**
86 * @var string
87 */
88 public $notifyPreference;
89 protected $passConstraintsType = PassConstraints::class;
90 protected $passConstraintsDataType = '';
91 /**
92 * @var string
93 */
94 public $passengerNames;
95 /**
96 * @var string
97 */
98 public $passengerType;
99 protected $purchaseDetailsType = PurchaseDetails::class;
100 protected $purchaseDetailsDataType = '';
101 protected $rotatingBarcodeType = RotatingBarcode::class;
102 protected $rotatingBarcodeDataType = '';
103 protected $saveRestrictionsType = SaveRestrictions::class;
104 protected $saveRestrictionsDataType = '';
105 /**
106 * @var string
107 */
108 public $smartTapRedemptionValue;
109 /**
110 * @var string
111 */
112 public $state;
113 protected $textModulesDataType = TextModuleData::class;
114 protected $textModulesDataDataType = 'array';
115 protected $ticketLegType = TicketLeg::class;
116 protected $ticketLegDataType = '';
117 protected $ticketLegsType = TicketLeg::class;
118 protected $ticketLegsDataType = 'array';
119 /**
120 * @var string
121 */
122 public $ticketNumber;
123 protected $ticketRestrictionsType = TicketRestrictions::class;
124 protected $ticketRestrictionsDataType = '';
125 /**
126 * @var string
127 */
128 public $ticketStatus;
129 /**
130 * @var string
131 */
132 public $tripId;
133 /**
134 * @var string
135 */
136 public $tripType;
137 protected $validTimeIntervalType = TimeInterval::class;
138 protected $validTimeIntervalDataType = '';
139 protected $valueAddedModuleDataType = ValueAddedModuleData::class;
140 protected $valueAddedModuleDataDataType = 'array';
141 /**
142 * @var string
143 */
144 public $version;
145
146 /**
147 * @param ActivationStatus
148 */
149 public function setActivationStatus(ActivationStatus $activationStatus)
150 {
151 $this->activationStatus = $activationStatus;
152 }
153 /**
154 * @return ActivationStatus
155 */
156 public function getActivationStatus()
157 {
158 return $this->activationStatus;
159 }
160 /**
161 * @param AppLinkData
162 */
163 public function setAppLinkData(AppLinkData $appLinkData)
164 {
165 $this->appLinkData = $appLinkData;
166 }
167 /**
168 * @return AppLinkData
169 */
170 public function getAppLinkData()
171 {
172 return $this->appLinkData;
173 }
174 /**
175 * @param Barcode
176 */
177 public function setBarcode(Barcode $barcode)
178 {
179 $this->barcode = $barcode;
180 }
181 /**
182 * @return Barcode
183 */
184 public function getBarcode()
185 {
186 return $this->barcode;
187 }
188 /**
189 * @param string
190 */
191 public function setClassId($classId)
192 {
193 $this->classId = $classId;
194 }
195 /**
196 * @return string
197 */
198 public function getClassId()
199 {
200 return $this->classId;
201 }
202 /**
203 * @param TransitClass
204 */
205 public function setClassReference(TransitClass $classReference)
206 {
207 $this->classReference = $classReference;
208 }
209 /**
210 * @return TransitClass
211 */
212 public function getClassReference()
213 {
214 return $this->classReference;
215 }
216 /**
217 * @param string
218 */
219 public function setConcessionCategory($concessionCategory)
220 {
221 $this->concessionCategory = $concessionCategory;
222 }
223 /**
224 * @return string
225 */
226 public function getConcessionCategory()
227 {
228 return $this->concessionCategory;
229 }
230 /**
231 * @param LocalizedString
232 */
233 public function setCustomConcessionCategory(LocalizedString $customConcessionCategory)
234 {
235 $this->customConcessionCategory = $customConcessionCategory;
236 }
237 /**
238 * @return LocalizedString
239 */
240 public function getCustomConcessionCategory()
241 {
242 return $this->customConcessionCategory;
243 }
244 /**
245 * @param LocalizedString
246 */
247 public function setCustomTicketStatus(LocalizedString $customTicketStatus)
248 {
249 $this->customTicketStatus = $customTicketStatus;
250 }
251 /**
252 * @return LocalizedString
253 */
254 public function getCustomTicketStatus()
255 {
256 return $this->customTicketStatus;
257 }
258 /**
259 * @param DeviceContext
260 */
261 public function setDeviceContext(DeviceContext $deviceContext)
262 {
263 $this->deviceContext = $deviceContext;
264 }
265 /**
266 * @return DeviceContext
267 */
268 public function getDeviceContext()
269 {
270 return $this->deviceContext;
271 }
272 /**
273 * @param bool
274 */
275 public function setDisableExpirationNotification($disableExpirationNotification)
276 {
277 $this->disableExpirationNotification = $disableExpirationNotification;
278 }
279 /**
280 * @return bool
281 */
282 public function getDisableExpirationNotification()
283 {
284 return $this->disableExpirationNotification;
285 }
286 /**
287 * @param GroupingInfo
288 */
289 public function setGroupingInfo(GroupingInfo $groupingInfo)
290 {
291 $this->groupingInfo = $groupingInfo;
292 }
293 /**
294 * @return GroupingInfo
295 */
296 public function getGroupingInfo()
297 {
298 return $this->groupingInfo;
299 }
300 /**
301 * @param bool
302 */
303 public function setHasLinkedDevice($hasLinkedDevice)
304 {
305 $this->hasLinkedDevice = $hasLinkedDevice;
306 }
307 /**
308 * @return bool
309 */
310 public function getHasLinkedDevice()
311 {
312 return $this->hasLinkedDevice;
313 }
314 /**
315 * @param bool
316 */
317 public function setHasUsers($hasUsers)
318 {
319 $this->hasUsers = $hasUsers;
320 }
321 /**
322 * @return bool
323 */
324 public function getHasUsers()
325 {
326 return $this->hasUsers;
327 }
328 /**
329 * @param Image
330 */
331 public function setHeroImage(Image $heroImage)
332 {
333 $this->heroImage = $heroImage;
334 }
335 /**
336 * @return Image
337 */
338 public function getHeroImage()
339 {
340 return $this->heroImage;
341 }
342 /**
343 * @param string
344 */
345 public function setHexBackgroundColor($hexBackgroundColor)
346 {
347 $this->hexBackgroundColor = $hexBackgroundColor;
348 }
349 /**
350 * @return string
351 */
352 public function getHexBackgroundColor()
353 {
354 return $this->hexBackgroundColor;
355 }
356 /**
357 * @param string
358 */
359 public function setId($id)
360 {
361 $this->id = $id;
362 }
363 /**
364 * @return string
365 */
366 public function getId()
367 {
368 return $this->id;
369 }
370 /**
371 * @param ImageModuleData[]
372 */
373 public function setImageModulesData($imageModulesData)
374 {
375 $this->imageModulesData = $imageModulesData;
376 }
377 /**
378 * @return ImageModuleData[]
379 */
380 public function getImageModulesData()
381 {
382 return $this->imageModulesData;
383 }
384 /**
385 * @param InfoModuleData
386 */
387 public function setInfoModuleData(InfoModuleData $infoModuleData)
388 {
389 $this->infoModuleData = $infoModuleData;
390 }
391 /**
392 * @return InfoModuleData
393 */
394 public function getInfoModuleData()
395 {
396 return $this->infoModuleData;
397 }
398 /**
399 * @param string[]
400 */
401 public function setLinkedObjectIds($linkedObjectIds)
402 {
403 $this->linkedObjectIds = $linkedObjectIds;
404 }
405 /**
406 * @return string[]
407 */
408 public function getLinkedObjectIds()
409 {
410 return $this->linkedObjectIds;
411 }
412 /**
413 * @param LinksModuleData
414 */
415 public function setLinksModuleData(LinksModuleData $linksModuleData)
416 {
417 $this->linksModuleData = $linksModuleData;
418 }
419 /**
420 * @return LinksModuleData
421 */
422 public function getLinksModuleData()
423 {
424 return $this->linksModuleData;
425 }
426 /**
427 * @param LatLongPoint[]
428 */
429 public function setLocations($locations)
430 {
431 $this->locations = $locations;
432 }
433 /**
434 * @return LatLongPoint[]
435 */
436 public function getLocations()
437 {
438 return $this->locations;
439 }
440 /**
441 * @param MerchantLocation[]
442 */
443 public function setMerchantLocations($merchantLocations)
444 {
445 $this->merchantLocations = $merchantLocations;
446 }
447 /**
448 * @return MerchantLocation[]
449 */
450 public function getMerchantLocations()
451 {
452 return $this->merchantLocations;
453 }
454 /**
455 * @param Message[]
456 */
457 public function setMessages($messages)
458 {
459 $this->messages = $messages;
460 }
461 /**
462 * @return Message[]
463 */
464 public function getMessages()
465 {
466 return $this->messages;
467 }
468 /**
469 * @param string
470 */
471 public function setNotifyPreference($notifyPreference)
472 {
473 $this->notifyPreference = $notifyPreference;
474 }
475 /**
476 * @return string
477 */
478 public function getNotifyPreference()
479 {
480 return $this->notifyPreference;
481 }
482 /**
483 * @param PassConstraints
484 */
485 public function setPassConstraints(PassConstraints $passConstraints)
486 {
487 $this->passConstraints = $passConstraints;
488 }
489 /**
490 * @return PassConstraints
491 */
492 public function getPassConstraints()
493 {
494 return $this->passConstraints;
495 }
496 /**
497 * @param string
498 */
499 public function setPassengerNames($passengerNames)
500 {
501 $this->passengerNames = $passengerNames;
502 }
503 /**
504 * @return string
505 */
506 public function getPassengerNames()
507 {
508 return $this->passengerNames;
509 }
510 /**
511 * @param string
512 */
513 public function setPassengerType($passengerType)
514 {
515 $this->passengerType = $passengerType;
516 }
517 /**
518 * @return string
519 */
520 public function getPassengerType()
521 {
522 return $this->passengerType;
523 }
524 /**
525 * @param PurchaseDetails
526 */
527 public function setPurchaseDetails(PurchaseDetails $purchaseDetails)
528 {
529 $this->purchaseDetails = $purchaseDetails;
530 }
531 /**
532 * @return PurchaseDetails
533 */
534 public function getPurchaseDetails()
535 {
536 return $this->purchaseDetails;
537 }
538 /**
539 * @param RotatingBarcode
540 */
541 public function setRotatingBarcode(RotatingBarcode $rotatingBarcode)
542 {
543 $this->rotatingBarcode = $rotatingBarcode;
544 }
545 /**
546 * @return RotatingBarcode
547 */
548 public function getRotatingBarcode()
549 {
550 return $this->rotatingBarcode;
551 }
552 /**
553 * @param SaveRestrictions
554 */
555 public function setSaveRestrictions(SaveRestrictions $saveRestrictions)
556 {
557 $this->saveRestrictions = $saveRestrictions;
558 }
559 /**
560 * @return SaveRestrictions
561 */
562 public function getSaveRestrictions()
563 {
564 return $this->saveRestrictions;
565 }
566 /**
567 * @param string
568 */
569 public function setSmartTapRedemptionValue($smartTapRedemptionValue)
570 {
571 $this->smartTapRedemptionValue = $smartTapRedemptionValue;
572 }
573 /**
574 * @return string
575 */
576 public function getSmartTapRedemptionValue()
577 {
578 return $this->smartTapRedemptionValue;
579 }
580 /**
581 * @param string
582 */
583 public function setState($state)
584 {
585 $this->state = $state;
586 }
587 /**
588 * @return string
589 */
590 public function getState()
591 {
592 return $this->state;
593 }
594 /**
595 * @param TextModuleData[]
596 */
597 public function setTextModulesData($textModulesData)
598 {
599 $this->textModulesData = $textModulesData;
600 }
601 /**
602 * @return TextModuleData[]
603 */
604 public function getTextModulesData()
605 {
606 return $this->textModulesData;
607 }
608 /**
609 * @param TicketLeg
610 */
611 public function setTicketLeg(TicketLeg $ticketLeg)
612 {
613 $this->ticketLeg = $ticketLeg;
614 }
615 /**
616 * @return TicketLeg
617 */
618 public function getTicketLeg()
619 {
620 return $this->ticketLeg;
621 }
622 /**
623 * @param TicketLeg[]
624 */
625 public function setTicketLegs($ticketLegs)
626 {
627 $this->ticketLegs = $ticketLegs;
628 }
629 /**
630 * @return TicketLeg[]
631 */
632 public function getTicketLegs()
633 {
634 return $this->ticketLegs;
635 }
636 /**
637 * @param string
638 */
639 public function setTicketNumber($ticketNumber)
640 {
641 $this->ticketNumber = $ticketNumber;
642 }
643 /**
644 * @return string
645 */
646 public function getTicketNumber()
647 {
648 return $this->ticketNumber;
649 }
650 /**
651 * @param TicketRestrictions
652 */
653 public function setTicketRestrictions(TicketRestrictions $ticketRestrictions)
654 {
655 $this->ticketRestrictions = $ticketRestrictions;
656 }
657 /**
658 * @return TicketRestrictions
659 */
660 public function getTicketRestrictions()
661 {
662 return $this->ticketRestrictions;
663 }
664 /**
665 * @param string
666 */
667 public function setTicketStatus($ticketStatus)
668 {
669 $this->ticketStatus = $ticketStatus;
670 }
671 /**
672 * @return string
673 */
674 public function getTicketStatus()
675 {
676 return $this->ticketStatus;
677 }
678 /**
679 * @param string
680 */
681 public function setTripId($tripId)
682 {
683 $this->tripId = $tripId;
684 }
685 /**
686 * @return string
687 */
688 public function getTripId()
689 {
690 return $this->tripId;
691 }
692 /**
693 * @param string
694 */
695 public function setTripType($tripType)
696 {
697 $this->tripType = $tripType;
698 }
699 /**
700 * @return string
701 */
702 public function getTripType()
703 {
704 return $this->tripType;
705 }
706 /**
707 * @param TimeInterval
708 */
709 public function setValidTimeInterval(TimeInterval $validTimeInterval)
710 {
711 $this->validTimeInterval = $validTimeInterval;
712 }
713 /**
714 * @return TimeInterval
715 */
716 public function getValidTimeInterval()
717 {
718 return $this->validTimeInterval;
719 }
720 /**
721 * @param ValueAddedModuleData[]
722 */
723 public function setValueAddedModuleData($valueAddedModuleData)
724 {
725 $this->valueAddedModuleData = $valueAddedModuleData;
726 }
727 /**
728 * @return ValueAddedModuleData[]
729 */
730 public function getValueAddedModuleData()
731 {
732 return $this->valueAddedModuleData;
733 }
734 /**
735 * @param string
736 */
737 public function setVersion($version)
738 {
739 $this->version = $version;
740 }
741 /**
742 * @return string
743 */
744 public function getVersion()
745 {
746 return $this->version;
747 }
748}
749
750// Adding a class alias for backwards compatibility with the previous class name.
751class_alias(TransitObject::class, 'Google_Service_Walletobjects_TransitObject');
Note: See TracBrowser for help on using the repository browser.