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

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

Upload project files

  • Property mode set to 100644
File size: 39.5 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;
19
20use Google\Client;
21
22/**
23 * Service definition for Walletobjects (v1).
24 *
25 * <p>
26 * API for issuers to save and manage Google Wallet Objects.</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://developers.google.com/pay/passes" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class Walletobjects extends \Google\Service
36{
37 /** Private Service: https://www.googleapis.com/auth/wallet_object.issuer. */
38 const WALLET_OBJECT_ISSUER =
39 "https://www.googleapis.com/auth/wallet_object.issuer";
40
41 public $eventticketclass;
42 public $eventticketobject;
43 public $flightclass;
44 public $flightobject;
45 public $genericclass;
46 public $genericobject;
47 public $giftcardclass;
48 public $giftcardobject;
49 public $issuer;
50 public $jwt;
51 public $loyaltyclass;
52 public $loyaltyobject;
53 public $media;
54 public $offerclass;
55 public $offerobject;
56 public $permissions;
57 public $smarttap;
58 public $transitclass;
59 public $transitobject;
60 public $rootUrlTemplate;
61
62 /**
63 * Constructs the internal representation of the Walletobjects service.
64 *
65 * @param Client|array $clientOrConfig The client used to deliver requests, or a
66 * config array to pass to a new Client instance.
67 * @param string $rootUrl The root URL used for requests to the service.
68 */
69 public function __construct($clientOrConfig = [], $rootUrl = null)
70 {
71 parent::__construct($clientOrConfig);
72 $this->rootUrl = $rootUrl ?: 'https://walletobjects.googleapis.com/';
73 $this->rootUrlTemplate = $rootUrl ?: 'https://walletobjects.UNIVERSE_DOMAIN/';
74 $this->servicePath = '';
75 $this->batchPath = 'batch';
76 $this->version = 'v1';
77 $this->serviceName = 'walletobjects';
78
79 $this->eventticketclass = new Walletobjects\Resource\Eventticketclass(
80 $this,
81 $this->serviceName,
82 'eventticketclass',
83 [
84 'methods' => [
85 'addmessage' => [
86 'path' => 'walletobjects/v1/eventTicketClass/{resourceId}/addMessage',
87 'httpMethod' => 'POST',
88 'parameters' => [
89 'resourceId' => [
90 'location' => 'path',
91 'type' => 'string',
92 'required' => true,
93 ],
94 ],
95 ],'get' => [
96 'path' => 'walletobjects/v1/eventTicketClass/{resourceId}',
97 'httpMethod' => 'GET',
98 'parameters' => [
99 'resourceId' => [
100 'location' => 'path',
101 'type' => 'string',
102 'required' => true,
103 ],
104 ],
105 ],'insert' => [
106 'path' => 'walletobjects/v1/eventTicketClass',
107 'httpMethod' => 'POST',
108 'parameters' => [],
109 ],'list' => [
110 'path' => 'walletobjects/v1/eventTicketClass',
111 'httpMethod' => 'GET',
112 'parameters' => [
113 'issuerId' => [
114 'location' => 'query',
115 'type' => 'string',
116 ],
117 'maxResults' => [
118 'location' => 'query',
119 'type' => 'integer',
120 ],
121 'token' => [
122 'location' => 'query',
123 'type' => 'string',
124 ],
125 ],
126 ],'patch' => [
127 'path' => 'walletobjects/v1/eventTicketClass/{resourceId}',
128 'httpMethod' => 'PATCH',
129 'parameters' => [
130 'resourceId' => [
131 'location' => 'path',
132 'type' => 'string',
133 'required' => true,
134 ],
135 ],
136 ],'update' => [
137 'path' => 'walletobjects/v1/eventTicketClass/{resourceId}',
138 'httpMethod' => 'PUT',
139 'parameters' => [
140 'resourceId' => [
141 'location' => 'path',
142 'type' => 'string',
143 'required' => true,
144 ],
145 ],
146 ],
147 ]
148 ]
149 );
150 $this->eventticketobject = new Walletobjects\Resource\Eventticketobject(
151 $this,
152 $this->serviceName,
153 'eventticketobject',
154 [
155 'methods' => [
156 'addmessage' => [
157 'path' => 'walletobjects/v1/eventTicketObject/{resourceId}/addMessage',
158 'httpMethod' => 'POST',
159 'parameters' => [
160 'resourceId' => [
161 'location' => 'path',
162 'type' => 'string',
163 'required' => true,
164 ],
165 ],
166 ],'get' => [
167 'path' => 'walletobjects/v1/eventTicketObject/{resourceId}',
168 'httpMethod' => 'GET',
169 'parameters' => [
170 'resourceId' => [
171 'location' => 'path',
172 'type' => 'string',
173 'required' => true,
174 ],
175 ],
176 ],'insert' => [
177 'path' => 'walletobjects/v1/eventTicketObject',
178 'httpMethod' => 'POST',
179 'parameters' => [],
180 ],'list' => [
181 'path' => 'walletobjects/v1/eventTicketObject',
182 'httpMethod' => 'GET',
183 'parameters' => [
184 'classId' => [
185 'location' => 'query',
186 'type' => 'string',
187 ],
188 'maxResults' => [
189 'location' => 'query',
190 'type' => 'integer',
191 ],
192 'token' => [
193 'location' => 'query',
194 'type' => 'string',
195 ],
196 ],
197 ],'modifylinkedofferobjects' => [
198 'path' => 'walletobjects/v1/eventTicketObject/{resourceId}/modifyLinkedOfferObjects',
199 'httpMethod' => 'POST',
200 'parameters' => [
201 'resourceId' => [
202 'location' => 'path',
203 'type' => 'string',
204 'required' => true,
205 ],
206 ],
207 ],'patch' => [
208 'path' => 'walletobjects/v1/eventTicketObject/{resourceId}',
209 'httpMethod' => 'PATCH',
210 'parameters' => [
211 'resourceId' => [
212 'location' => 'path',
213 'type' => 'string',
214 'required' => true,
215 ],
216 ],
217 ],'update' => [
218 'path' => 'walletobjects/v1/eventTicketObject/{resourceId}',
219 'httpMethod' => 'PUT',
220 'parameters' => [
221 'resourceId' => [
222 'location' => 'path',
223 'type' => 'string',
224 'required' => true,
225 ],
226 ],
227 ],
228 ]
229 ]
230 );
231 $this->flightclass = new Walletobjects\Resource\Flightclass(
232 $this,
233 $this->serviceName,
234 'flightclass',
235 [
236 'methods' => [
237 'addmessage' => [
238 'path' => 'walletobjects/v1/flightClass/{resourceId}/addMessage',
239 'httpMethod' => 'POST',
240 'parameters' => [
241 'resourceId' => [
242 'location' => 'path',
243 'type' => 'string',
244 'required' => true,
245 ],
246 ],
247 ],'get' => [
248 'path' => 'walletobjects/v1/flightClass/{resourceId}',
249 'httpMethod' => 'GET',
250 'parameters' => [
251 'resourceId' => [
252 'location' => 'path',
253 'type' => 'string',
254 'required' => true,
255 ],
256 ],
257 ],'insert' => [
258 'path' => 'walletobjects/v1/flightClass',
259 'httpMethod' => 'POST',
260 'parameters' => [],
261 ],'list' => [
262 'path' => 'walletobjects/v1/flightClass',
263 'httpMethod' => 'GET',
264 'parameters' => [
265 'issuerId' => [
266 'location' => 'query',
267 'type' => 'string',
268 ],
269 'maxResults' => [
270 'location' => 'query',
271 'type' => 'integer',
272 ],
273 'token' => [
274 'location' => 'query',
275 'type' => 'string',
276 ],
277 ],
278 ],'patch' => [
279 'path' => 'walletobjects/v1/flightClass/{resourceId}',
280 'httpMethod' => 'PATCH',
281 'parameters' => [
282 'resourceId' => [
283 'location' => 'path',
284 'type' => 'string',
285 'required' => true,
286 ],
287 ],
288 ],'update' => [
289 'path' => 'walletobjects/v1/flightClass/{resourceId}',
290 'httpMethod' => 'PUT',
291 'parameters' => [
292 'resourceId' => [
293 'location' => 'path',
294 'type' => 'string',
295 'required' => true,
296 ],
297 ],
298 ],
299 ]
300 ]
301 );
302 $this->flightobject = new Walletobjects\Resource\Flightobject(
303 $this,
304 $this->serviceName,
305 'flightobject',
306 [
307 'methods' => [
308 'addmessage' => [
309 'path' => 'walletobjects/v1/flightObject/{resourceId}/addMessage',
310 'httpMethod' => 'POST',
311 'parameters' => [
312 'resourceId' => [
313 'location' => 'path',
314 'type' => 'string',
315 'required' => true,
316 ],
317 ],
318 ],'get' => [
319 'path' => 'walletobjects/v1/flightObject/{resourceId}',
320 'httpMethod' => 'GET',
321 'parameters' => [
322 'resourceId' => [
323 'location' => 'path',
324 'type' => 'string',
325 'required' => true,
326 ],
327 ],
328 ],'insert' => [
329 'path' => 'walletobjects/v1/flightObject',
330 'httpMethod' => 'POST',
331 'parameters' => [],
332 ],'list' => [
333 'path' => 'walletobjects/v1/flightObject',
334 'httpMethod' => 'GET',
335 'parameters' => [
336 'classId' => [
337 'location' => 'query',
338 'type' => 'string',
339 ],
340 'maxResults' => [
341 'location' => 'query',
342 'type' => 'integer',
343 ],
344 'token' => [
345 'location' => 'query',
346 'type' => 'string',
347 ],
348 ],
349 ],'patch' => [
350 'path' => 'walletobjects/v1/flightObject/{resourceId}',
351 'httpMethod' => 'PATCH',
352 'parameters' => [
353 'resourceId' => [
354 'location' => 'path',
355 'type' => 'string',
356 'required' => true,
357 ],
358 ],
359 ],'update' => [
360 'path' => 'walletobjects/v1/flightObject/{resourceId}',
361 'httpMethod' => 'PUT',
362 'parameters' => [
363 'resourceId' => [
364 'location' => 'path',
365 'type' => 'string',
366 'required' => true,
367 ],
368 ],
369 ],
370 ]
371 ]
372 );
373 $this->genericclass = new Walletobjects\Resource\Genericclass(
374 $this,
375 $this->serviceName,
376 'genericclass',
377 [
378 'methods' => [
379 'addmessage' => [
380 'path' => 'walletobjects/v1/genericClass/{resourceId}/addMessage',
381 'httpMethod' => 'POST',
382 'parameters' => [
383 'resourceId' => [
384 'location' => 'path',
385 'type' => 'string',
386 'required' => true,
387 ],
388 ],
389 ],'get' => [
390 'path' => 'walletobjects/v1/genericClass/{resourceId}',
391 'httpMethod' => 'GET',
392 'parameters' => [
393 'resourceId' => [
394 'location' => 'path',
395 'type' => 'string',
396 'required' => true,
397 ],
398 ],
399 ],'insert' => [
400 'path' => 'walletobjects/v1/genericClass',
401 'httpMethod' => 'POST',
402 'parameters' => [],
403 ],'list' => [
404 'path' => 'walletobjects/v1/genericClass',
405 'httpMethod' => 'GET',
406 'parameters' => [
407 'issuerId' => [
408 'location' => 'query',
409 'type' => 'string',
410 ],
411 'maxResults' => [
412 'location' => 'query',
413 'type' => 'integer',
414 ],
415 'token' => [
416 'location' => 'query',
417 'type' => 'string',
418 ],
419 ],
420 ],'patch' => [
421 'path' => 'walletobjects/v1/genericClass/{resourceId}',
422 'httpMethod' => 'PATCH',
423 'parameters' => [
424 'resourceId' => [
425 'location' => 'path',
426 'type' => 'string',
427 'required' => true,
428 ],
429 ],
430 ],'update' => [
431 'path' => 'walletobjects/v1/genericClass/{resourceId}',
432 'httpMethod' => 'PUT',
433 'parameters' => [
434 'resourceId' => [
435 'location' => 'path',
436 'type' => 'string',
437 'required' => true,
438 ],
439 ],
440 ],
441 ]
442 ]
443 );
444 $this->genericobject = new Walletobjects\Resource\Genericobject(
445 $this,
446 $this->serviceName,
447 'genericobject',
448 [
449 'methods' => [
450 'addmessage' => [
451 'path' => 'walletobjects/v1/genericObject/{resourceId}/addMessage',
452 'httpMethod' => 'POST',
453 'parameters' => [
454 'resourceId' => [
455 'location' => 'path',
456 'type' => 'string',
457 'required' => true,
458 ],
459 ],
460 ],'get' => [
461 'path' => 'walletobjects/v1/genericObject/{resourceId}',
462 'httpMethod' => 'GET',
463 'parameters' => [
464 'resourceId' => [
465 'location' => 'path',
466 'type' => 'string',
467 'required' => true,
468 ],
469 ],
470 ],'insert' => [
471 'path' => 'walletobjects/v1/genericObject',
472 'httpMethod' => 'POST',
473 'parameters' => [],
474 ],'list' => [
475 'path' => 'walletobjects/v1/genericObject',
476 'httpMethod' => 'GET',
477 'parameters' => [
478 'classId' => [
479 'location' => 'query',
480 'type' => 'string',
481 ],
482 'maxResults' => [
483 'location' => 'query',
484 'type' => 'integer',
485 ],
486 'token' => [
487 'location' => 'query',
488 'type' => 'string',
489 ],
490 ],
491 ],'patch' => [
492 'path' => 'walletobjects/v1/genericObject/{resourceId}',
493 'httpMethod' => 'PATCH',
494 'parameters' => [
495 'resourceId' => [
496 'location' => 'path',
497 'type' => 'string',
498 'required' => true,
499 ],
500 ],
501 ],'update' => [
502 'path' => 'walletobjects/v1/genericObject/{resourceId}',
503 'httpMethod' => 'PUT',
504 'parameters' => [
505 'resourceId' => [
506 'location' => 'path',
507 'type' => 'string',
508 'required' => true,
509 ],
510 ],
511 ],
512 ]
513 ]
514 );
515 $this->giftcardclass = new Walletobjects\Resource\Giftcardclass(
516 $this,
517 $this->serviceName,
518 'giftcardclass',
519 [
520 'methods' => [
521 'addmessage' => [
522 'path' => 'walletobjects/v1/giftCardClass/{resourceId}/addMessage',
523 'httpMethod' => 'POST',
524 'parameters' => [
525 'resourceId' => [
526 'location' => 'path',
527 'type' => 'string',
528 'required' => true,
529 ],
530 ],
531 ],'get' => [
532 'path' => 'walletobjects/v1/giftCardClass/{resourceId}',
533 'httpMethod' => 'GET',
534 'parameters' => [
535 'resourceId' => [
536 'location' => 'path',
537 'type' => 'string',
538 'required' => true,
539 ],
540 ],
541 ],'insert' => [
542 'path' => 'walletobjects/v1/giftCardClass',
543 'httpMethod' => 'POST',
544 'parameters' => [],
545 ],'list' => [
546 'path' => 'walletobjects/v1/giftCardClass',
547 'httpMethod' => 'GET',
548 'parameters' => [
549 'issuerId' => [
550 'location' => 'query',
551 'type' => 'string',
552 ],
553 'maxResults' => [
554 'location' => 'query',
555 'type' => 'integer',
556 ],
557 'token' => [
558 'location' => 'query',
559 'type' => 'string',
560 ],
561 ],
562 ],'patch' => [
563 'path' => 'walletobjects/v1/giftCardClass/{resourceId}',
564 'httpMethod' => 'PATCH',
565 'parameters' => [
566 'resourceId' => [
567 'location' => 'path',
568 'type' => 'string',
569 'required' => true,
570 ],
571 ],
572 ],'update' => [
573 'path' => 'walletobjects/v1/giftCardClass/{resourceId}',
574 'httpMethod' => 'PUT',
575 'parameters' => [
576 'resourceId' => [
577 'location' => 'path',
578 'type' => 'string',
579 'required' => true,
580 ],
581 ],
582 ],
583 ]
584 ]
585 );
586 $this->giftcardobject = new Walletobjects\Resource\Giftcardobject(
587 $this,
588 $this->serviceName,
589 'giftcardobject',
590 [
591 'methods' => [
592 'addmessage' => [
593 'path' => 'walletobjects/v1/giftCardObject/{resourceId}/addMessage',
594 'httpMethod' => 'POST',
595 'parameters' => [
596 'resourceId' => [
597 'location' => 'path',
598 'type' => 'string',
599 'required' => true,
600 ],
601 ],
602 ],'get' => [
603 'path' => 'walletobjects/v1/giftCardObject/{resourceId}',
604 'httpMethod' => 'GET',
605 'parameters' => [
606 'resourceId' => [
607 'location' => 'path',
608 'type' => 'string',
609 'required' => true,
610 ],
611 ],
612 ],'insert' => [
613 'path' => 'walletobjects/v1/giftCardObject',
614 'httpMethod' => 'POST',
615 'parameters' => [],
616 ],'list' => [
617 'path' => 'walletobjects/v1/giftCardObject',
618 'httpMethod' => 'GET',
619 'parameters' => [
620 'classId' => [
621 'location' => 'query',
622 'type' => 'string',
623 ],
624 'maxResults' => [
625 'location' => 'query',
626 'type' => 'integer',
627 ],
628 'token' => [
629 'location' => 'query',
630 'type' => 'string',
631 ],
632 ],
633 ],'patch' => [
634 'path' => 'walletobjects/v1/giftCardObject/{resourceId}',
635 'httpMethod' => 'PATCH',
636 'parameters' => [
637 'resourceId' => [
638 'location' => 'path',
639 'type' => 'string',
640 'required' => true,
641 ],
642 ],
643 ],'update' => [
644 'path' => 'walletobjects/v1/giftCardObject/{resourceId}',
645 'httpMethod' => 'PUT',
646 'parameters' => [
647 'resourceId' => [
648 'location' => 'path',
649 'type' => 'string',
650 'required' => true,
651 ],
652 ],
653 ],
654 ]
655 ]
656 );
657 $this->issuer = new Walletobjects\Resource\Issuer(
658 $this,
659 $this->serviceName,
660 'issuer',
661 [
662 'methods' => [
663 'get' => [
664 'path' => 'walletobjects/v1/issuer/{resourceId}',
665 'httpMethod' => 'GET',
666 'parameters' => [
667 'resourceId' => [
668 'location' => 'path',
669 'type' => 'string',
670 'required' => true,
671 ],
672 ],
673 ],'insert' => [
674 'path' => 'walletobjects/v1/issuer',
675 'httpMethod' => 'POST',
676 'parameters' => [],
677 ],'list' => [
678 'path' => 'walletobjects/v1/issuer',
679 'httpMethod' => 'GET',
680 'parameters' => [],
681 ],'patch' => [
682 'path' => 'walletobjects/v1/issuer/{resourceId}',
683 'httpMethod' => 'PATCH',
684 'parameters' => [
685 'resourceId' => [
686 'location' => 'path',
687 'type' => 'string',
688 'required' => true,
689 ],
690 ],
691 ],'update' => [
692 'path' => 'walletobjects/v1/issuer/{resourceId}',
693 'httpMethod' => 'PUT',
694 'parameters' => [
695 'resourceId' => [
696 'location' => 'path',
697 'type' => 'string',
698 'required' => true,
699 ],
700 ],
701 ],
702 ]
703 ]
704 );
705 $this->jwt = new Walletobjects\Resource\Jwt(
706 $this,
707 $this->serviceName,
708 'jwt',
709 [
710 'methods' => [
711 'insert' => [
712 'path' => 'walletobjects/v1/jwt',
713 'httpMethod' => 'POST',
714 'parameters' => [],
715 ],
716 ]
717 ]
718 );
719 $this->loyaltyclass = new Walletobjects\Resource\Loyaltyclass(
720 $this,
721 $this->serviceName,
722 'loyaltyclass',
723 [
724 'methods' => [
725 'addmessage' => [
726 'path' => 'walletobjects/v1/loyaltyClass/{resourceId}/addMessage',
727 'httpMethod' => 'POST',
728 'parameters' => [
729 'resourceId' => [
730 'location' => 'path',
731 'type' => 'string',
732 'required' => true,
733 ],
734 ],
735 ],'get' => [
736 'path' => 'walletobjects/v1/loyaltyClass/{resourceId}',
737 'httpMethod' => 'GET',
738 'parameters' => [
739 'resourceId' => [
740 'location' => 'path',
741 'type' => 'string',
742 'required' => true,
743 ],
744 ],
745 ],'insert' => [
746 'path' => 'walletobjects/v1/loyaltyClass',
747 'httpMethod' => 'POST',
748 'parameters' => [],
749 ],'list' => [
750 'path' => 'walletobjects/v1/loyaltyClass',
751 'httpMethod' => 'GET',
752 'parameters' => [
753 'issuerId' => [
754 'location' => 'query',
755 'type' => 'string',
756 ],
757 'maxResults' => [
758 'location' => 'query',
759 'type' => 'integer',
760 ],
761 'token' => [
762 'location' => 'query',
763 'type' => 'string',
764 ],
765 ],
766 ],'patch' => [
767 'path' => 'walletobjects/v1/loyaltyClass/{resourceId}',
768 'httpMethod' => 'PATCH',
769 'parameters' => [
770 'resourceId' => [
771 'location' => 'path',
772 'type' => 'string',
773 'required' => true,
774 ],
775 ],
776 ],'update' => [
777 'path' => 'walletobjects/v1/loyaltyClass/{resourceId}',
778 'httpMethod' => 'PUT',
779 'parameters' => [
780 'resourceId' => [
781 'location' => 'path',
782 'type' => 'string',
783 'required' => true,
784 ],
785 ],
786 ],
787 ]
788 ]
789 );
790 $this->loyaltyobject = new Walletobjects\Resource\Loyaltyobject(
791 $this,
792 $this->serviceName,
793 'loyaltyobject',
794 [
795 'methods' => [
796 'addmessage' => [
797 'path' => 'walletobjects/v1/loyaltyObject/{resourceId}/addMessage',
798 'httpMethod' => 'POST',
799 'parameters' => [
800 'resourceId' => [
801 'location' => 'path',
802 'type' => 'string',
803 'required' => true,
804 ],
805 ],
806 ],'get' => [
807 'path' => 'walletobjects/v1/loyaltyObject/{resourceId}',
808 'httpMethod' => 'GET',
809 'parameters' => [
810 'resourceId' => [
811 'location' => 'path',
812 'type' => 'string',
813 'required' => true,
814 ],
815 ],
816 ],'insert' => [
817 'path' => 'walletobjects/v1/loyaltyObject',
818 'httpMethod' => 'POST',
819 'parameters' => [],
820 ],'list' => [
821 'path' => 'walletobjects/v1/loyaltyObject',
822 'httpMethod' => 'GET',
823 'parameters' => [
824 'classId' => [
825 'location' => 'query',
826 'type' => 'string',
827 ],
828 'maxResults' => [
829 'location' => 'query',
830 'type' => 'integer',
831 ],
832 'token' => [
833 'location' => 'query',
834 'type' => 'string',
835 ],
836 ],
837 ],'modifylinkedofferobjects' => [
838 'path' => 'walletobjects/v1/loyaltyObject/{resourceId}/modifyLinkedOfferObjects',
839 'httpMethod' => 'POST',
840 'parameters' => [
841 'resourceId' => [
842 'location' => 'path',
843 'type' => 'string',
844 'required' => true,
845 ],
846 ],
847 ],'patch' => [
848 'path' => 'walletobjects/v1/loyaltyObject/{resourceId}',
849 'httpMethod' => 'PATCH',
850 'parameters' => [
851 'resourceId' => [
852 'location' => 'path',
853 'type' => 'string',
854 'required' => true,
855 ],
856 ],
857 ],'update' => [
858 'path' => 'walletobjects/v1/loyaltyObject/{resourceId}',
859 'httpMethod' => 'PUT',
860 'parameters' => [
861 'resourceId' => [
862 'location' => 'path',
863 'type' => 'string',
864 'required' => true,
865 ],
866 ],
867 ],
868 ]
869 ]
870 );
871 $this->media = new Walletobjects\Resource\Media(
872 $this,
873 $this->serviceName,
874 'media',
875 [
876 'methods' => [
877 'download' => [
878 'path' => 'walletobjects/v1/transitObject/{resourceId}/downloadRotatingBarcodeValues',
879 'httpMethod' => 'GET',
880 'parameters' => [
881 'resourceId' => [
882 'location' => 'path',
883 'type' => 'string',
884 'required' => true,
885 ],
886 ],
887 ],'upload' => [
888 'path' => 'walletobjects/v1/transitObject/{resourceId}/uploadRotatingBarcodeValues',
889 'httpMethod' => 'POST',
890 'parameters' => [
891 'resourceId' => [
892 'location' => 'path',
893 'type' => 'string',
894 'required' => true,
895 ],
896 ],
897 ],
898 ]
899 ]
900 );
901 $this->offerclass = new Walletobjects\Resource\Offerclass(
902 $this,
903 $this->serviceName,
904 'offerclass',
905 [
906 'methods' => [
907 'addmessage' => [
908 'path' => 'walletobjects/v1/offerClass/{resourceId}/addMessage',
909 'httpMethod' => 'POST',
910 'parameters' => [
911 'resourceId' => [
912 'location' => 'path',
913 'type' => 'string',
914 'required' => true,
915 ],
916 ],
917 ],'get' => [
918 'path' => 'walletobjects/v1/offerClass/{resourceId}',
919 'httpMethod' => 'GET',
920 'parameters' => [
921 'resourceId' => [
922 'location' => 'path',
923 'type' => 'string',
924 'required' => true,
925 ],
926 ],
927 ],'insert' => [
928 'path' => 'walletobjects/v1/offerClass',
929 'httpMethod' => 'POST',
930 'parameters' => [],
931 ],'list' => [
932 'path' => 'walletobjects/v1/offerClass',
933 'httpMethod' => 'GET',
934 'parameters' => [
935 'issuerId' => [
936 'location' => 'query',
937 'type' => 'string',
938 ],
939 'maxResults' => [
940 'location' => 'query',
941 'type' => 'integer',
942 ],
943 'token' => [
944 'location' => 'query',
945 'type' => 'string',
946 ],
947 ],
948 ],'patch' => [
949 'path' => 'walletobjects/v1/offerClass/{resourceId}',
950 'httpMethod' => 'PATCH',
951 'parameters' => [
952 'resourceId' => [
953 'location' => 'path',
954 'type' => 'string',
955 'required' => true,
956 ],
957 ],
958 ],'update' => [
959 'path' => 'walletobjects/v1/offerClass/{resourceId}',
960 'httpMethod' => 'PUT',
961 'parameters' => [
962 'resourceId' => [
963 'location' => 'path',
964 'type' => 'string',
965 'required' => true,
966 ],
967 ],
968 ],
969 ]
970 ]
971 );
972 $this->offerobject = new Walletobjects\Resource\Offerobject(
973 $this,
974 $this->serviceName,
975 'offerobject',
976 [
977 'methods' => [
978 'addmessage' => [
979 'path' => 'walletobjects/v1/offerObject/{resourceId}/addMessage',
980 'httpMethod' => 'POST',
981 'parameters' => [
982 'resourceId' => [
983 'location' => 'path',
984 'type' => 'string',
985 'required' => true,
986 ],
987 ],
988 ],'get' => [
989 'path' => 'walletobjects/v1/offerObject/{resourceId}',
990 'httpMethod' => 'GET',
991 'parameters' => [
992 'resourceId' => [
993 'location' => 'path',
994 'type' => 'string',
995 'required' => true,
996 ],
997 ],
998 ],'insert' => [
999 'path' => 'walletobjects/v1/offerObject',
1000 'httpMethod' => 'POST',
1001 'parameters' => [],
1002 ],'list' => [
1003 'path' => 'walletobjects/v1/offerObject',
1004 'httpMethod' => 'GET',
1005 'parameters' => [
1006 'classId' => [
1007 'location' => 'query',
1008 'type' => 'string',
1009 ],
1010 'maxResults' => [
1011 'location' => 'query',
1012 'type' => 'integer',
1013 ],
1014 'token' => [
1015 'location' => 'query',
1016 'type' => 'string',
1017 ],
1018 ],
1019 ],'patch' => [
1020 'path' => 'walletobjects/v1/offerObject/{resourceId}',
1021 'httpMethod' => 'PATCH',
1022 'parameters' => [
1023 'resourceId' => [
1024 'location' => 'path',
1025 'type' => 'string',
1026 'required' => true,
1027 ],
1028 ],
1029 ],'update' => [
1030 'path' => 'walletobjects/v1/offerObject/{resourceId}',
1031 'httpMethod' => 'PUT',
1032 'parameters' => [
1033 'resourceId' => [
1034 'location' => 'path',
1035 'type' => 'string',
1036 'required' => true,
1037 ],
1038 ],
1039 ],
1040 ]
1041 ]
1042 );
1043 $this->permissions = new Walletobjects\Resource\Permissions(
1044 $this,
1045 $this->serviceName,
1046 'permissions',
1047 [
1048 'methods' => [
1049 'get' => [
1050 'path' => 'walletobjects/v1/permissions/{resourceId}',
1051 'httpMethod' => 'GET',
1052 'parameters' => [
1053 'resourceId' => [
1054 'location' => 'path',
1055 'type' => 'string',
1056 'required' => true,
1057 ],
1058 ],
1059 ],'update' => [
1060 'path' => 'walletobjects/v1/permissions/{resourceId}',
1061 'httpMethod' => 'PUT',
1062 'parameters' => [
1063 'resourceId' => [
1064 'location' => 'path',
1065 'type' => 'string',
1066 'required' => true,
1067 ],
1068 ],
1069 ],
1070 ]
1071 ]
1072 );
1073 $this->smarttap = new Walletobjects\Resource\Smarttap(
1074 $this,
1075 $this->serviceName,
1076 'smarttap',
1077 [
1078 'methods' => [
1079 'insert' => [
1080 'path' => 'walletobjects/v1/smartTap',
1081 'httpMethod' => 'POST',
1082 'parameters' => [],
1083 ],
1084 ]
1085 ]
1086 );
1087 $this->transitclass = new Walletobjects\Resource\Transitclass(
1088 $this,
1089 $this->serviceName,
1090 'transitclass',
1091 [
1092 'methods' => [
1093 'addmessage' => [
1094 'path' => 'walletobjects/v1/transitClass/{resourceId}/addMessage',
1095 'httpMethod' => 'POST',
1096 'parameters' => [
1097 'resourceId' => [
1098 'location' => 'path',
1099 'type' => 'string',
1100 'required' => true,
1101 ],
1102 ],
1103 ],'get' => [
1104 'path' => 'walletobjects/v1/transitClass/{resourceId}',
1105 'httpMethod' => 'GET',
1106 'parameters' => [
1107 'resourceId' => [
1108 'location' => 'path',
1109 'type' => 'string',
1110 'required' => true,
1111 ],
1112 ],
1113 ],'insert' => [
1114 'path' => 'walletobjects/v1/transitClass',
1115 'httpMethod' => 'POST',
1116 'parameters' => [],
1117 ],'list' => [
1118 'path' => 'walletobjects/v1/transitClass',
1119 'httpMethod' => 'GET',
1120 'parameters' => [
1121 'issuerId' => [
1122 'location' => 'query',
1123 'type' => 'string',
1124 ],
1125 'maxResults' => [
1126 'location' => 'query',
1127 'type' => 'integer',
1128 ],
1129 'token' => [
1130 'location' => 'query',
1131 'type' => 'string',
1132 ],
1133 ],
1134 ],'patch' => [
1135 'path' => 'walletobjects/v1/transitClass/{resourceId}',
1136 'httpMethod' => 'PATCH',
1137 'parameters' => [
1138 'resourceId' => [
1139 'location' => 'path',
1140 'type' => 'string',
1141 'required' => true,
1142 ],
1143 ],
1144 ],'update' => [
1145 'path' => 'walletobjects/v1/transitClass/{resourceId}',
1146 'httpMethod' => 'PUT',
1147 'parameters' => [
1148 'resourceId' => [
1149 'location' => 'path',
1150 'type' => 'string',
1151 'required' => true,
1152 ],
1153 ],
1154 ],
1155 ]
1156 ]
1157 );
1158 $this->transitobject = new Walletobjects\Resource\Transitobject(
1159 $this,
1160 $this->serviceName,
1161 'transitobject',
1162 [
1163 'methods' => [
1164 'addmessage' => [
1165 'path' => 'walletobjects/v1/transitObject/{resourceId}/addMessage',
1166 'httpMethod' => 'POST',
1167 'parameters' => [
1168 'resourceId' => [
1169 'location' => 'path',
1170 'type' => 'string',
1171 'required' => true,
1172 ],
1173 ],
1174 ],'get' => [
1175 'path' => 'walletobjects/v1/transitObject/{resourceId}',
1176 'httpMethod' => 'GET',
1177 'parameters' => [
1178 'resourceId' => [
1179 'location' => 'path',
1180 'type' => 'string',
1181 'required' => true,
1182 ],
1183 ],
1184 ],'insert' => [
1185 'path' => 'walletobjects/v1/transitObject',
1186 'httpMethod' => 'POST',
1187 'parameters' => [],
1188 ],'list' => [
1189 'path' => 'walletobjects/v1/transitObject',
1190 'httpMethod' => 'GET',
1191 'parameters' => [
1192 'classId' => [
1193 'location' => 'query',
1194 'type' => 'string',
1195 ],
1196 'maxResults' => [
1197 'location' => 'query',
1198 'type' => 'integer',
1199 ],
1200 'token' => [
1201 'location' => 'query',
1202 'type' => 'string',
1203 ],
1204 ],
1205 ],'patch' => [
1206 'path' => 'walletobjects/v1/transitObject/{resourceId}',
1207 'httpMethod' => 'PATCH',
1208 'parameters' => [
1209 'resourceId' => [
1210 'location' => 'path',
1211 'type' => 'string',
1212 'required' => true,
1213 ],
1214 ],
1215 ],'update' => [
1216 'path' => 'walletobjects/v1/transitObject/{resourceId}',
1217 'httpMethod' => 'PUT',
1218 'parameters' => [
1219 'resourceId' => [
1220 'location' => 'path',
1221 'type' => 'string',
1222 'required' => true,
1223 ],
1224 ],
1225 ],
1226 ]
1227 ]
1228 );
1229 }
1230}
1231
1232// Adding a class alias for backwards compatibility with the previous class name.
1233class_alias(Walletobjects::class, 'Google_Service_Walletobjects');
Note: See TracBrowser for help on using the repository browser.