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