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 |
|
---|
18 | namespace Google\Service\Walletobjects;
|
---|
19 |
|
---|
20 | class EventTicketObject extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'valueAddedModuleData';
|
---|
23 | protected $appLinkDataType = AppLinkData::class;
|
---|
24 | protected $appLinkDataDataType = '';
|
---|
25 | protected $barcodeType = Barcode::class;
|
---|
26 | protected $barcodeDataType = '';
|
---|
27 | /**
|
---|
28 | * @var string
|
---|
29 | */
|
---|
30 | public $classId;
|
---|
31 | protected $classReferenceType = EventTicketClass::class;
|
---|
32 | protected $classReferenceDataType = '';
|
---|
33 | /**
|
---|
34 | * @var bool
|
---|
35 | */
|
---|
36 | public $disableExpirationNotification;
|
---|
37 | protected $faceValueType = Money::class;
|
---|
38 | protected $faceValueDataType = '';
|
---|
39 | protected $groupingInfoType = GroupingInfo::class;
|
---|
40 | protected $groupingInfoDataType = '';
|
---|
41 | /**
|
---|
42 | * @var bool
|
---|
43 | */
|
---|
44 | public $hasLinkedDevice;
|
---|
45 | /**
|
---|
46 | * @var bool
|
---|
47 | */
|
---|
48 | public $hasUsers;
|
---|
49 | protected $heroImageType = Image::class;
|
---|
50 | protected $heroImageDataType = '';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $hexBackgroundColor;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $id;
|
---|
59 | protected $imageModulesDataType = ImageModuleData::class;
|
---|
60 | protected $imageModulesDataDataType = 'array';
|
---|
61 | protected $infoModuleDataType = InfoModuleData::class;
|
---|
62 | protected $infoModuleDataDataType = '';
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $kind;
|
---|
67 | /**
|
---|
68 | * @var string[]
|
---|
69 | */
|
---|
70 | public $linkedObjectIds;
|
---|
71 | /**
|
---|
72 | * @var string[]
|
---|
73 | */
|
---|
74 | public $linkedOfferIds;
|
---|
75 | protected $linksModuleDataType = LinksModuleData::class;
|
---|
76 | protected $linksModuleDataDataType = '';
|
---|
77 | protected $locationsType = LatLongPoint::class;
|
---|
78 | protected $locationsDataType = 'array';
|
---|
79 | protected $merchantLocationsType = MerchantLocation::class;
|
---|
80 | protected $merchantLocationsDataType = 'array';
|
---|
81 | protected $messagesType = Message::class;
|
---|
82 | protected $messagesDataType = 'array';
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $notifyPreference;
|
---|
87 | protected $passConstraintsType = PassConstraints::class;
|
---|
88 | protected $passConstraintsDataType = '';
|
---|
89 | protected $reservationInfoType = EventReservationInfo::class;
|
---|
90 | protected $reservationInfoDataType = '';
|
---|
91 | protected $rotatingBarcodeType = RotatingBarcode::class;
|
---|
92 | protected $rotatingBarcodeDataType = '';
|
---|
93 | protected $saveRestrictionsType = SaveRestrictions::class;
|
---|
94 | protected $saveRestrictionsDataType = '';
|
---|
95 | protected $seatInfoType = EventSeat::class;
|
---|
96 | protected $seatInfoDataType = '';
|
---|
97 | /**
|
---|
98 | * @var string
|
---|
99 | */
|
---|
100 | public $smartTapRedemptionValue;
|
---|
101 | /**
|
---|
102 | * @var string
|
---|
103 | */
|
---|
104 | public $state;
|
---|
105 | protected $textModulesDataType = TextModuleData::class;
|
---|
106 | protected $textModulesDataDataType = 'array';
|
---|
107 | /**
|
---|
108 | * @var string
|
---|
109 | */
|
---|
110 | public $ticketHolderName;
|
---|
111 | /**
|
---|
112 | * @var string
|
---|
113 | */
|
---|
114 | public $ticketNumber;
|
---|
115 | protected $ticketTypeType = LocalizedString::class;
|
---|
116 | protected $ticketTypeDataType = '';
|
---|
117 | protected $validTimeIntervalType = TimeInterval::class;
|
---|
118 | protected $validTimeIntervalDataType = '';
|
---|
119 | protected $valueAddedModuleDataType = ValueAddedModuleData::class;
|
---|
120 | protected $valueAddedModuleDataDataType = 'array';
|
---|
121 | /**
|
---|
122 | * @var string
|
---|
123 | */
|
---|
124 | public $version;
|
---|
125 |
|
---|
126 | /**
|
---|
127 | * @param AppLinkData
|
---|
128 | */
|
---|
129 | public function setAppLinkData(AppLinkData $appLinkData)
|
---|
130 | {
|
---|
131 | $this->appLinkData = $appLinkData;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return AppLinkData
|
---|
135 | */
|
---|
136 | public function getAppLinkData()
|
---|
137 | {
|
---|
138 | return $this->appLinkData;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param Barcode
|
---|
142 | */
|
---|
143 | public function setBarcode(Barcode $barcode)
|
---|
144 | {
|
---|
145 | $this->barcode = $barcode;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return Barcode
|
---|
149 | */
|
---|
150 | public function getBarcode()
|
---|
151 | {
|
---|
152 | return $this->barcode;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param string
|
---|
156 | */
|
---|
157 | public function setClassId($classId)
|
---|
158 | {
|
---|
159 | $this->classId = $classId;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return string
|
---|
163 | */
|
---|
164 | public function getClassId()
|
---|
165 | {
|
---|
166 | return $this->classId;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param EventTicketClass
|
---|
170 | */
|
---|
171 | public function setClassReference(EventTicketClass $classReference)
|
---|
172 | {
|
---|
173 | $this->classReference = $classReference;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return EventTicketClass
|
---|
177 | */
|
---|
178 | public function getClassReference()
|
---|
179 | {
|
---|
180 | return $this->classReference;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param bool
|
---|
184 | */
|
---|
185 | public function setDisableExpirationNotification($disableExpirationNotification)
|
---|
186 | {
|
---|
187 | $this->disableExpirationNotification = $disableExpirationNotification;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return bool
|
---|
191 | */
|
---|
192 | public function getDisableExpirationNotification()
|
---|
193 | {
|
---|
194 | return $this->disableExpirationNotification;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param Money
|
---|
198 | */
|
---|
199 | public function setFaceValue(Money $faceValue)
|
---|
200 | {
|
---|
201 | $this->faceValue = $faceValue;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return Money
|
---|
205 | */
|
---|
206 | public function getFaceValue()
|
---|
207 | {
|
---|
208 | return $this->faceValue;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param GroupingInfo
|
---|
212 | */
|
---|
213 | public function setGroupingInfo(GroupingInfo $groupingInfo)
|
---|
214 | {
|
---|
215 | $this->groupingInfo = $groupingInfo;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return GroupingInfo
|
---|
219 | */
|
---|
220 | public function getGroupingInfo()
|
---|
221 | {
|
---|
222 | return $this->groupingInfo;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param bool
|
---|
226 | */
|
---|
227 | public function setHasLinkedDevice($hasLinkedDevice)
|
---|
228 | {
|
---|
229 | $this->hasLinkedDevice = $hasLinkedDevice;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return bool
|
---|
233 | */
|
---|
234 | public function getHasLinkedDevice()
|
---|
235 | {
|
---|
236 | return $this->hasLinkedDevice;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param bool
|
---|
240 | */
|
---|
241 | public function setHasUsers($hasUsers)
|
---|
242 | {
|
---|
243 | $this->hasUsers = $hasUsers;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return bool
|
---|
247 | */
|
---|
248 | public function getHasUsers()
|
---|
249 | {
|
---|
250 | return $this->hasUsers;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param Image
|
---|
254 | */
|
---|
255 | public function setHeroImage(Image $heroImage)
|
---|
256 | {
|
---|
257 | $this->heroImage = $heroImage;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return Image
|
---|
261 | */
|
---|
262 | public function getHeroImage()
|
---|
263 | {
|
---|
264 | return $this->heroImage;
|
---|
265 | }
|
---|
266 | /**
|
---|
267 | * @param string
|
---|
268 | */
|
---|
269 | public function setHexBackgroundColor($hexBackgroundColor)
|
---|
270 | {
|
---|
271 | $this->hexBackgroundColor = $hexBackgroundColor;
|
---|
272 | }
|
---|
273 | /**
|
---|
274 | * @return string
|
---|
275 | */
|
---|
276 | public function getHexBackgroundColor()
|
---|
277 | {
|
---|
278 | return $this->hexBackgroundColor;
|
---|
279 | }
|
---|
280 | /**
|
---|
281 | * @param string
|
---|
282 | */
|
---|
283 | public function setId($id)
|
---|
284 | {
|
---|
285 | $this->id = $id;
|
---|
286 | }
|
---|
287 | /**
|
---|
288 | * @return string
|
---|
289 | */
|
---|
290 | public function getId()
|
---|
291 | {
|
---|
292 | return $this->id;
|
---|
293 | }
|
---|
294 | /**
|
---|
295 | * @param ImageModuleData[]
|
---|
296 | */
|
---|
297 | public function setImageModulesData($imageModulesData)
|
---|
298 | {
|
---|
299 | $this->imageModulesData = $imageModulesData;
|
---|
300 | }
|
---|
301 | /**
|
---|
302 | * @return ImageModuleData[]
|
---|
303 | */
|
---|
304 | public function getImageModulesData()
|
---|
305 | {
|
---|
306 | return $this->imageModulesData;
|
---|
307 | }
|
---|
308 | /**
|
---|
309 | * @param InfoModuleData
|
---|
310 | */
|
---|
311 | public function setInfoModuleData(InfoModuleData $infoModuleData)
|
---|
312 | {
|
---|
313 | $this->infoModuleData = $infoModuleData;
|
---|
314 | }
|
---|
315 | /**
|
---|
316 | * @return InfoModuleData
|
---|
317 | */
|
---|
318 | public function getInfoModuleData()
|
---|
319 | {
|
---|
320 | return $this->infoModuleData;
|
---|
321 | }
|
---|
322 | /**
|
---|
323 | * @param string
|
---|
324 | */
|
---|
325 | public function setKind($kind)
|
---|
326 | {
|
---|
327 | $this->kind = $kind;
|
---|
328 | }
|
---|
329 | /**
|
---|
330 | * @return string
|
---|
331 | */
|
---|
332 | public function getKind()
|
---|
333 | {
|
---|
334 | return $this->kind;
|
---|
335 | }
|
---|
336 | /**
|
---|
337 | * @param string[]
|
---|
338 | */
|
---|
339 | public function setLinkedObjectIds($linkedObjectIds)
|
---|
340 | {
|
---|
341 | $this->linkedObjectIds = $linkedObjectIds;
|
---|
342 | }
|
---|
343 | /**
|
---|
344 | * @return string[]
|
---|
345 | */
|
---|
346 | public function getLinkedObjectIds()
|
---|
347 | {
|
---|
348 | return $this->linkedObjectIds;
|
---|
349 | }
|
---|
350 | /**
|
---|
351 | * @param string[]
|
---|
352 | */
|
---|
353 | public function setLinkedOfferIds($linkedOfferIds)
|
---|
354 | {
|
---|
355 | $this->linkedOfferIds = $linkedOfferIds;
|
---|
356 | }
|
---|
357 | /**
|
---|
358 | * @return string[]
|
---|
359 | */
|
---|
360 | public function getLinkedOfferIds()
|
---|
361 | {
|
---|
362 | return $this->linkedOfferIds;
|
---|
363 | }
|
---|
364 | /**
|
---|
365 | * @param LinksModuleData
|
---|
366 | */
|
---|
367 | public function setLinksModuleData(LinksModuleData $linksModuleData)
|
---|
368 | {
|
---|
369 | $this->linksModuleData = $linksModuleData;
|
---|
370 | }
|
---|
371 | /**
|
---|
372 | * @return LinksModuleData
|
---|
373 | */
|
---|
374 | public function getLinksModuleData()
|
---|
375 | {
|
---|
376 | return $this->linksModuleData;
|
---|
377 | }
|
---|
378 | /**
|
---|
379 | * @param LatLongPoint[]
|
---|
380 | */
|
---|
381 | public function setLocations($locations)
|
---|
382 | {
|
---|
383 | $this->locations = $locations;
|
---|
384 | }
|
---|
385 | /**
|
---|
386 | * @return LatLongPoint[]
|
---|
387 | */
|
---|
388 | public function getLocations()
|
---|
389 | {
|
---|
390 | return $this->locations;
|
---|
391 | }
|
---|
392 | /**
|
---|
393 | * @param MerchantLocation[]
|
---|
394 | */
|
---|
395 | public function setMerchantLocations($merchantLocations)
|
---|
396 | {
|
---|
397 | $this->merchantLocations = $merchantLocations;
|
---|
398 | }
|
---|
399 | /**
|
---|
400 | * @return MerchantLocation[]
|
---|
401 | */
|
---|
402 | public function getMerchantLocations()
|
---|
403 | {
|
---|
404 | return $this->merchantLocations;
|
---|
405 | }
|
---|
406 | /**
|
---|
407 | * @param Message[]
|
---|
408 | */
|
---|
409 | public function setMessages($messages)
|
---|
410 | {
|
---|
411 | $this->messages = $messages;
|
---|
412 | }
|
---|
413 | /**
|
---|
414 | * @return Message[]
|
---|
415 | */
|
---|
416 | public function getMessages()
|
---|
417 | {
|
---|
418 | return $this->messages;
|
---|
419 | }
|
---|
420 | /**
|
---|
421 | * @param string
|
---|
422 | */
|
---|
423 | public function setNotifyPreference($notifyPreference)
|
---|
424 | {
|
---|
425 | $this->notifyPreference = $notifyPreference;
|
---|
426 | }
|
---|
427 | /**
|
---|
428 | * @return string
|
---|
429 | */
|
---|
430 | public function getNotifyPreference()
|
---|
431 | {
|
---|
432 | return $this->notifyPreference;
|
---|
433 | }
|
---|
434 | /**
|
---|
435 | * @param PassConstraints
|
---|
436 | */
|
---|
437 | public function setPassConstraints(PassConstraints $passConstraints)
|
---|
438 | {
|
---|
439 | $this->passConstraints = $passConstraints;
|
---|
440 | }
|
---|
441 | /**
|
---|
442 | * @return PassConstraints
|
---|
443 | */
|
---|
444 | public function getPassConstraints()
|
---|
445 | {
|
---|
446 | return $this->passConstraints;
|
---|
447 | }
|
---|
448 | /**
|
---|
449 | * @param EventReservationInfo
|
---|
450 | */
|
---|
451 | public function setReservationInfo(EventReservationInfo $reservationInfo)
|
---|
452 | {
|
---|
453 | $this->reservationInfo = $reservationInfo;
|
---|
454 | }
|
---|
455 | /**
|
---|
456 | * @return EventReservationInfo
|
---|
457 | */
|
---|
458 | public function getReservationInfo()
|
---|
459 | {
|
---|
460 | return $this->reservationInfo;
|
---|
461 | }
|
---|
462 | /**
|
---|
463 | * @param RotatingBarcode
|
---|
464 | */
|
---|
465 | public function setRotatingBarcode(RotatingBarcode $rotatingBarcode)
|
---|
466 | {
|
---|
467 | $this->rotatingBarcode = $rotatingBarcode;
|
---|
468 | }
|
---|
469 | /**
|
---|
470 | * @return RotatingBarcode
|
---|
471 | */
|
---|
472 | public function getRotatingBarcode()
|
---|
473 | {
|
---|
474 | return $this->rotatingBarcode;
|
---|
475 | }
|
---|
476 | /**
|
---|
477 | * @param SaveRestrictions
|
---|
478 | */
|
---|
479 | public function setSaveRestrictions(SaveRestrictions $saveRestrictions)
|
---|
480 | {
|
---|
481 | $this->saveRestrictions = $saveRestrictions;
|
---|
482 | }
|
---|
483 | /**
|
---|
484 | * @return SaveRestrictions
|
---|
485 | */
|
---|
486 | public function getSaveRestrictions()
|
---|
487 | {
|
---|
488 | return $this->saveRestrictions;
|
---|
489 | }
|
---|
490 | /**
|
---|
491 | * @param EventSeat
|
---|
492 | */
|
---|
493 | public function setSeatInfo(EventSeat $seatInfo)
|
---|
494 | {
|
---|
495 | $this->seatInfo = $seatInfo;
|
---|
496 | }
|
---|
497 | /**
|
---|
498 | * @return EventSeat
|
---|
499 | */
|
---|
500 | public function getSeatInfo()
|
---|
501 | {
|
---|
502 | return $this->seatInfo;
|
---|
503 | }
|
---|
504 | /**
|
---|
505 | * @param string
|
---|
506 | */
|
---|
507 | public function setSmartTapRedemptionValue($smartTapRedemptionValue)
|
---|
508 | {
|
---|
509 | $this->smartTapRedemptionValue = $smartTapRedemptionValue;
|
---|
510 | }
|
---|
511 | /**
|
---|
512 | * @return string
|
---|
513 | */
|
---|
514 | public function getSmartTapRedemptionValue()
|
---|
515 | {
|
---|
516 | return $this->smartTapRedemptionValue;
|
---|
517 | }
|
---|
518 | /**
|
---|
519 | * @param string
|
---|
520 | */
|
---|
521 | public function setState($state)
|
---|
522 | {
|
---|
523 | $this->state = $state;
|
---|
524 | }
|
---|
525 | /**
|
---|
526 | * @return string
|
---|
527 | */
|
---|
528 | public function getState()
|
---|
529 | {
|
---|
530 | return $this->state;
|
---|
531 | }
|
---|
532 | /**
|
---|
533 | * @param TextModuleData[]
|
---|
534 | */
|
---|
535 | public function setTextModulesData($textModulesData)
|
---|
536 | {
|
---|
537 | $this->textModulesData = $textModulesData;
|
---|
538 | }
|
---|
539 | /**
|
---|
540 | * @return TextModuleData[]
|
---|
541 | */
|
---|
542 | public function getTextModulesData()
|
---|
543 | {
|
---|
544 | return $this->textModulesData;
|
---|
545 | }
|
---|
546 | /**
|
---|
547 | * @param string
|
---|
548 | */
|
---|
549 | public function setTicketHolderName($ticketHolderName)
|
---|
550 | {
|
---|
551 | $this->ticketHolderName = $ticketHolderName;
|
---|
552 | }
|
---|
553 | /**
|
---|
554 | * @return string
|
---|
555 | */
|
---|
556 | public function getTicketHolderName()
|
---|
557 | {
|
---|
558 | return $this->ticketHolderName;
|
---|
559 | }
|
---|
560 | /**
|
---|
561 | * @param string
|
---|
562 | */
|
---|
563 | public function setTicketNumber($ticketNumber)
|
---|
564 | {
|
---|
565 | $this->ticketNumber = $ticketNumber;
|
---|
566 | }
|
---|
567 | /**
|
---|
568 | * @return string
|
---|
569 | */
|
---|
570 | public function getTicketNumber()
|
---|
571 | {
|
---|
572 | return $this->ticketNumber;
|
---|
573 | }
|
---|
574 | /**
|
---|
575 | * @param LocalizedString
|
---|
576 | */
|
---|
577 | public function setTicketType(LocalizedString $ticketType)
|
---|
578 | {
|
---|
579 | $this->ticketType = $ticketType;
|
---|
580 | }
|
---|
581 | /**
|
---|
582 | * @return LocalizedString
|
---|
583 | */
|
---|
584 | public function getTicketType()
|
---|
585 | {
|
---|
586 | return $this->ticketType;
|
---|
587 | }
|
---|
588 | /**
|
---|
589 | * @param TimeInterval
|
---|
590 | */
|
---|
591 | public function setValidTimeInterval(TimeInterval $validTimeInterval)
|
---|
592 | {
|
---|
593 | $this->validTimeInterval = $validTimeInterval;
|
---|
594 | }
|
---|
595 | /**
|
---|
596 | * @return TimeInterval
|
---|
597 | */
|
---|
598 | public function getValidTimeInterval()
|
---|
599 | {
|
---|
600 | return $this->validTimeInterval;
|
---|
601 | }
|
---|
602 | /**
|
---|
603 | * @param ValueAddedModuleData[]
|
---|
604 | */
|
---|
605 | public function setValueAddedModuleData($valueAddedModuleData)
|
---|
606 | {
|
---|
607 | $this->valueAddedModuleData = $valueAddedModuleData;
|
---|
608 | }
|
---|
609 | /**
|
---|
610 | * @return ValueAddedModuleData[]
|
---|
611 | */
|
---|
612 | public function getValueAddedModuleData()
|
---|
613 | {
|
---|
614 | return $this->valueAddedModuleData;
|
---|
615 | }
|
---|
616 | /**
|
---|
617 | * @param string
|
---|
618 | */
|
---|
619 | public function setVersion($version)
|
---|
620 | {
|
---|
621 | $this->version = $version;
|
---|
622 | }
|
---|
623 | /**
|
---|
624 | * @return string
|
---|
625 | */
|
---|
626 | public function getVersion()
|
---|
627 | {
|
---|
628 | return $this->version;
|
---|
629 | }
|
---|
630 | }
|
---|
631 |
|
---|
632 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
633 | class_alias(EventTicketObject::class, 'Google_Service_Walletobjects_EventTicketObject');
|
---|