PluginProbe
Authorizer / 2.6.7
Authorizer v2.6.7
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 / AndroidPublisher.php

AndroidPublisher.php in Authorizer 2.6.7, at vendor/google-api-php-client/src/Google/Service/AndroidPublisher.php

3,872 lines 124.1 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 AndroidPublisher (v2).
18 *
19 * <p>
20 * Lets Android application developers access their Google Play accounts.</p>
21 *
22 * <p>
23 * For more information about this service, see the API
24 * <a href="https://developers.google.com/android-publisher" target="_blank">Documentation</a>
25 * </p>
26 *
27 * @author Google, Inc.
28 */
29 class Google_Service_AndroidPublisher extends Google_Service
30 {
31 /** View and manage your Google Play Developer account. */
32 const ANDROIDPUBLISHER =
33 "https://www.googleapis.com/auth/androidpublisher";
34
35 public $edits;
36 public $edits_apklistings;
37 public $edits_apks;
38 public $edits_details;
39 public $edits_expansionfiles;
40 public $edits_images;
41 public $edits_listings;
42 public $edits_testers;
43 public $edits_tracks;
44 public $entitlements;
45 public $inappproducts;
46 public $purchases_products;
47 public $purchases_subscriptions;
48
49
50 /**
51 * Constructs the internal representation of the AndroidPublisher service.
52 *
53 * @param Google_Client $client
54 */
55 public function __construct(Google_Client $client)
56 {
57 parent::__construct($client);
58 $this->rootUrl = 'https://www.googleapis.com/';
59 $this->servicePath = 'androidpublisher/v2/applications/';
60 $this->version = 'v2';
61 $this->serviceName = 'androidpublisher';
62
63 $this->edits = new Google_Service_AndroidPublisher_Edits_Resource(
64 $this,
65 $this->serviceName,
66 'edits',
67 array(
68 'methods' => array(
69 'commit' => array(
70 'path' => '{packageName}/edits/{editId}:commit',
71 'httpMethod' => 'POST',
72 'parameters' => array(
73 'packageName' => array(
74 'location' => 'path',
75 'type' => 'string',
76 'required' => true,
77 ),
78 'editId' => array(
79 'location' => 'path',
80 'type' => 'string',
81 'required' => true,
82 ),
83 ),
84 ),'delete' => array(
85 'path' => '{packageName}/edits/{editId}',
86 'httpMethod' => 'DELETE',
87 'parameters' => array(
88 'packageName' => array(
89 'location' => 'path',
90 'type' => 'string',
91 'required' => true,
92 ),
93 'editId' => array(
94 'location' => 'path',
95 'type' => 'string',
96 'required' => true,
97 ),
98 ),
99 ),'get' => array(
100 'path' => '{packageName}/edits/{editId}',
101 'httpMethod' => 'GET',
102 'parameters' => array(
103 'packageName' => array(
104 'location' => 'path',
105 'type' => 'string',
106 'required' => true,
107 ),
108 'editId' => array(
109 'location' => 'path',
110 'type' => 'string',
111 'required' => true,
112 ),
113 ),
114 ),'insert' => array(
115 'path' => '{packageName}/edits',
116 'httpMethod' => 'POST',
117 'parameters' => array(
118 'packageName' => array(
119 'location' => 'path',
120 'type' => 'string',
121 'required' => true,
122 ),
123 ),
124 ),'validate' => array(
125 'path' => '{packageName}/edits/{editId}:validate',
126 'httpMethod' => 'POST',
127 'parameters' => array(
128 'packageName' => array(
129 'location' => 'path',
130 'type' => 'string',
131 'required' => true,
132 ),
133 'editId' => array(
134 'location' => 'path',
135 'type' => 'string',
136 'required' => true,
137 ),
138 ),
139 ),
140 )
141 )
142 );
143 $this->edits_apklistings = new Google_Service_AndroidPublisher_EditsApklistings_Resource(
144 $this,
145 $this->serviceName,
146 'apklistings',
147 array(
148 'methods' => array(
149 'delete' => array(
150 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
151 'httpMethod' => 'DELETE',
152 'parameters' => array(
153 'packageName' => array(
154 'location' => 'path',
155 'type' => 'string',
156 'required' => true,
157 ),
158 'editId' => array(
159 'location' => 'path',
160 'type' => 'string',
161 'required' => true,
162 ),
163 'apkVersionCode' => array(
164 'location' => 'path',
165 'type' => 'integer',
166 'required' => true,
167 ),
168 'language' => array(
169 'location' => 'path',
170 'type' => 'string',
171 'required' => true,
172 ),
173 ),
174 ),'deleteall' => array(
175 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
176 'httpMethod' => 'DELETE',
177 'parameters' => array(
178 'packageName' => array(
179 'location' => 'path',
180 'type' => 'string',
181 'required' => true,
182 ),
183 'editId' => array(
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ),
188 'apkVersionCode' => array(
189 'location' => 'path',
190 'type' => 'integer',
191 'required' => true,
192 ),
193 ),
194 ),'get' => array(
195 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
196 'httpMethod' => 'GET',
197 'parameters' => array(
198 'packageName' => array(
199 'location' => 'path',
200 'type' => 'string',
201 'required' => true,
202 ),
203 'editId' => array(
204 'location' => 'path',
205 'type' => 'string',
206 'required' => true,
207 ),
208 'apkVersionCode' => array(
209 'location' => 'path',
210 'type' => 'integer',
211 'required' => true,
212 ),
213 'language' => array(
214 'location' => 'path',
215 'type' => 'string',
216 'required' => true,
217 ),
218 ),
219 ),'list' => array(
220 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
221 'httpMethod' => 'GET',
222 'parameters' => array(
223 'packageName' => array(
224 'location' => 'path',
225 'type' => 'string',
226 'required' => true,
227 ),
228 'editId' => array(
229 'location' => 'path',
230 'type' => 'string',
231 'required' => true,
232 ),
233 'apkVersionCode' => array(
234 'location' => 'path',
235 'type' => 'integer',
236 'required' => true,
237 ),
238 ),
239 ),'patch' => array(
240 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
241 'httpMethod' => 'PATCH',
242 'parameters' => array(
243 'packageName' => array(
244 'location' => 'path',
245 'type' => 'string',
246 'required' => true,
247 ),
248 'editId' => array(
249 'location' => 'path',
250 'type' => 'string',
251 'required' => true,
252 ),
253 'apkVersionCode' => array(
254 'location' => 'path',
255 'type' => 'integer',
256 'required' => true,
257 ),
258 'language' => array(
259 'location' => 'path',
260 'type' => 'string',
261 'required' => true,
262 ),
263 ),
264 ),'update' => array(
265 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
266 'httpMethod' => 'PUT',
267 'parameters' => array(
268 'packageName' => array(
269 'location' => 'path',
270 'type' => 'string',
271 'required' => true,
272 ),
273 'editId' => array(
274 'location' => 'path',
275 'type' => 'string',
276 'required' => true,
277 ),
278 'apkVersionCode' => array(
279 'location' => 'path',
280 'type' => 'integer',
281 'required' => true,
282 ),
283 'language' => array(
284 'location' => 'path',
285 'type' => 'string',
286 'required' => true,
287 ),
288 ),
289 ),
290 )
291 )
292 );
293 $this->edits_apks = new Google_Service_AndroidPublisher_EditsApks_Resource(
294 $this,
295 $this->serviceName,
296 'apks',
297 array(
298 'methods' => array(
299 'addexternallyhosted' => array(
300 'path' => '{packageName}/edits/{editId}/apks/externallyHosted',
301 'httpMethod' => 'POST',
302 'parameters' => array(
303 'packageName' => array(
304 'location' => 'path',
305 'type' => 'string',
306 'required' => true,
307 ),
308 'editId' => array(
309 'location' => 'path',
310 'type' => 'string',
311 'required' => true,
312 ),
313 ),
314 ),'list' => array(
315 'path' => '{packageName}/edits/{editId}/apks',
316 'httpMethod' => 'GET',
317 'parameters' => array(
318 'packageName' => array(
319 'location' => 'path',
320 'type' => 'string',
321 'required' => true,
322 ),
323 'editId' => array(
324 'location' => 'path',
325 'type' => 'string',
326 'required' => true,
327 ),
328 ),
329 ),'upload' => array(
330 'path' => '{packageName}/edits/{editId}/apks',
331 'httpMethod' => 'POST',
332 'parameters' => array(
333 'packageName' => array(
334 'location' => 'path',
335 'type' => 'string',
336 'required' => true,
337 ),
338 'editId' => array(
339 'location' => 'path',
340 'type' => 'string',
341 'required' => true,
342 ),
343 ),
344 ),
345 )
346 )
347 );
348 $this->edits_details = new Google_Service_AndroidPublisher_EditsDetails_Resource(
349 $this,
350 $this->serviceName,
351 'details',
352 array(
353 'methods' => array(
354 'get' => array(
355 'path' => '{packageName}/edits/{editId}/details',
356 'httpMethod' => 'GET',
357 'parameters' => array(
358 'packageName' => array(
359 'location' => 'path',
360 'type' => 'string',
361 'required' => true,
362 ),
363 'editId' => array(
364 'location' => 'path',
365 'type' => 'string',
366 'required' => true,
367 ),
368 ),
369 ),'patch' => array(
370 'path' => '{packageName}/edits/{editId}/details',
371 'httpMethod' => 'PATCH',
372 'parameters' => array(
373 'packageName' => array(
374 'location' => 'path',
375 'type' => 'string',
376 'required' => true,
377 ),
378 'editId' => array(
379 'location' => 'path',
380 'type' => 'string',
381 'required' => true,
382 ),
383 ),
384 ),'update' => array(
385 'path' => '{packageName}/edits/{editId}/details',
386 'httpMethod' => 'PUT',
387 'parameters' => array(
388 'packageName' => array(
389 'location' => 'path',
390 'type' => 'string',
391 'required' => true,
392 ),
393 'editId' => array(
394 'location' => 'path',
395 'type' => 'string',
396 'required' => true,
397 ),
398 ),
399 ),
400 )
401 )
402 );
403 $this->edits_expansionfiles = new Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
404 $this,
405 $this->serviceName,
406 'expansionfiles',
407 array(
408 'methods' => array(
409 'get' => array(
410 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
411 'httpMethod' => 'GET',
412 'parameters' => array(
413 'packageName' => array(
414 'location' => 'path',
415 'type' => 'string',
416 'required' => true,
417 ),
418 'editId' => array(
419 'location' => 'path',
420 'type' => 'string',
421 'required' => true,
422 ),
423 'apkVersionCode' => array(
424 'location' => 'path',
425 'type' => 'integer',
426 'required' => true,
427 ),
428 'expansionFileType' => array(
429 'location' => 'path',
430 'type' => 'string',
431 'required' => true,
432 ),
433 ),
434 ),'patch' => array(
435 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
436 'httpMethod' => 'PATCH',
437 'parameters' => array(
438 'packageName' => array(
439 'location' => 'path',
440 'type' => 'string',
441 'required' => true,
442 ),
443 'editId' => array(
444 'location' => 'path',
445 'type' => 'string',
446 'required' => true,
447 ),
448 'apkVersionCode' => array(
449 'location' => 'path',
450 'type' => 'integer',
451 'required' => true,
452 ),
453 'expansionFileType' => array(
454 'location' => 'path',
455 'type' => 'string',
456 'required' => true,
457 ),
458 ),
459 ),'update' => array(
460 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
461 'httpMethod' => 'PUT',
462 'parameters' => array(
463 'packageName' => array(
464 'location' => 'path',
465 'type' => 'string',
466 'required' => true,
467 ),
468 'editId' => array(
469 'location' => 'path',
470 'type' => 'string',
471 'required' => true,
472 ),
473 'apkVersionCode' => array(
474 'location' => 'path',
475 'type' => 'integer',
476 'required' => true,
477 ),
478 'expansionFileType' => array(
479 'location' => 'path',
480 'type' => 'string',
481 'required' => true,
482 ),
483 ),
484 ),'upload' => array(
485 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
486 'httpMethod' => 'POST',
487 'parameters' => array(
488 'packageName' => array(
489 'location' => 'path',
490 'type' => 'string',
491 'required' => true,
492 ),
493 'editId' => array(
494 'location' => 'path',
495 'type' => 'string',
496 'required' => true,
497 ),
498 'apkVersionCode' => array(
499 'location' => 'path',
500 'type' => 'integer',
501 'required' => true,
502 ),
503 'expansionFileType' => array(
504 'location' => 'path',
505 'type' => 'string',
506 'required' => true,
507 ),
508 ),
509 ),
510 )
511 )
512 );
513 $this->edits_images = new Google_Service_AndroidPublisher_EditsImages_Resource(
514 $this,
515 $this->serviceName,
516 'images',
517 array(
518 'methods' => array(
519 'delete' => array(
520 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
521 'httpMethod' => 'DELETE',
522 'parameters' => array(
523 'packageName' => array(
524 'location' => 'path',
525 'type' => 'string',
526 'required' => true,
527 ),
528 'editId' => array(
529 'location' => 'path',
530 'type' => 'string',
531 'required' => true,
532 ),
533 'language' => array(
534 'location' => 'path',
535 'type' => 'string',
536 'required' => true,
537 ),
538 'imageType' => array(
539 'location' => 'path',
540 'type' => 'string',
541 'required' => true,
542 ),
543 'imageId' => array(
544 'location' => 'path',
545 'type' => 'string',
546 'required' => true,
547 ),
548 ),
549 ),'deleteall' => array(
550 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
551 'httpMethod' => 'DELETE',
552 'parameters' => array(
553 'packageName' => array(
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ),
558 'editId' => array(
559 'location' => 'path',
560 'type' => 'string',
561 'required' => true,
562 ),
563 'language' => array(
564 'location' => 'path',
565 'type' => 'string',
566 'required' => true,
567 ),
568 'imageType' => array(
569 'location' => 'path',
570 'type' => 'string',
571 'required' => true,
572 ),
573 ),
574 ),'list' => array(
575 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
576 'httpMethod' => 'GET',
577 'parameters' => array(
578 'packageName' => array(
579 'location' => 'path',
580 'type' => 'string',
581 'required' => true,
582 ),
583 'editId' => array(
584 'location' => 'path',
585 'type' => 'string',
586 'required' => true,
587 ),
588 'language' => array(
589 'location' => 'path',
590 'type' => 'string',
591 'required' => true,
592 ),
593 'imageType' => array(
594 'location' => 'path',
595 'type' => 'string',
596 'required' => true,
597 ),
598 ),
599 ),'upload' => array(
600 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
601 'httpMethod' => 'POST',
602 'parameters' => array(
603 'packageName' => array(
604 'location' => 'path',
605 'type' => 'string',
606 'required' => true,
607 ),
608 'editId' => array(
609 'location' => 'path',
610 'type' => 'string',
611 'required' => true,
612 ),
613 'language' => array(
614 'location' => 'path',
615 'type' => 'string',
616 'required' => true,
617 ),
618 'imageType' => array(
619 'location' => 'path',
620 'type' => 'string',
621 'required' => true,
622 ),
623 ),
624 ),
625 )
626 )
627 );
628 $this->edits_listings = new Google_Service_AndroidPublisher_EditsListings_Resource(
629 $this,
630 $this->serviceName,
631 'listings',
632 array(
633 'methods' => array(
634 'delete' => array(
635 'path' => '{packageName}/edits/{editId}/listings/{language}',
636 'httpMethod' => 'DELETE',
637 'parameters' => array(
638 'packageName' => array(
639 'location' => 'path',
640 'type' => 'string',
641 'required' => true,
642 ),
643 'editId' => array(
644 'location' => 'path',
645 'type' => 'string',
646 'required' => true,
647 ),
648 'language' => array(
649 'location' => 'path',
650 'type' => 'string',
651 'required' => true,
652 ),
653 ),
654 ),'deleteall' => array(
655 'path' => '{packageName}/edits/{editId}/listings',
656 'httpMethod' => 'DELETE',
657 'parameters' => array(
658 'packageName' => array(
659 'location' => 'path',
660 'type' => 'string',
661 'required' => true,
662 ),
663 'editId' => array(
664 'location' => 'path',
665 'type' => 'string',
666 'required' => true,
667 ),
668 ),
669 ),'get' => array(
670 'path' => '{packageName}/edits/{editId}/listings/{language}',
671 'httpMethod' => 'GET',
672 'parameters' => array(
673 'packageName' => array(
674 'location' => 'path',
675 'type' => 'string',
676 'required' => true,
677 ),
678 'editId' => array(
679 'location' => 'path',
680 'type' => 'string',
681 'required' => true,
682 ),
683 'language' => array(
684 'location' => 'path',
685 'type' => 'string',
686 'required' => true,
687 ),
688 ),
689 ),'list' => array(
690 'path' => '{packageName}/edits/{editId}/listings',
691 'httpMethod' => 'GET',
692 'parameters' => array(
693 'packageName' => array(
694 'location' => 'path',
695 'type' => 'string',
696 'required' => true,
697 ),
698 'editId' => array(
699 'location' => 'path',
700 'type' => 'string',
701 'required' => true,
702 ),
703 ),
704 ),'patch' => array(
705 'path' => '{packageName}/edits/{editId}/listings/{language}',
706 'httpMethod' => 'PATCH',
707 'parameters' => array(
708 'packageName' => array(
709 'location' => 'path',
710 'type' => 'string',
711 'required' => true,
712 ),
713 'editId' => array(
714 'location' => 'path',
715 'type' => 'string',
716 'required' => true,
717 ),
718 'language' => array(
719 'location' => 'path',
720 'type' => 'string',
721 'required' => true,
722 ),
723 ),
724 ),'update' => array(
725 'path' => '{packageName}/edits/{editId}/listings/{language}',
726 'httpMethod' => 'PUT',
727 'parameters' => array(
728 'packageName' => array(
729 'location' => 'path',
730 'type' => 'string',
731 'required' => true,
732 ),
733 'editId' => array(
734 'location' => 'path',
735 'type' => 'string',
736 'required' => true,
737 ),
738 'language' => array(
739 'location' => 'path',
740 'type' => 'string',
741 'required' => true,
742 ),
743 ),
744 ),
745 )
746 )
747 );
748 $this->edits_testers = new Google_Service_AndroidPublisher_EditsTesters_Resource(
749 $this,
750 $this->serviceName,
751 'testers',
752 array(
753 'methods' => array(
754 'get' => array(
755 'path' => '{packageName}/edits/{editId}/testers/{track}',
756 'httpMethod' => 'GET',
757 'parameters' => array(
758 'packageName' => array(
759 'location' => 'path',
760 'type' => 'string',
761 'required' => true,
762 ),
763 'editId' => array(
764 'location' => 'path',
765 'type' => 'string',
766 'required' => true,
767 ),
768 'track' => array(
769 'location' => 'path',
770 'type' => 'string',
771 'required' => true,
772 ),
773 ),
774 ),'patch' => array(
775 'path' => '{packageName}/edits/{editId}/testers/{track}',
776 'httpMethod' => 'PATCH',
777 'parameters' => array(
778 'packageName' => array(
779 'location' => 'path',
780 'type' => 'string',
781 'required' => true,
782 ),
783 'editId' => array(
784 'location' => 'path',
785 'type' => 'string',
786 'required' => true,
787 ),
788 'track' => array(
789 'location' => 'path',
790 'type' => 'string',
791 'required' => true,
792 ),
793 ),
794 ),'update' => array(
795 'path' => '{packageName}/edits/{editId}/testers/{track}',
796 'httpMethod' => 'PUT',
797 'parameters' => array(
798 'packageName' => array(
799 'location' => 'path',
800 'type' => 'string',
801 'required' => true,
802 ),
803 'editId' => array(
804 'location' => 'path',
805 'type' => 'string',
806 'required' => true,
807 ),
808 'track' => array(
809 'location' => 'path',
810 'type' => 'string',
811 'required' => true,
812 ),
813 ),
814 ),
815 )
816 )
817 );
818 $this->edits_tracks = new Google_Service_AndroidPublisher_EditsTracks_Resource(
819 $this,
820 $this->serviceName,
821 'tracks',
822 array(
823 'methods' => array(
824 'get' => array(
825 'path' => '{packageName}/edits/{editId}/tracks/{track}',
826 'httpMethod' => 'GET',
827 'parameters' => array(
828 'packageName' => array(
829 'location' => 'path',
830 'type' => 'string',
831 'required' => true,
832 ),
833 'editId' => array(
834 'location' => 'path',
835 'type' => 'string',
836 'required' => true,
837 ),
838 'track' => array(
839 'location' => 'path',
840 'type' => 'string',
841 'required' => true,
842 ),
843 ),
844 ),'list' => array(
845 'path' => '{packageName}/edits/{editId}/tracks',
846 'httpMethod' => 'GET',
847 'parameters' => array(
848 'packageName' => array(
849 'location' => 'path',
850 'type' => 'string',
851 'required' => true,
852 ),
853 'editId' => array(
854 'location' => 'path',
855 'type' => 'string',
856 'required' => true,
857 ),
858 ),
859 ),'patch' => array(
860 'path' => '{packageName}/edits/{editId}/tracks/{track}',
861 'httpMethod' => 'PATCH',
862 'parameters' => array(
863 'packageName' => array(
864 'location' => 'path',
865 'type' => 'string',
866 'required' => true,
867 ),
868 'editId' => array(
869 'location' => 'path',
870 'type' => 'string',
871 'required' => true,
872 ),
873 'track' => array(
874 'location' => 'path',
875 'type' => 'string',
876 'required' => true,
877 ),
878 ),
879 ),'update' => array(
880 'path' => '{packageName}/edits/{editId}/tracks/{track}',
881 'httpMethod' => 'PUT',
882 'parameters' => array(
883 'packageName' => array(
884 'location' => 'path',
885 'type' => 'string',
886 'required' => true,
887 ),
888 'editId' => array(
889 'location' => 'path',
890 'type' => 'string',
891 'required' => true,
892 ),
893 'track' => array(
894 'location' => 'path',
895 'type' => 'string',
896 'required' => true,
897 ),
898 ),
899 ),
900 )
901 )
902 );
903 $this->entitlements = new Google_Service_AndroidPublisher_Entitlements_Resource(
904 $this,
905 $this->serviceName,
906 'entitlements',
907 array(
908 'methods' => array(
909 'list' => array(
910 'path' => '{packageName}/entitlements',
911 'httpMethod' => 'GET',
912 'parameters' => array(
913 'packageName' => array(
914 'location' => 'path',
915 'type' => 'string',
916 'required' => true,
917 ),
918 'maxResults' => array(
919 'location' => 'query',
920 'type' => 'integer',
921 ),
922 'productId' => array(
923 'location' => 'query',
924 'type' => 'string',
925 ),
926 'startIndex' => array(
927 'location' => 'query',
928 'type' => 'integer',
929 ),
930 'token' => array(
931 'location' => 'query',
932 'type' => 'string',
933 ),
934 ),
935 ),
936 )
937 )
938 );
939 $this->inappproducts = new Google_Service_AndroidPublisher_Inappproducts_Resource(
940 $this,
941 $this->serviceName,
942 'inappproducts',
943 array(
944 'methods' => array(
945 'batch' => array(
946 'path' => 'inappproducts/batch',
947 'httpMethod' => 'POST',
948 'parameters' => array(),
949 ),'delete' => array(
950 'path' => '{packageName}/inappproducts/{sku}',
951 'httpMethod' => 'DELETE',
952 'parameters' => array(
953 'packageName' => array(
954 'location' => 'path',
955 'type' => 'string',
956 'required' => true,
957 ),
958 'sku' => array(
959 'location' => 'path',
960 'type' => 'string',
961 'required' => true,
962 ),
963 ),
964 ),'get' => array(
965 'path' => '{packageName}/inappproducts/{sku}',
966 'httpMethod' => 'GET',
967 'parameters' => array(
968 'packageName' => array(
969 'location' => 'path',
970 'type' => 'string',
971 'required' => true,
972 ),
973 'sku' => array(
974 'location' => 'path',
975 'type' => 'string',
976 'required' => true,
977 ),
978 ),
979 ),'insert' => array(
980 'path' => '{packageName}/inappproducts',
981 'httpMethod' => 'POST',
982 'parameters' => array(
983 'packageName' => array(
984 'location' => 'path',
985 'type' => 'string',
986 'required' => true,
987 ),
988 'autoConvertMissingPrices' => array(
989 'location' => 'query',
990 'type' => 'boolean',
991 ),
992 ),
993 ),'list' => array(
994 'path' => '{packageName}/inappproducts',
995 'httpMethod' => 'GET',
996 'parameters' => array(
997 'packageName' => array(
998 'location' => 'path',
999 'type' => 'string',
1000 'required' => true,
1001 ),
1002 'maxResults' => array(
1003 'location' => 'query',
1004 'type' => 'integer',
1005 ),
1006 'startIndex' => array(
1007 'location' => 'query',
1008 'type' => 'integer',
1009 ),
1010 'token' => array(
1011 'location' => 'query',
1012 'type' => 'string',
1013 ),
1014 ),
1015 ),'patch' => array(
1016 'path' => '{packageName}/inappproducts/{sku}',
1017 'httpMethod' => 'PATCH',
1018 'parameters' => array(
1019 'packageName' => array(
1020 'location' => 'path',
1021 'type' => 'string',
1022 'required' => true,
1023 ),
1024 'sku' => array(
1025 'location' => 'path',
1026 'type' => 'string',
1027 'required' => true,
1028 ),
1029 'autoConvertMissingPrices' => array(
1030 'location' => 'query',
1031 'type' => 'boolean',
1032 ),
1033 ),
1034 ),'update' => array(
1035 'path' => '{packageName}/inappproducts/{sku}',
1036 'httpMethod' => 'PUT',
1037 'parameters' => array(
1038 'packageName' => array(
1039 'location' => 'path',
1040 'type' => 'string',
1041 'required' => true,
1042 ),
1043 'sku' => array(
1044 'location' => 'path',
1045 'type' => 'string',
1046 'required' => true,
1047 ),
1048 'autoConvertMissingPrices' => array(
1049 'location' => 'query',
1050 'type' => 'boolean',
1051 ),
1052 ),
1053 ),
1054 )
1055 )
1056 );
1057 $this->purchases_products = new Google_Service_AndroidPublisher_PurchasesProducts_Resource(
1058 $this,
1059 $this->serviceName,
1060 'products',
1061 array(
1062 'methods' => array(
1063 'get' => array(
1064 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
1065 'httpMethod' => 'GET',
1066 'parameters' => array(
1067 'packageName' => array(
1068 'location' => 'path',
1069 'type' => 'string',
1070 'required' => true,
1071 ),
1072 'productId' => array(
1073 'location' => 'path',
1074 'type' => 'string',
1075 'required' => true,
1076 ),
1077 'token' => array(
1078 'location' => 'path',
1079 'type' => 'string',
1080 'required' => true,
1081 ),
1082 ),
1083 ),
1084 )
1085 )
1086 );
1087 $this->purchases_subscriptions = new Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
1088 $this,
1089 $this->serviceName,
1090 'subscriptions',
1091 array(
1092 'methods' => array(
1093 'cancel' => array(
1094 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
1095 'httpMethod' => 'POST',
1096 'parameters' => array(
1097 'packageName' => array(
1098 'location' => 'path',
1099 'type' => 'string',
1100 'required' => true,
1101 ),
1102 'subscriptionId' => array(
1103 'location' => 'path',
1104 'type' => 'string',
1105 'required' => true,
1106 ),
1107 'token' => array(
1108 'location' => 'path',
1109 'type' => 'string',
1110 'required' => true,
1111 ),
1112 ),
1113 ),'defer' => array(
1114 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:defer',
1115 'httpMethod' => 'POST',
1116 'parameters' => array(
1117 'packageName' => array(
1118 'location' => 'path',
1119 'type' => 'string',
1120 'required' => true,
1121 ),
1122 'subscriptionId' => array(
1123 'location' => 'path',
1124 'type' => 'string',
1125 'required' => true,
1126 ),
1127 'token' => array(
1128 'location' => 'path',
1129 'type' => 'string',
1130 'required' => true,
1131 ),
1132 ),
1133 ),'get' => array(
1134 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
1135 'httpMethod' => 'GET',
1136 'parameters' => array(
1137 'packageName' => array(
1138 'location' => 'path',
1139 'type' => 'string',
1140 'required' => true,
1141 ),
1142 'subscriptionId' => array(
1143 'location' => 'path',
1144 'type' => 'string',
1145 'required' => true,
1146 ),
1147 'token' => array(
1148 'location' => 'path',
1149 'type' => 'string',
1150 'required' => true,
1151 ),
1152 ),
1153 ),'refund' => array(
1154 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:refund',
1155 'httpMethod' => 'POST',
1156 'parameters' => array(
1157 'packageName' => array(
1158 'location' => 'path',
1159 'type' => 'string',
1160 'required' => true,
1161 ),
1162 'subscriptionId' => array(
1163 'location' => 'path',
1164 'type' => 'string',
1165 'required' => true,
1166 ),
1167 'token' => array(
1168 'location' => 'path',
1169 'type' => 'string',
1170 'required' => true,
1171 ),
1172 ),
1173 ),'revoke' => array(
1174 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:revoke',
1175 'httpMethod' => 'POST',
1176 'parameters' => array(
1177 'packageName' => array(
1178 'location' => 'path',
1179 'type' => 'string',
1180 'required' => true,
1181 ),
1182 'subscriptionId' => array(
1183 'location' => 'path',
1184 'type' => 'string',
1185 'required' => true,
1186 ),
1187 'token' => array(
1188 'location' => 'path',
1189 'type' => 'string',
1190 'required' => true,
1191 ),
1192 ),
1193 ),
1194 )
1195 )
1196 );
1197 }
1198 }
1199
1200
1201 /**
1202 * The "edits" collection of methods.
1203 * Typical usage is:
1204 * <code>
1205 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1206 * $edits = $androidpublisherService->edits;
1207 * </code>
1208 */
1209 class Google_Service_AndroidPublisher_Edits_Resource extends Google_Service_Resource
1210 {
1211
1212 /**
1213 * Commits/applies the changes made in this edit back to the app. (edits.commit)
1214 *
1215 * @param string $packageName Unique identifier for the Android app that is
1216 * being updated; for example, "com.spiffygame".
1217 * @param string $editId Unique identifier for this edit.
1218 * @param array $optParams Optional parameters.
1219 * @return Google_Service_AndroidPublisher_AppEdit
1220 */
1221 public function commit($packageName, $editId, $optParams = array())
1222 {
1223 $params = array('packageName' => $packageName, 'editId' => $editId);
1224 $params = array_merge($params, $optParams);
1225 return $this->call('commit', array($params), "Google_Service_AndroidPublisher_AppEdit");
1226 }
1227
1228 /**
1229 * Deletes an edit for an app. Creating a new edit will automatically delete any
1230 * of your previous edits so this method need only be called if you want to
1231 * preemptively abandon an edit. (edits.delete)
1232 *
1233 * @param string $packageName Unique identifier for the Android app that is
1234 * being updated; for example, "com.spiffygame".
1235 * @param string $editId Unique identifier for this edit.
1236 * @param array $optParams Optional parameters.
1237 */
1238 public function delete($packageName, $editId, $optParams = array())
1239 {
1240 $params = array('packageName' => $packageName, 'editId' => $editId);
1241 $params = array_merge($params, $optParams);
1242 return $this->call('delete', array($params));
1243 }
1244
1245 /**
1246 * Returns information about the edit specified. Calls will fail if the edit is
1247 * no long active (e.g. has been deleted, superseded or expired). (edits.get)
1248 *
1249 * @param string $packageName Unique identifier for the Android app that is
1250 * being updated; for example, "com.spiffygame".
1251 * @param string $editId Unique identifier for this edit.
1252 * @param array $optParams Optional parameters.
1253 * @return Google_Service_AndroidPublisher_AppEdit
1254 */
1255 public function get($packageName, $editId, $optParams = array())
1256 {
1257 $params = array('packageName' => $packageName, 'editId' => $editId);
1258 $params = array_merge($params, $optParams);
1259 return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppEdit");
1260 }
1261
1262 /**
1263 * Creates a new edit for an app, populated with the app's current state.
1264 * (edits.insert)
1265 *
1266 * @param string $packageName Unique identifier for the Android app that is
1267 * being updated; for example, "com.spiffygame".
1268 * @param Google_AppEdit $postBody
1269 * @param array $optParams Optional parameters.
1270 * @return Google_Service_AndroidPublisher_AppEdit
1271 */
1272 public function insert($packageName, Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
1273 {
1274 $params = array('packageName' => $packageName, 'postBody' => $postBody);
1275 $params = array_merge($params, $optParams);
1276 return $this->call('insert', array($params), "Google_Service_AndroidPublisher_AppEdit");
1277 }
1278
1279 /**
1280 * Checks that the edit can be successfully committed. The edit's changes are
1281 * not applied to the live app. (edits.validate)
1282 *
1283 * @param string $packageName Unique identifier for the Android app that is
1284 * being updated; for example, "com.spiffygame".
1285 * @param string $editId Unique identifier for this edit.
1286 * @param array $optParams Optional parameters.
1287 * @return Google_Service_AndroidPublisher_AppEdit
1288 */
1289 public function validate($packageName, $editId, $optParams = array())
1290 {
1291 $params = array('packageName' => $packageName, 'editId' => $editId);
1292 $params = array_merge($params, $optParams);
1293 return $this->call('validate', array($params), "Google_Service_AndroidPublisher_AppEdit");
1294 }
1295 }
1296
1297 /**
1298 * The "apklistings" collection of methods.
1299 * Typical usage is:
1300 * <code>
1301 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1302 * $apklistings = $androidpublisherService->apklistings;
1303 * </code>
1304 */
1305 class Google_Service_AndroidPublisher_EditsApklistings_Resource extends Google_Service_Resource
1306 {
1307
1308 /**
1309 * Deletes the APK-specific localized listing for a specified APK and language
1310 * code. (apklistings.delete)
1311 *
1312 * @param string $packageName Unique identifier for the Android app that is
1313 * being updated; for example, "com.spiffygame".
1314 * @param string $editId Unique identifier for this edit.
1315 * @param int $apkVersionCode The APK version code whose APK-specific listings
1316 * should be read or modified.
1317 * @param string $language The language code (a BCP-47 language tag) of the APK-
1318 * specific localized listing to read or modify. For example, to select Austrian
1319 * German, pass "de-AT".
1320 * @param array $optParams Optional parameters.
1321 */
1322 public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1323 {
1324 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1325 $params = array_merge($params, $optParams);
1326 return $this->call('delete', array($params));
1327 }
1328
1329 /**
1330 * Deletes all the APK-specific localized listings for a specified APK.
1331 * (apklistings.deleteall)
1332 *
1333 * @param string $packageName Unique identifier for the Android app that is
1334 * being updated; for example, "com.spiffygame".
1335 * @param string $editId Unique identifier for this edit.
1336 * @param int $apkVersionCode The APK version code whose APK-specific listings
1337 * should be read or modified.
1338 * @param array $optParams Optional parameters.
1339 */
1340 public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
1341 {
1342 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1343 $params = array_merge($params, $optParams);
1344 return $this->call('deleteall', array($params));
1345 }
1346
1347 /**
1348 * Fetches the APK-specific localized listing for a specified APK and language
1349 * code. (apklistings.get)
1350 *
1351 * @param string $packageName Unique identifier for the Android app that is
1352 * being updated; for example, "com.spiffygame".
1353 * @param string $editId Unique identifier for this edit.
1354 * @param int $apkVersionCode The APK version code whose APK-specific listings
1355 * should be read or modified.
1356 * @param string $language The language code (a BCP-47 language tag) of the APK-
1357 * specific localized listing to read or modify. For example, to select Austrian
1358 * German, pass "de-AT".
1359 * @param array $optParams Optional parameters.
1360 * @return Google_Service_AndroidPublisher_ApkListing
1361 */
1362 public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1363 {
1364 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1365 $params = array_merge($params, $optParams);
1366 return $this->call('get', array($params), "Google_Service_AndroidPublisher_ApkListing");
1367 }
1368
1369 /**
1370 * Lists all the APK-specific localized listings for a specified APK.
1371 * (apklistings.listEditsApklistings)
1372 *
1373 * @param string $packageName Unique identifier for the Android app that is
1374 * being updated; for example, "com.spiffygame".
1375 * @param string $editId Unique identifier for this edit.
1376 * @param int $apkVersionCode The APK version code whose APK-specific listings
1377 * should be read or modified.
1378 * @param array $optParams Optional parameters.
1379 * @return Google_Service_AndroidPublisher_ApkListingsListResponse
1380 */
1381 public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
1382 {
1383 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1384 $params = array_merge($params, $optParams);
1385 return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApkListingsListResponse");
1386 }
1387
1388 /**
1389 * Updates or creates the APK-specific localized listing for a specified APK and
1390 * language code. This method supports patch semantics. (apklistings.patch)
1391 *
1392 * @param string $packageName Unique identifier for the Android app that is
1393 * being updated; for example, "com.spiffygame".
1394 * @param string $editId Unique identifier for this edit.
1395 * @param int $apkVersionCode The APK version code whose APK-specific listings
1396 * should be read or modified.
1397 * @param string $language The language code (a BCP-47 language tag) of the APK-
1398 * specific localized listing to read or modify. For example, to select Austrian
1399 * German, pass "de-AT".
1400 * @param Google_ApkListing $postBody
1401 * @param array $optParams Optional parameters.
1402 * @return Google_Service_AndroidPublisher_ApkListing
1403 */
1404 public function patch($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1405 {
1406 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1407 $params = array_merge($params, $optParams);
1408 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ApkListing");
1409 }
1410
1411 /**
1412 * Updates or creates the APK-specific localized listing for a specified APK and
1413 * language code. (apklistings.update)
1414 *
1415 * @param string $packageName Unique identifier for the Android app that is
1416 * being updated; for example, "com.spiffygame".
1417 * @param string $editId Unique identifier for this edit.
1418 * @param int $apkVersionCode The APK version code whose APK-specific listings
1419 * should be read or modified.
1420 * @param string $language The language code (a BCP-47 language tag) of the APK-
1421 * specific localized listing to read or modify. For example, to select Austrian
1422 * German, pass "de-AT".
1423 * @param Google_ApkListing $postBody
1424 * @param array $optParams Optional parameters.
1425 * @return Google_Service_AndroidPublisher_ApkListing
1426 */
1427 public function update($packageName, $editId, $apkVersionCode, $language, Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1428 {
1429 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1430 $params = array_merge($params, $optParams);
1431 return $this->call('update', array($params), "Google_Service_AndroidPublisher_ApkListing");
1432 }
1433 }
1434 /**
1435 * The "apks" collection of methods.
1436 * Typical usage is:
1437 * <code>
1438 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1439 * $apks = $androidpublisherService->apks;
1440 * </code>
1441 */
1442 class Google_Service_AndroidPublisher_EditsApks_Resource extends Google_Service_Resource
1443 {
1444
1445 /**
1446 * Creates a new APK without uploading the APK itself to Google Play, instead
1447 * hosting the APK at a specified URL. This function is only available to
1448 * enterprises using Google Play for Work whose application is configured to
1449 * restrict distribution to the enterprise domain. (apks.addexternallyhosted)
1450 *
1451 * @param string $packageName Unique identifier for the Android app that is
1452 * being updated; for example, "com.spiffygame".
1453 * @param string $editId Unique identifier for this edit.
1454 * @param Google_ApksAddExternallyHostedRequest $postBody
1455 * @param array $optParams Optional parameters.
1456 * @return Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse
1457 */
1458 public function addexternallyhosted($packageName, $editId, Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest $postBody, $optParams = array())
1459 {
1460 $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1461 $params = array_merge($params, $optParams);
1462 return $this->call('addexternallyhosted', array($params), "Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse");
1463 }
1464
1465 /**
1466 * (apks.listEditsApks)
1467 *
1468 * @param string $packageName Unique identifier for the Android app that is
1469 * being updated; for example, "com.spiffygame".
1470 * @param string $editId Unique identifier for this edit.
1471 * @param array $optParams Optional parameters.
1472 * @return Google_Service_AndroidPublisher_ApksListResponse
1473 */
1474 public function listEditsApks($packageName, $editId, $optParams = array())
1475 {
1476 $params = array('packageName' => $packageName, 'editId' => $editId);
1477 $params = array_merge($params, $optParams);
1478 return $this->call('list', array($params), "Google_Service_AndroidPublisher_ApksListResponse");
1479 }
1480
1481 /**
1482 * (apks.upload)
1483 *
1484 * @param string $packageName Unique identifier for the Android app that is
1485 * being updated; for example, "com.spiffygame".
1486 * @param string $editId Unique identifier for this edit.
1487 * @param array $optParams Optional parameters.
1488 * @return Google_Service_AndroidPublisher_Apk
1489 */
1490 public function upload($packageName, $editId, $optParams = array())
1491 {
1492 $params = array('packageName' => $packageName, 'editId' => $editId);
1493 $params = array_merge($params, $optParams);
1494 return $this->call('upload', array($params), "Google_Service_AndroidPublisher_Apk");
1495 }
1496 }
1497 /**
1498 * The "details" collection of methods.
1499 * Typical usage is:
1500 * <code>
1501 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1502 * $details = $androidpublisherService->details;
1503 * </code>
1504 */
1505 class Google_Service_AndroidPublisher_EditsDetails_Resource extends Google_Service_Resource
1506 {
1507
1508 /**
1509 * Fetches app details for this edit. This includes the default language and
1510 * developer support contact information. (details.get)
1511 *
1512 * @param string $packageName Unique identifier for the Android app that is
1513 * being updated; for example, "com.spiffygame".
1514 * @param string $editId Unique identifier for this edit.
1515 * @param array $optParams Optional parameters.
1516 * @return Google_Service_AndroidPublisher_AppDetails
1517 */
1518 public function get($packageName, $editId, $optParams = array())
1519 {
1520 $params = array('packageName' => $packageName, 'editId' => $editId);
1521 $params = array_merge($params, $optParams);
1522 return $this->call('get', array($params), "Google_Service_AndroidPublisher_AppDetails");
1523 }
1524
1525 /**
1526 * Updates app details for this edit. This method supports patch semantics.
1527 * (details.patch)
1528 *
1529 * @param string $packageName Unique identifier for the Android app that is
1530 * being updated; for example, "com.spiffygame".
1531 * @param string $editId Unique identifier for this edit.
1532 * @param Google_AppDetails $postBody
1533 * @param array $optParams Optional parameters.
1534 * @return Google_Service_AndroidPublisher_AppDetails
1535 */
1536 public function patch($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1537 {
1538 $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1539 $params = array_merge($params, $optParams);
1540 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_AppDetails");
1541 }
1542
1543 /**
1544 * Updates app details for this edit. (details.update)
1545 *
1546 * @param string $packageName Unique identifier for the Android app that is
1547 * being updated; for example, "com.spiffygame".
1548 * @param string $editId Unique identifier for this edit.
1549 * @param Google_AppDetails $postBody
1550 * @param array $optParams Optional parameters.
1551 * @return Google_Service_AndroidPublisher_AppDetails
1552 */
1553 public function update($packageName, $editId, Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1554 {
1555 $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1556 $params = array_merge($params, $optParams);
1557 return $this->call('update', array($params), "Google_Service_AndroidPublisher_AppDetails");
1558 }
1559 }
1560 /**
1561 * The "expansionfiles" collection of methods.
1562 * Typical usage is:
1563 * <code>
1564 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1565 * $expansionfiles = $androidpublisherService->expansionfiles;
1566 * </code>
1567 */
1568 class Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Google_Service_Resource
1569 {
1570
1571 /**
1572 * Fetches the Expansion File configuration for the APK specified.
1573 * (expansionfiles.get)
1574 *
1575 * @param string $packageName Unique identifier for the Android app that is
1576 * being updated; for example, "com.spiffygame".
1577 * @param string $editId Unique identifier for this edit.
1578 * @param int $apkVersionCode The version code of the APK whose Expansion File
1579 * configuration is being read or modified.
1580 * @param string $expansionFileType
1581 * @param array $optParams Optional parameters.
1582 * @return Google_Service_AndroidPublisher_ExpansionFile
1583 */
1584 public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1585 {
1586 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1587 $params = array_merge($params, $optParams);
1588 return $this->call('get', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1589 }
1590
1591 /**
1592 * Updates the APK's Expansion File configuration to reference another APK's
1593 * Expansion Files. To add a new Expansion File use the Upload method. This
1594 * method supports patch semantics. (expansionfiles.patch)
1595 *
1596 * @param string $packageName Unique identifier for the Android app that is
1597 * being updated; for example, "com.spiffygame".
1598 * @param string $editId Unique identifier for this edit.
1599 * @param int $apkVersionCode The version code of the APK whose Expansion File
1600 * configuration is being read or modified.
1601 * @param string $expansionFileType
1602 * @param Google_ExpansionFile $postBody
1603 * @param array $optParams Optional parameters.
1604 * @return Google_Service_AndroidPublisher_ExpansionFile
1605 */
1606 public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1607 {
1608 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1609 $params = array_merge($params, $optParams);
1610 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1611 }
1612
1613 /**
1614 * Updates the APK's Expansion File configuration to reference another APK's
1615 * Expansion Files. To add a new Expansion File use the Upload method.
1616 * (expansionfiles.update)
1617 *
1618 * @param string $packageName Unique identifier for the Android app that is
1619 * being updated; for example, "com.spiffygame".
1620 * @param string $editId Unique identifier for this edit.
1621 * @param int $apkVersionCode The version code of the APK whose Expansion File
1622 * configuration is being read or modified.
1623 * @param string $expansionFileType
1624 * @param Google_ExpansionFile $postBody
1625 * @param array $optParams Optional parameters.
1626 * @return Google_Service_AndroidPublisher_ExpansionFile
1627 */
1628 public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1629 {
1630 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1631 $params = array_merge($params, $optParams);
1632 return $this->call('update', array($params), "Google_Service_AndroidPublisher_ExpansionFile");
1633 }
1634
1635 /**
1636 * Uploads and attaches a new Expansion File to the APK specified.
1637 * (expansionfiles.upload)
1638 *
1639 * @param string $packageName Unique identifier for the Android app that is
1640 * being updated; for example, "com.spiffygame".
1641 * @param string $editId Unique identifier for this edit.
1642 * @param int $apkVersionCode The version code of the APK whose Expansion File
1643 * configuration is being read or modified.
1644 * @param string $expansionFileType
1645 * @param array $optParams Optional parameters.
1646 * @return Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
1647 */
1648 public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1649 {
1650 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1651 $params = array_merge($params, $optParams);
1652 return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
1653 }
1654 }
1655 /**
1656 * The "images" collection of methods.
1657 * Typical usage is:
1658 * <code>
1659 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1660 * $images = $androidpublisherService->images;
1661 * </code>
1662 */
1663 class Google_Service_AndroidPublisher_EditsImages_Resource extends Google_Service_Resource
1664 {
1665
1666 /**
1667 * Deletes the image (specified by id) from the edit. (images.delete)
1668 *
1669 * @param string $packageName Unique identifier for the Android app that is
1670 * being updated; for example, "com.spiffygame".
1671 * @param string $editId Unique identifier for this edit.
1672 * @param string $language The language code (a BCP-47 language tag) of the
1673 * localized listing whose images are to read or modified. For example, to
1674 * select Austrian German, pass "de-AT".
1675 * @param string $imageType
1676 * @param string $imageId Unique identifier an image within the set of images
1677 * attached to this edit.
1678 * @param array $optParams Optional parameters.
1679 */
1680 public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
1681 {
1682 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
1683 $params = array_merge($params, $optParams);
1684 return $this->call('delete', array($params));
1685 }
1686
1687 /**
1688 * Deletes all images for the specified language and image type.
1689 * (images.deleteall)
1690 *
1691 * @param string $packageName Unique identifier for the Android app that is
1692 * being updated; for example, "com.spiffygame".
1693 * @param string $editId Unique identifier for this edit.
1694 * @param string $language The language code (a BCP-47 language tag) of the
1695 * localized listing whose images are to read or modified. For example, to
1696 * select Austrian German, pass "de-AT".
1697 * @param string $imageType
1698 * @param array $optParams Optional parameters.
1699 * @return Google_Service_AndroidPublisher_ImagesDeleteAllResponse
1700 */
1701 public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
1702 {
1703 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1704 $params = array_merge($params, $optParams);
1705 return $this->call('deleteall', array($params), "Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
1706 }
1707
1708 /**
1709 * Lists all images for the specified language and image type.
1710 * (images.listEditsImages)
1711 *
1712 * @param string $packageName Unique identifier for the Android app that is
1713 * being updated; for example, "com.spiffygame".
1714 * @param string $editId Unique identifier for this edit.
1715 * @param string $language The language code (a BCP-47 language tag) of the
1716 * localized listing whose images are to read or modified. For example, to
1717 * select Austrian German, pass "de-AT".
1718 * @param string $imageType
1719 * @param array $optParams Optional parameters.
1720 * @return Google_Service_AndroidPublisher_ImagesListResponse
1721 */
1722 public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
1723 {
1724 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1725 $params = array_merge($params, $optParams);
1726 return $this->call('list', array($params), "Google_Service_AndroidPublisher_ImagesListResponse");
1727 }
1728
1729 /**
1730 * Uploads a new image and adds it to the list of images for the specified
1731 * language and image type. (images.upload)
1732 *
1733 * @param string $packageName Unique identifier for the Android app that is
1734 * being updated; for example, "com.spiffygame".
1735 * @param string $editId Unique identifier for this edit.
1736 * @param string $language The language code (a BCP-47 language tag) of the
1737 * localized listing whose images are to read or modified. For example, to
1738 * select Austrian German, pass "de-AT".
1739 * @param string $imageType
1740 * @param array $optParams Optional parameters.
1741 * @return Google_Service_AndroidPublisher_ImagesUploadResponse
1742 */
1743 public function upload($packageName, $editId, $language, $imageType, $optParams = array())
1744 {
1745 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1746 $params = array_merge($params, $optParams);
1747 return $this->call('upload', array($params), "Google_Service_AndroidPublisher_ImagesUploadResponse");
1748 }
1749 }
1750 /**
1751 * The "listings" collection of methods.
1752 * Typical usage is:
1753 * <code>
1754 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1755 * $listings = $androidpublisherService->listings;
1756 * </code>
1757 */
1758 class Google_Service_AndroidPublisher_EditsListings_Resource extends Google_Service_Resource
1759 {
1760
1761 /**
1762 * Deletes the specified localized store listing from an edit. (listings.delete)
1763 *
1764 * @param string $packageName Unique identifier for the Android app that is
1765 * being updated; for example, "com.spiffygame".
1766 * @param string $editId Unique identifier for this edit.
1767 * @param string $language The language code (a BCP-47 language tag) of the
1768 * localized listing to read or modify. For example, to select Austrian German,
1769 * pass "de-AT".
1770 * @param array $optParams Optional parameters.
1771 */
1772 public function delete($packageName, $editId, $language, $optParams = array())
1773 {
1774 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1775 $params = array_merge($params, $optParams);
1776 return $this->call('delete', array($params));
1777 }
1778
1779 /**
1780 * Deletes all localized listings from an edit. (listings.deleteall)
1781 *
1782 * @param string $packageName Unique identifier for the Android app that is
1783 * being updated; for example, "com.spiffygame".
1784 * @param string $editId Unique identifier for this edit.
1785 * @param array $optParams Optional parameters.
1786 */
1787 public function deleteall($packageName, $editId, $optParams = array())
1788 {
1789 $params = array('packageName' => $packageName, 'editId' => $editId);
1790 $params = array_merge($params, $optParams);
1791 return $this->call('deleteall', array($params));
1792 }
1793
1794 /**
1795 * Fetches information about a localized store listing. (listings.get)
1796 *
1797 * @param string $packageName Unique identifier for the Android app that is
1798 * being updated; for example, "com.spiffygame".
1799 * @param string $editId Unique identifier for this edit.
1800 * @param string $language The language code (a BCP-47 language tag) of the
1801 * localized listing to read or modify. For example, to select Austrian German,
1802 * pass "de-AT".
1803 * @param array $optParams Optional parameters.
1804 * @return Google_Service_AndroidPublisher_Listing
1805 */
1806 public function get($packageName, $editId, $language, $optParams = array())
1807 {
1808 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1809 $params = array_merge($params, $optParams);
1810 return $this->call('get', array($params), "Google_Service_AndroidPublisher_Listing");
1811 }
1812
1813 /**
1814 * Returns all of the localized store listings attached to this edit.
1815 * (listings.listEditsListings)
1816 *
1817 * @param string $packageName Unique identifier for the Android app that is
1818 * being updated; for example, "com.spiffygame".
1819 * @param string $editId Unique identifier for this edit.
1820 * @param array $optParams Optional parameters.
1821 * @return Google_Service_AndroidPublisher_ListingsListResponse
1822 */
1823 public function listEditsListings($packageName, $editId, $optParams = array())
1824 {
1825 $params = array('packageName' => $packageName, 'editId' => $editId);
1826 $params = array_merge($params, $optParams);
1827 return $this->call('list', array($params), "Google_Service_AndroidPublisher_ListingsListResponse");
1828 }
1829
1830 /**
1831 * Creates or updates a localized store listing. This method supports patch
1832 * semantics. (listings.patch)
1833 *
1834 * @param string $packageName Unique identifier for the Android app that is
1835 * being updated; for example, "com.spiffygame".
1836 * @param string $editId Unique identifier for this edit.
1837 * @param string $language The language code (a BCP-47 language tag) of the
1838 * localized listing to read or modify. For example, to select Austrian German,
1839 * pass "de-AT".
1840 * @param Google_Listing $postBody
1841 * @param array $optParams Optional parameters.
1842 * @return Google_Service_AndroidPublisher_Listing
1843 */
1844 public function patch($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1845 {
1846 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1847 $params = array_merge($params, $optParams);
1848 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Listing");
1849 }
1850
1851 /**
1852 * Creates or updates a localized store listing. (listings.update)
1853 *
1854 * @param string $packageName Unique identifier for the Android app that is
1855 * being updated; for example, "com.spiffygame".
1856 * @param string $editId Unique identifier for this edit.
1857 * @param string $language The language code (a BCP-47 language tag) of the
1858 * localized listing to read or modify. For example, to select Austrian German,
1859 * pass "de-AT".
1860 * @param Google_Listing $postBody
1861 * @param array $optParams Optional parameters.
1862 * @return Google_Service_AndroidPublisher_Listing
1863 */
1864 public function update($packageName, $editId, $language, Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1865 {
1866 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1867 $params = array_merge($params, $optParams);
1868 return $this->call('update', array($params), "Google_Service_AndroidPublisher_Listing");
1869 }
1870 }
1871 /**
1872 * The "testers" collection of methods.
1873 * Typical usage is:
1874 * <code>
1875 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1876 * $testers = $androidpublisherService->testers;
1877 * </code>
1878 */
1879 class Google_Service_AndroidPublisher_EditsTesters_Resource extends Google_Service_Resource
1880 {
1881
1882 /**
1883 * (testers.get)
1884 *
1885 * @param string $packageName Unique identifier for the Android app that is
1886 * being updated; for example, "com.spiffygame".
1887 * @param string $editId Unique identifier for this edit.
1888 * @param string $track
1889 * @param array $optParams Optional parameters.
1890 * @return Google_Service_AndroidPublisher_Testers
1891 */
1892 public function get($packageName, $editId, $track, $optParams = array())
1893 {
1894 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1895 $params = array_merge($params, $optParams);
1896 return $this->call('get', array($params), "Google_Service_AndroidPublisher_Testers");
1897 }
1898
1899 /**
1900 * (testers.patch)
1901 *
1902 * @param string $packageName Unique identifier for the Android app that is
1903 * being updated; for example, "com.spiffygame".
1904 * @param string $editId Unique identifier for this edit.
1905 * @param string $track
1906 * @param Google_Testers $postBody
1907 * @param array $optParams Optional parameters.
1908 * @return Google_Service_AndroidPublisher_Testers
1909 */
1910 public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1911 {
1912 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1913 $params = array_merge($params, $optParams);
1914 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Testers");
1915 }
1916
1917 /**
1918 * (testers.update)
1919 *
1920 * @param string $packageName Unique identifier for the Android app that is
1921 * being updated; for example, "com.spiffygame".
1922 * @param string $editId Unique identifier for this edit.
1923 * @param string $track
1924 * @param Google_Testers $postBody
1925 * @param array $optParams Optional parameters.
1926 * @return Google_Service_AndroidPublisher_Testers
1927 */
1928 public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1929 {
1930 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1931 $params = array_merge($params, $optParams);
1932 return $this->call('update', array($params), "Google_Service_AndroidPublisher_Testers");
1933 }
1934 }
1935 /**
1936 * The "tracks" collection of methods.
1937 * Typical usage is:
1938 * <code>
1939 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
1940 * $tracks = $androidpublisherService->tracks;
1941 * </code>
1942 */
1943 class Google_Service_AndroidPublisher_EditsTracks_Resource extends Google_Service_Resource
1944 {
1945
1946 /**
1947 * Fetches the track configuration for the specified track type. Includes the
1948 * APK version codes that are in this track. (tracks.get)
1949 *
1950 * @param string $packageName Unique identifier for the Android app that is
1951 * being updated; for example, "com.spiffygame".
1952 * @param string $editId Unique identifier for this edit.
1953 * @param string $track The track type to read or modify.
1954 * @param array $optParams Optional parameters.
1955 * @return Google_Service_AndroidPublisher_Track
1956 */
1957 public function get($packageName, $editId, $track, $optParams = array())
1958 {
1959 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1960 $params = array_merge($params, $optParams);
1961 return $this->call('get', array($params), "Google_Service_AndroidPublisher_Track");
1962 }
1963
1964 /**
1965 * Lists all the track configurations for this edit. (tracks.listEditsTracks)
1966 *
1967 * @param string $packageName Unique identifier for the Android app that is
1968 * being updated; for example, "com.spiffygame".
1969 * @param string $editId Unique identifier for this edit.
1970 * @param array $optParams Optional parameters.
1971 * @return Google_Service_AndroidPublisher_TracksListResponse
1972 */
1973 public function listEditsTracks($packageName, $editId, $optParams = array())
1974 {
1975 $params = array('packageName' => $packageName, 'editId' => $editId);
1976 $params = array_merge($params, $optParams);
1977 return $this->call('list', array($params), "Google_Service_AndroidPublisher_TracksListResponse");
1978 }
1979
1980 /**
1981 * Updates the track configuration for the specified track type. When halted,
1982 * the rollout track cannot be updated without adding new APKs, and adding new
1983 * APKs will cause it to resume. This method supports patch semantics.
1984 * (tracks.patch)
1985 *
1986 * @param string $packageName Unique identifier for the Android app that is
1987 * being updated; for example, "com.spiffygame".
1988 * @param string $editId Unique identifier for this edit.
1989 * @param string $track The track type to read or modify.
1990 * @param Google_Track $postBody
1991 * @param array $optParams Optional parameters.
1992 * @return Google_Service_AndroidPublisher_Track
1993 */
1994 public function patch($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
1995 {
1996 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1997 $params = array_merge($params, $optParams);
1998 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_Track");
1999 }
2000
2001 /**
2002 * Updates the track configuration for the specified track type. When halted,
2003 * the rollout track cannot be updated without adding new APKs, and adding new
2004 * APKs will cause it to resume. (tracks.update)
2005 *
2006 * @param string $packageName Unique identifier for the Android app that is
2007 * being updated; for example, "com.spiffygame".
2008 * @param string $editId Unique identifier for this edit.
2009 * @param string $track The track type to read or modify.
2010 * @param Google_Track $postBody
2011 * @param array $optParams Optional parameters.
2012 * @return Google_Service_AndroidPublisher_Track
2013 */
2014 public function update($packageName, $editId, $track, Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
2015 {
2016 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
2017 $params = array_merge($params, $optParams);
2018 return $this->call('update', array($params), "Google_Service_AndroidPublisher_Track");
2019 }
2020 }
2021
2022 /**
2023 * The "entitlements" collection of methods.
2024 * Typical usage is:
2025 * <code>
2026 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2027 * $entitlements = $androidpublisherService->entitlements;
2028 * </code>
2029 */
2030 class Google_Service_AndroidPublisher_Entitlements_Resource extends Google_Service_Resource
2031 {
2032
2033 /**
2034 * Lists the user's current inapp item or subscription entitlements
2035 * (entitlements.listEntitlements)
2036 *
2037 * @param string $packageName The package name of the application the inapp
2038 * product was sold in (for example, 'com.some.thing').
2039 * @param array $optParams Optional parameters.
2040 *
2041 * @opt_param string maxResults
2042 * @opt_param string productId The product id of the inapp product (for example,
2043 * 'sku1'). This can be used to restrict the result set.
2044 * @opt_param string startIndex
2045 * @opt_param string token
2046 * @return Google_Service_AndroidPublisher_EntitlementsListResponse
2047 */
2048 public function listEntitlements($packageName, $optParams = array())
2049 {
2050 $params = array('packageName' => $packageName);
2051 $params = array_merge($params, $optParams);
2052 return $this->call('list', array($params), "Google_Service_AndroidPublisher_EntitlementsListResponse");
2053 }
2054 }
2055
2056 /**
2057 * The "inappproducts" collection of methods.
2058 * Typical usage is:
2059 * <code>
2060 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2061 * $inappproducts = $androidpublisherService->inappproducts;
2062 * </code>
2063 */
2064 class Google_Service_AndroidPublisher_Inappproducts_Resource extends Google_Service_Resource
2065 {
2066
2067 /**
2068 * (inappproducts.batch)
2069 *
2070 * @param Google_InappproductsBatchRequest $postBody
2071 * @param array $optParams Optional parameters.
2072 * @return Google_Service_AndroidPublisher_InappproductsBatchResponse
2073 */
2074 public function batch(Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
2075 {
2076 $params = array('postBody' => $postBody);
2077 $params = array_merge($params, $optParams);
2078 return $this->call('batch', array($params), "Google_Service_AndroidPublisher_InappproductsBatchResponse");
2079 }
2080
2081 /**
2082 * Delete an in-app product for an app. (inappproducts.delete)
2083 *
2084 * @param string $packageName Unique identifier for the Android app with the in-
2085 * app product; for example, "com.spiffygame".
2086 * @param string $sku Unique identifier for the in-app product.
2087 * @param array $optParams Optional parameters.
2088 */
2089 public function delete($packageName, $sku, $optParams = array())
2090 {
2091 $params = array('packageName' => $packageName, 'sku' => $sku);
2092 $params = array_merge($params, $optParams);
2093 return $this->call('delete', array($params));
2094 }
2095
2096 /**
2097 * Returns information about the in-app product specified. (inappproducts.get)
2098 *
2099 * @param string $packageName
2100 * @param string $sku Unique identifier for the in-app product.
2101 * @param array $optParams Optional parameters.
2102 * @return Google_Service_AndroidPublisher_InAppProduct
2103 */
2104 public function get($packageName, $sku, $optParams = array())
2105 {
2106 $params = array('packageName' => $packageName, 'sku' => $sku);
2107 $params = array_merge($params, $optParams);
2108 return $this->call('get', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2109 }
2110
2111 /**
2112 * Creates a new in-app product for an app. (inappproducts.insert)
2113 *
2114 * @param string $packageName Unique identifier for the Android app; for
2115 * example, "com.spiffygame".
2116 * @param Google_InAppProduct $postBody
2117 * @param array $optParams Optional parameters.
2118 *
2119 * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2120 * targeted by the parent app that don't have a price specified for this in-app
2121 * product will be auto converted to the target currency based on the default
2122 * price. Defaults to false.
2123 * @return Google_Service_AndroidPublisher_InAppProduct
2124 */
2125 public function insert($packageName, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2126 {
2127 $params = array('packageName' => $packageName, 'postBody' => $postBody);
2128 $params = array_merge($params, $optParams);
2129 return $this->call('insert', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2130 }
2131
2132 /**
2133 * List all the in-app products for an Android app, both subscriptions and
2134 * managed in-app products.. (inappproducts.listInappproducts)
2135 *
2136 * @param string $packageName Unique identifier for the Android app with in-app
2137 * products; for example, "com.spiffygame".
2138 * @param array $optParams Optional parameters.
2139 *
2140 * @opt_param string maxResults
2141 * @opt_param string startIndex
2142 * @opt_param string token
2143 * @return Google_Service_AndroidPublisher_InappproductsListResponse
2144 */
2145 public function listInappproducts($packageName, $optParams = array())
2146 {
2147 $params = array('packageName' => $packageName);
2148 $params = array_merge($params, $optParams);
2149 return $this->call('list', array($params), "Google_Service_AndroidPublisher_InappproductsListResponse");
2150 }
2151
2152 /**
2153 * Updates the details of an in-app product. This method supports patch
2154 * semantics. (inappproducts.patch)
2155 *
2156 * @param string $packageName Unique identifier for the Android app with the in-
2157 * app product; for example, "com.spiffygame".
2158 * @param string $sku Unique identifier for the in-app product.
2159 * @param Google_InAppProduct $postBody
2160 * @param array $optParams Optional parameters.
2161 *
2162 * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2163 * targeted by the parent app that don't have a price specified for this in-app
2164 * product will be auto converted to the target currency based on the default
2165 * price. Defaults to false.
2166 * @return Google_Service_AndroidPublisher_InAppProduct
2167 */
2168 public function patch($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2169 {
2170 $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2171 $params = array_merge($params, $optParams);
2172 return $this->call('patch', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2173 }
2174
2175 /**
2176 * Updates the details of an in-app product. (inappproducts.update)
2177 *
2178 * @param string $packageName Unique identifier for the Android app with the in-
2179 * app product; for example, "com.spiffygame".
2180 * @param string $sku Unique identifier for the in-app product.
2181 * @param Google_InAppProduct $postBody
2182 * @param array $optParams Optional parameters.
2183 *
2184 * @opt_param bool autoConvertMissingPrices If true the prices for all regions
2185 * targeted by the parent app that don't have a price specified for this in-app
2186 * product will be auto converted to the target currency based on the default
2187 * price. Defaults to false.
2188 * @return Google_Service_AndroidPublisher_InAppProduct
2189 */
2190 public function update($packageName, $sku, Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2191 {
2192 $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2193 $params = array_merge($params, $optParams);
2194 return $this->call('update', array($params), "Google_Service_AndroidPublisher_InAppProduct");
2195 }
2196 }
2197
2198 /**
2199 * The "purchases" collection of methods.
2200 * Typical usage is:
2201 * <code>
2202 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2203 * $purchases = $androidpublisherService->purchases;
2204 * </code>
2205 */
2206 class Google_Service_AndroidPublisher_Purchases_Resource extends Google_Service_Resource
2207 {
2208 }
2209
2210 /**
2211 * The "products" collection of methods.
2212 * Typical usage is:
2213 * <code>
2214 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2215 * $products = $androidpublisherService->products;
2216 * </code>
2217 */
2218 class Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Google_Service_Resource
2219 {
2220
2221 /**
2222 * Checks the purchase and consumption status of an inapp item. (products.get)
2223 *
2224 * @param string $packageName The package name of the application the inapp
2225 * product was sold in (for example, 'com.some.thing').
2226 * @param string $productId The inapp product SKU (for example,
2227 * 'com.some.thing.inapp1').
2228 * @param string $token The token provided to the user's device when the inapp
2229 * product was purchased.
2230 * @param array $optParams Optional parameters.
2231 * @return Google_Service_AndroidPublisher_ProductPurchase
2232 */
2233 public function get($packageName, $productId, $token, $optParams = array())
2234 {
2235 $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
2236 $params = array_merge($params, $optParams);
2237 return $this->call('get', array($params), "Google_Service_AndroidPublisher_ProductPurchase");
2238 }
2239 }
2240 /**
2241 * The "subscriptions" collection of methods.
2242 * Typical usage is:
2243 * <code>
2244 * $androidpublisherService = new Google_Service_AndroidPublisher(...);
2245 * $subscriptions = $androidpublisherService->subscriptions;
2246 * </code>
2247 */
2248 class Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Google_Service_Resource
2249 {
2250
2251 /**
2252 * Cancels a user's subscription purchase. The subscription remains valid until
2253 * its expiration time. (subscriptions.cancel)
2254 *
2255 * @param string $packageName The package name of the application for which this
2256 * subscription was purchased (for example, 'com.some.thing').
2257 * @param string $subscriptionId The purchased subscription ID (for example,
2258 * 'monthly001').
2259 * @param string $token The token provided to the user's device when the
2260 * subscription was purchased.
2261 * @param array $optParams Optional parameters.
2262 */
2263 public function cancel($packageName, $subscriptionId, $token, $optParams = array())
2264 {
2265 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2266 $params = array_merge($params, $optParams);
2267 return $this->call('cancel', array($params));
2268 }
2269
2270 /**
2271 * Defers a user's subscription purchase until a specified future expiration
2272 * time. (subscriptions.defer)
2273 *
2274 * @param string $packageName The package name of the application for which this
2275 * subscription was purchased (for example, 'com.some.thing').
2276 * @param string $subscriptionId The purchased subscription ID (for example,
2277 * 'monthly001').
2278 * @param string $token The token provided to the user's device when the
2279 * subscription was purchased.
2280 * @param Google_SubscriptionPurchasesDeferRequest $postBody
2281 * @param array $optParams Optional parameters.
2282 * @return Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse
2283 */
2284 public function defer($packageName, $subscriptionId, $token, Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest $postBody, $optParams = array())
2285 {
2286 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token, 'postBody' => $postBody);
2287 $params = array_merge($params, $optParams);
2288 return $this->call('defer', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse");
2289 }
2290
2291 /**
2292 * Checks whether a user's subscription purchase is valid and returns its expiry
2293 * time. (subscriptions.get)
2294 *
2295 * @param string $packageName The package name of the application for which this
2296 * subscription was purchased (for example, 'com.some.thing').
2297 * @param string $subscriptionId The purchased subscription ID (for example,
2298 * 'monthly001').
2299 * @param string $token The token provided to the user's device when the
2300 * subscription was purchased.
2301 * @param array $optParams Optional parameters.
2302 * @return Google_Service_AndroidPublisher_SubscriptionPurchase
2303 */
2304 public function get($packageName, $subscriptionId, $token, $optParams = array())
2305 {
2306 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2307 $params = array_merge($params, $optParams);
2308 return $this->call('get', array($params), "Google_Service_AndroidPublisher_SubscriptionPurchase");
2309 }
2310
2311 /**
2312 * Refunds a user's subscription purchase, but the subscription remains valid
2313 * until its expiration time and it will continue to recur.
2314 * (subscriptions.refund)
2315 *
2316 * @param string $packageName The package name of the application for which this
2317 * subscription was purchased (for example, 'com.some.thing').
2318 * @param string $subscriptionId The purchased subscription ID (for example,
2319 * 'monthly001').
2320 * @param string $token The token provided to the user's device when the
2321 * subscription was purchased.
2322 * @param array $optParams Optional parameters.
2323 */
2324 public function refund($packageName, $subscriptionId, $token, $optParams = array())
2325 {
2326 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2327 $params = array_merge($params, $optParams);
2328 return $this->call('refund', array($params));
2329 }
2330
2331 /**
2332 * Refunds and immediately revokes a user's subscription purchase. Access to the
2333 * subscription will be terminated immediately and it will stop recurring.
2334 * (subscriptions.revoke)
2335 *
2336 * @param string $packageName The package name of the application for which this
2337 * subscription was purchased (for example, 'com.some.thing').
2338 * @param string $subscriptionId The purchased subscription ID (for example,
2339 * 'monthly001').
2340 * @param string $token The token provided to the user's device when the
2341 * subscription was purchased.
2342 * @param array $optParams Optional parameters.
2343 */
2344 public function revoke($packageName, $subscriptionId, $token, $optParams = array())
2345 {
2346 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2347 $params = array_merge($params, $optParams);
2348 return $this->call('revoke', array($params));
2349 }
2350 }
2351
2352
2353
2354
2355 class Google_Service_AndroidPublisher_Apk extends Google_Model
2356 {
2357 protected $internal_gapi_mappings = array(
2358 );
2359 protected $binaryType = 'Google_Service_AndroidPublisher_ApkBinary';
2360 protected $binaryDataType = '';
2361 public $versionCode;
2362
2363
2364 public function setBinary(Google_Service_AndroidPublisher_ApkBinary $binary)
2365 {
2366 $this->binary = $binary;
2367 }
2368 public function getBinary()
2369 {
2370 return $this->binary;
2371 }
2372 public function setVersionCode($versionCode)
2373 {
2374 $this->versionCode = $versionCode;
2375 }
2376 public function getVersionCode()
2377 {
2378 return $this->versionCode;
2379 }
2380 }
2381
2382 class Google_Service_AndroidPublisher_ApkBinary extends Google_Model
2383 {
2384 protected $internal_gapi_mappings = array(
2385 );
2386 public $sha1;
2387
2388
2389 public function setSha1($sha1)
2390 {
2391 $this->sha1 = $sha1;
2392 }
2393 public function getSha1()
2394 {
2395 return $this->sha1;
2396 }
2397 }
2398
2399 class Google_Service_AndroidPublisher_ApkListing extends Google_Model
2400 {
2401 protected $internal_gapi_mappings = array(
2402 );
2403 public $language;
2404 public $recentChanges;
2405
2406
2407 public function setLanguage($language)
2408 {
2409 $this->language = $language;
2410 }
2411 public function getLanguage()
2412 {
2413 return $this->language;
2414 }
2415 public function setRecentChanges($recentChanges)
2416 {
2417 $this->recentChanges = $recentChanges;
2418 }
2419 public function getRecentChanges()
2420 {
2421 return $this->recentChanges;
2422 }
2423 }
2424
2425 class Google_Service_AndroidPublisher_ApkListingsListResponse extends Google_Collection
2426 {
2427 protected $collection_key = 'listings';
2428 protected $internal_gapi_mappings = array(
2429 );
2430 public $kind;
2431 protected $listingsType = 'Google_Service_AndroidPublisher_ApkListing';
2432 protected $listingsDataType = 'array';
2433
2434
2435 public function setKind($kind)
2436 {
2437 $this->kind = $kind;
2438 }
2439 public function getKind()
2440 {
2441 return $this->kind;
2442 }
2443 public function setListings($listings)
2444 {
2445 $this->listings = $listings;
2446 }
2447 public function getListings()
2448 {
2449 return $this->listings;
2450 }
2451 }
2452
2453 class Google_Service_AndroidPublisher_ApksAddExternallyHostedRequest extends Google_Model
2454 {
2455 protected $internal_gapi_mappings = array(
2456 );
2457 protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
2458 protected $externallyHostedApkDataType = '';
2459
2460
2461 public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2462 {
2463 $this->externallyHostedApk = $externallyHostedApk;
2464 }
2465 public function getExternallyHostedApk()
2466 {
2467 return $this->externallyHostedApk;
2468 }
2469 }
2470
2471 class Google_Service_AndroidPublisher_ApksAddExternallyHostedResponse extends Google_Model
2472 {
2473 protected $internal_gapi_mappings = array(
2474 );
2475 protected $externallyHostedApkType = 'Google_Service_AndroidPublisher_ExternallyHostedApk';
2476 protected $externallyHostedApkDataType = '';
2477
2478
2479 public function setExternallyHostedApk(Google_Service_AndroidPublisher_ExternallyHostedApk $externallyHostedApk)
2480 {
2481 $this->externallyHostedApk = $externallyHostedApk;
2482 }
2483 public function getExternallyHostedApk()
2484 {
2485 return $this->externallyHostedApk;
2486 }
2487 }
2488
2489 class Google_Service_AndroidPublisher_ApksListResponse extends Google_Collection
2490 {
2491 protected $collection_key = 'apks';
2492 protected $internal_gapi_mappings = array(
2493 );
2494 protected $apksType = 'Google_Service_AndroidPublisher_Apk';
2495 protected $apksDataType = 'array';
2496 public $kind;
2497
2498
2499 public function setApks($apks)
2500 {
2501 $this->apks = $apks;
2502 }
2503 public function getApks()
2504 {
2505 return $this->apks;
2506 }
2507 public function setKind($kind)
2508 {
2509 $this->kind = $kind;
2510 }
2511 public function getKind()
2512 {
2513 return $this->kind;
2514 }
2515 }
2516
2517 class Google_Service_AndroidPublisher_AppDetails extends Google_Model
2518 {
2519 protected $internal_gapi_mappings = array(
2520 );
2521 public $contactEmail;
2522 public $contactPhone;
2523 public $contactWebsite;
2524 public $defaultLanguage;
2525
2526
2527 public function setContactEmail($contactEmail)
2528 {
2529 $this->contactEmail = $contactEmail;
2530 }
2531 public function getContactEmail()
2532 {
2533 return $this->contactEmail;
2534 }
2535 public function setContactPhone($contactPhone)
2536 {
2537 $this->contactPhone = $contactPhone;
2538 }
2539 public function getContactPhone()
2540 {
2541 return $this->contactPhone;
2542 }
2543 public function setContactWebsite($contactWebsite)
2544 {
2545 $this->contactWebsite = $contactWebsite;
2546 }
2547 public function getContactWebsite()
2548 {
2549 return $this->contactWebsite;
2550 }
2551 public function setDefaultLanguage($defaultLanguage)
2552 {
2553 $this->defaultLanguage = $defaultLanguage;
2554 }
2555 public function getDefaultLanguage()
2556 {
2557 return $this->defaultLanguage;
2558 }
2559 }
2560
2561 class Google_Service_AndroidPublisher_AppEdit extends Google_Model
2562 {
2563 protected $internal_gapi_mappings = array(
2564 );
2565 public $expiryTimeSeconds;
2566 public $id;
2567
2568
2569 public function setExpiryTimeSeconds($expiryTimeSeconds)
2570 {
2571 $this->expiryTimeSeconds = $expiryTimeSeconds;
2572 }
2573 public function getExpiryTimeSeconds()
2574 {
2575 return $this->expiryTimeSeconds;
2576 }
2577 public function setId($id)
2578 {
2579 $this->id = $id;
2580 }
2581 public function getId()
2582 {
2583 return $this->id;
2584 }
2585 }
2586
2587 class Google_Service_AndroidPublisher_Entitlement extends Google_Model
2588 {
2589 protected $internal_gapi_mappings = array(
2590 );
2591 public $kind;
2592 public $productId;
2593 public $productType;
2594 public $token;
2595
2596
2597 public function setKind($kind)
2598 {
2599 $this->kind = $kind;
2600 }
2601 public function getKind()
2602 {
2603 return $this->kind;
2604 }
2605 public function setProductId($productId)
2606 {
2607 $this->productId = $productId;
2608 }
2609 public function getProductId()
2610 {
2611 return $this->productId;
2612 }
2613 public function setProductType($productType)
2614 {
2615 $this->productType = $productType;
2616 }
2617 public function getProductType()
2618 {
2619 return $this->productType;
2620 }
2621 public function setToken($token)
2622 {
2623 $this->token = $token;
2624 }
2625 public function getToken()
2626 {
2627 return $this->token;
2628 }
2629 }
2630
2631 class Google_Service_AndroidPublisher_EntitlementsListResponse extends Google_Collection
2632 {
2633 protected $collection_key = 'resources';
2634 protected $internal_gapi_mappings = array(
2635 );
2636 protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
2637 protected $pageInfoDataType = '';
2638 protected $resourcesType = 'Google_Service_AndroidPublisher_Entitlement';
2639 protected $resourcesDataType = 'array';
2640 protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
2641 protected $tokenPaginationDataType = '';
2642
2643
2644 public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
2645 {
2646 $this->pageInfo = $pageInfo;
2647 }
2648 public function getPageInfo()
2649 {
2650 return $this->pageInfo;
2651 }
2652 public function setResources($resources)
2653 {
2654 $this->resources = $resources;
2655 }
2656 public function getResources()
2657 {
2658 return $this->resources;
2659 }
2660 public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
2661 {
2662 $this->tokenPagination = $tokenPagination;
2663 }
2664 public function getTokenPagination()
2665 {
2666 return $this->tokenPagination;
2667 }
2668 }
2669
2670 class Google_Service_AndroidPublisher_ExpansionFile extends Google_Model
2671 {
2672 protected $internal_gapi_mappings = array(
2673 );
2674 public $fileSize;
2675 public $referencesVersion;
2676
2677
2678 public function setFileSize($fileSize)
2679 {
2680 $this->fileSize = $fileSize;
2681 }
2682 public function getFileSize()
2683 {
2684 return $this->fileSize;
2685 }
2686 public function setReferencesVersion($referencesVersion)
2687 {
2688 $this->referencesVersion = $referencesVersion;
2689 }
2690 public function getReferencesVersion()
2691 {
2692 return $this->referencesVersion;
2693 }
2694 }
2695
2696 class Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Google_Model
2697 {
2698 protected $internal_gapi_mappings = array(
2699 );
2700 protected $expansionFileType = 'Google_Service_AndroidPublisher_ExpansionFile';
2701 protected $expansionFileDataType = '';
2702
2703
2704 public function setExpansionFile(Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
2705 {
2706 $this->expansionFile = $expansionFile;
2707 }
2708 public function getExpansionFile()
2709 {
2710 return $this->expansionFile;
2711 }
2712 }
2713
2714 class Google_Service_AndroidPublisher_ExternallyHostedApk extends Google_Collection
2715 {
2716 protected $collection_key = 'usesPermissions';
2717 protected $internal_gapi_mappings = array(
2718 );
2719 public $applicationLabel;
2720 public $certificateBase64s;
2721 public $externallyHostedUrl;
2722 public $fileSha1Base64;
2723 public $fileSha256Base64;
2724 public $fileSize;
2725 public $iconBase64;
2726 public $maximumSdk;
2727 public $minimumSdk;
2728 public $nativeCodes;
2729 public $packageName;
2730 public $usesFeatures;
2731 protected $usesPermissionsType = 'Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission';
2732 protected $usesPermissionsDataType = 'array';
2733 public $versionCode;
2734 public $versionName;
2735
2736
2737 public function setApplicationLabel($applicationLabel)
2738 {
2739 $this->applicationLabel = $applicationLabel;
2740 }
2741 public function getApplicationLabel()
2742 {
2743 return $this->applicationLabel;
2744 }
2745 public function setCertificateBase64s($certificateBase64s)
2746 {
2747 $this->certificateBase64s = $certificateBase64s;
2748 }
2749 public function getCertificateBase64s()
2750 {
2751 return $this->certificateBase64s;
2752 }
2753 public function setExternallyHostedUrl($externallyHostedUrl)
2754 {
2755 $this->externallyHostedUrl = $externallyHostedUrl;
2756 }
2757 public function getExternallyHostedUrl()
2758 {
2759 return $this->externallyHostedUrl;
2760 }
2761 public function setFileSha1Base64($fileSha1Base64)
2762 {
2763 $this->fileSha1Base64 = $fileSha1Base64;
2764 }
2765 public function getFileSha1Base64()
2766 {
2767 return $this->fileSha1Base64;
2768 }
2769 public function setFileSha256Base64($fileSha256Base64)
2770 {
2771 $this->fileSha256Base64 = $fileSha256Base64;
2772 }
2773 public function getFileSha256Base64()
2774 {
2775 return $this->fileSha256Base64;
2776 }
2777 public function setFileSize($fileSize)
2778 {
2779 $this->fileSize = $fileSize;
2780 }
2781 public function getFileSize()
2782 {
2783 return $this->fileSize;
2784 }
2785 public function setIconBase64($iconBase64)
2786 {
2787 $this->iconBase64 = $iconBase64;
2788 }
2789 public function getIconBase64()
2790 {
2791 return $this->iconBase64;
2792 }
2793 public function setMaximumSdk($maximumSdk)
2794 {
2795 $this->maximumSdk = $maximumSdk;
2796 }
2797 public function getMaximumSdk()
2798 {
2799 return $this->maximumSdk;
2800 }
2801 public function setMinimumSdk($minimumSdk)
2802 {
2803 $this->minimumSdk = $minimumSdk;
2804 }
2805 public function getMinimumSdk()
2806 {
2807 return $this->minimumSdk;
2808 }
2809 public function setNativeCodes($nativeCodes)
2810 {
2811 $this->nativeCodes = $nativeCodes;
2812 }
2813 public function getNativeCodes()
2814 {
2815 return $this->nativeCodes;
2816 }
2817 public function setPackageName($packageName)
2818 {
2819 $this->packageName = $packageName;
2820 }
2821 public function getPackageName()
2822 {
2823 return $this->packageName;
2824 }
2825 public function setUsesFeatures($usesFeatures)
2826 {
2827 $this->usesFeatures = $usesFeatures;
2828 }
2829 public function getUsesFeatures()
2830 {
2831 return $this->usesFeatures;
2832 }
2833 public function setUsesPermissions($usesPermissions)
2834 {
2835 $this->usesPermissions = $usesPermissions;
2836 }
2837 public function getUsesPermissions()
2838 {
2839 return $this->usesPermissions;
2840 }
2841 public function setVersionCode($versionCode)
2842 {
2843 $this->versionCode = $versionCode;
2844 }
2845 public function getVersionCode()
2846 {
2847 return $this->versionCode;
2848 }
2849 public function setVersionName($versionName)
2850 {
2851 $this->versionName = $versionName;
2852 }
2853 public function getVersionName()
2854 {
2855 return $this->versionName;
2856 }
2857 }
2858
2859 class Google_Service_AndroidPublisher_ExternallyHostedApkUsesPermission extends Google_Model
2860 {
2861 protected $internal_gapi_mappings = array(
2862 );
2863 public $maxSdkVersion;
2864 public $name;
2865
2866
2867 public function setMaxSdkVersion($maxSdkVersion)
2868 {
2869 $this->maxSdkVersion = $maxSdkVersion;
2870 }
2871 public function getMaxSdkVersion()
2872 {
2873 return $this->maxSdkVersion;
2874 }
2875 public function setName($name)
2876 {
2877 $this->name = $name;
2878 }
2879 public function getName()
2880 {
2881 return $this->name;
2882 }
2883 }
2884
2885 class Google_Service_AndroidPublisher_Image extends Google_Model
2886 {
2887 protected $internal_gapi_mappings = array(
2888 );
2889 public $id;
2890 public $sha1;
2891 public $url;
2892
2893
2894 public function setId($id)
2895 {
2896 $this->id = $id;
2897 }
2898 public function getId()
2899 {
2900 return $this->id;
2901 }
2902 public function setSha1($sha1)
2903 {
2904 $this->sha1 = $sha1;
2905 }
2906 public function getSha1()
2907 {
2908 return $this->sha1;
2909 }
2910 public function setUrl($url)
2911 {
2912 $this->url = $url;
2913 }
2914 public function getUrl()
2915 {
2916 return $this->url;
2917 }
2918 }
2919
2920 class Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Google_Collection
2921 {
2922 protected $collection_key = 'deleted';
2923 protected $internal_gapi_mappings = array(
2924 );
2925 protected $deletedType = 'Google_Service_AndroidPublisher_Image';
2926 protected $deletedDataType = 'array';
2927
2928
2929 public function setDeleted($deleted)
2930 {
2931 $this->deleted = $deleted;
2932 }
2933 public function getDeleted()
2934 {
2935 return $this->deleted;
2936 }
2937 }
2938
2939 class Google_Service_AndroidPublisher_ImagesListResponse extends Google_Collection
2940 {
2941 protected $collection_key = 'images';
2942 protected $internal_gapi_mappings = array(
2943 );
2944 protected $imagesType = 'Google_Service_AndroidPublisher_Image';
2945 protected $imagesDataType = 'array';
2946
2947
2948 public function setImages($images)
2949 {
2950 $this->images = $images;
2951 }
2952 public function getImages()
2953 {
2954 return $this->images;
2955 }
2956 }
2957
2958 class Google_Service_AndroidPublisher_ImagesUploadResponse extends Google_Model
2959 {
2960 protected $internal_gapi_mappings = array(
2961 );
2962 protected $imageType = 'Google_Service_AndroidPublisher_Image';
2963 protected $imageDataType = '';
2964
2965
2966 public function setImage(Google_Service_AndroidPublisher_Image $image)
2967 {
2968 $this->image = $image;
2969 }
2970 public function getImage()
2971 {
2972 return $this->image;
2973 }
2974 }
2975
2976 class Google_Service_AndroidPublisher_InAppProduct extends Google_Model
2977 {
2978 protected $internal_gapi_mappings = array(
2979 );
2980 public $defaultLanguage;
2981 protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
2982 protected $defaultPriceDataType = '';
2983 protected $listingsType = 'Google_Service_AndroidPublisher_InAppProductListing';
2984 protected $listingsDataType = 'map';
2985 public $packageName;
2986 protected $pricesType = 'Google_Service_AndroidPublisher_Price';
2987 protected $pricesDataType = 'map';
2988 public $purchaseType;
2989 protected $seasonType = 'Google_Service_AndroidPublisher_Season';
2990 protected $seasonDataType = '';
2991 public $sku;
2992 public $status;
2993 public $subscriptionPeriod;
2994 public $trialPeriod;
2995
2996
2997 public function setDefaultLanguage($defaultLanguage)
2998 {
2999 $this->defaultLanguage = $defaultLanguage;
3000 }
3001 public function getDefaultLanguage()
3002 {
3003 return $this->defaultLanguage;
3004 }
3005 public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
3006 {
3007 $this->defaultPrice = $defaultPrice;
3008 }
3009 public function getDefaultPrice()
3010 {
3011 return $this->defaultPrice;
3012 }
3013 public function setListings($listings)
3014 {
3015 $this->listings = $listings;
3016 }
3017 public function getListings()
3018 {
3019 return $this->listings;
3020 }
3021 public function setPackageName($packageName)
3022 {
3023 $this->packageName = $packageName;
3024 }
3025 public function getPackageName()
3026 {
3027 return $this->packageName;
3028 }
3029 public function setPrices($prices)
3030 {
3031 $this->prices = $prices;
3032 }
3033 public function getPrices()
3034 {
3035 return $this->prices;
3036 }
3037 public function setPurchaseType($purchaseType)
3038 {
3039 $this->purchaseType = $purchaseType;
3040 }
3041 public function getPurchaseType()
3042 {
3043 return $this->purchaseType;
3044 }
3045 public function setSeason(Google_Service_AndroidPublisher_Season $season)
3046 {
3047 $this->season = $season;
3048 }
3049 public function getSeason()
3050 {
3051 return $this->season;
3052 }
3053 public function setSku($sku)
3054 {
3055 $this->sku = $sku;
3056 }
3057 public function getSku()
3058 {
3059 return $this->sku;
3060 }
3061 public function setStatus($status)
3062 {
3063 $this->status = $status;
3064 }
3065 public function getStatus()
3066 {
3067 return $this->status;
3068 }
3069 public function setSubscriptionPeriod($subscriptionPeriod)
3070 {
3071 $this->subscriptionPeriod = $subscriptionPeriod;
3072 }
3073 public function getSubscriptionPeriod()
3074 {
3075 return $this->subscriptionPeriod;
3076 }
3077 public function setTrialPeriod($trialPeriod)
3078 {
3079 $this->trialPeriod = $trialPeriod;
3080 }
3081 public function getTrialPeriod()
3082 {
3083 return $this->trialPeriod;
3084 }
3085 }
3086
3087 class Google_Service_AndroidPublisher_InAppProductListing extends Google_Model
3088 {
3089 protected $internal_gapi_mappings = array(
3090 );
3091 public $description;
3092 public $title;
3093
3094
3095 public function setDescription($description)
3096 {
3097 $this->description = $description;
3098 }
3099 public function getDescription()
3100 {
3101 return $this->description;
3102 }
3103 public function setTitle($title)
3104 {
3105 $this->title = $title;
3106 }
3107 public function getTitle()
3108 {
3109 return $this->title;
3110 }
3111 }
3112
3113 class Google_Service_AndroidPublisher_InappproductsBatchRequest extends Google_Collection
3114 {
3115 protected $collection_key = 'entrys';
3116 protected $internal_gapi_mappings = array(
3117 );
3118 protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
3119 protected $entrysDataType = 'array';
3120
3121
3122 public function setEntrys($entrys)
3123 {
3124 $this->entrys = $entrys;
3125 }
3126 public function getEntrys()
3127 {
3128 return $this->entrys;
3129 }
3130 }
3131
3132 class Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Google_Model
3133 {
3134 protected $internal_gapi_mappings = array(
3135 );
3136 public $batchId;
3137 protected $inappproductsinsertrequestType = 'Google_Service_AndroidPublisher_InappproductsInsertRequest';
3138 protected $inappproductsinsertrequestDataType = '';
3139 protected $inappproductsupdaterequestType = 'Google_Service_AndroidPublisher_InappproductsUpdateRequest';
3140 protected $inappproductsupdaterequestDataType = '';
3141 public $methodName;
3142
3143
3144 public function setBatchId($batchId)
3145 {
3146 $this->batchId = $batchId;
3147 }
3148 public function getBatchId()
3149 {
3150 return $this->batchId;
3151 }
3152 public function setInappproductsinsertrequest(Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
3153 {
3154 $this->inappproductsinsertrequest = $inappproductsinsertrequest;
3155 }
3156 public function getInappproductsinsertrequest()
3157 {
3158 return $this->inappproductsinsertrequest;
3159 }
3160 public function setInappproductsupdaterequest(Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
3161 {
3162 $this->inappproductsupdaterequest = $inappproductsupdaterequest;
3163 }
3164 public function getInappproductsupdaterequest()
3165 {
3166 return $this->inappproductsupdaterequest;
3167 }
3168 public function setMethodName($methodName)
3169 {
3170 $this->methodName = $methodName;
3171 }
3172 public function getMethodName()
3173 {
3174 return $this->methodName;
3175 }
3176 }
3177
3178 class Google_Service_AndroidPublisher_InappproductsBatchResponse extends Google_Collection
3179 {
3180 protected $collection_key = 'entrys';
3181 protected $internal_gapi_mappings = array(
3182 );
3183 protected $entrysType = 'Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
3184 protected $entrysDataType = 'array';
3185 public $kind;
3186
3187
3188 public function setEntrys($entrys)
3189 {
3190 $this->entrys = $entrys;
3191 }
3192 public function getEntrys()
3193 {
3194 return $this->entrys;
3195 }
3196 public function setKind($kind)
3197 {
3198 $this->kind = $kind;
3199 }
3200 public function getKind()
3201 {
3202 return $this->kind;
3203 }
3204 }
3205
3206 class Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Google_Model
3207 {
3208 protected $internal_gapi_mappings = array(
3209 );
3210 public $batchId;
3211 protected $inappproductsinsertresponseType = 'Google_Service_AndroidPublisher_InappproductsInsertResponse';
3212 protected $inappproductsinsertresponseDataType = '';
3213 protected $inappproductsupdateresponseType = 'Google_Service_AndroidPublisher_InappproductsUpdateResponse';
3214 protected $inappproductsupdateresponseDataType = '';
3215
3216
3217 public function setBatchId($batchId)
3218 {
3219 $this->batchId = $batchId;
3220 }
3221 public function getBatchId()
3222 {
3223 return $this->batchId;
3224 }
3225 public function setInappproductsinsertresponse(Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
3226 {
3227 $this->inappproductsinsertresponse = $inappproductsinsertresponse;
3228 }
3229 public function getInappproductsinsertresponse()
3230 {
3231 return $this->inappproductsinsertresponse;
3232 }
3233 public function setInappproductsupdateresponse(Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
3234 {
3235 $this->inappproductsupdateresponse = $inappproductsupdateresponse;
3236 }
3237 public function getInappproductsupdateresponse()
3238 {
3239 return $this->inappproductsupdateresponse;
3240 }
3241 }
3242
3243 class Google_Service_AndroidPublisher_InappproductsInsertRequest extends Google_Model
3244 {
3245 protected $internal_gapi_mappings = array(
3246 );
3247 protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3248 protected $inappproductDataType = '';
3249
3250
3251 public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3252 {
3253 $this->inappproduct = $inappproduct;
3254 }
3255 public function getInappproduct()
3256 {
3257 return $this->inappproduct;
3258 }
3259 }
3260
3261 class Google_Service_AndroidPublisher_InappproductsInsertResponse extends Google_Model
3262 {
3263 protected $internal_gapi_mappings = array(
3264 );
3265 protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3266 protected $inappproductDataType = '';
3267
3268
3269 public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3270 {
3271 $this->inappproduct = $inappproduct;
3272 }
3273 public function getInappproduct()
3274 {
3275 return $this->inappproduct;
3276 }
3277 }
3278
3279 class Google_Service_AndroidPublisher_InappproductsListResponse extends Google_Collection
3280 {
3281 protected $collection_key = 'inappproduct';
3282 protected $internal_gapi_mappings = array(
3283 );
3284 protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3285 protected $inappproductDataType = 'array';
3286 public $kind;
3287 protected $pageInfoType = 'Google_Service_AndroidPublisher_PageInfo';
3288 protected $pageInfoDataType = '';
3289 protected $tokenPaginationType = 'Google_Service_AndroidPublisher_TokenPagination';
3290 protected $tokenPaginationDataType = '';
3291
3292
3293 public function setInappproduct($inappproduct)
3294 {
3295 $this->inappproduct = $inappproduct;
3296 }
3297 public function getInappproduct()
3298 {
3299 return $this->inappproduct;
3300 }
3301 public function setKind($kind)
3302 {
3303 $this->kind = $kind;
3304 }
3305 public function getKind()
3306 {
3307 return $this->kind;
3308 }
3309 public function setPageInfo(Google_Service_AndroidPublisher_PageInfo $pageInfo)
3310 {
3311 $this->pageInfo = $pageInfo;
3312 }
3313 public function getPageInfo()
3314 {
3315 return $this->pageInfo;
3316 }
3317 public function setTokenPagination(Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
3318 {
3319 $this->tokenPagination = $tokenPagination;
3320 }
3321 public function getTokenPagination()
3322 {
3323 return $this->tokenPagination;
3324 }
3325 }
3326
3327 class Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Google_Model
3328 {
3329 protected $internal_gapi_mappings = array(
3330 );
3331 protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3332 protected $inappproductDataType = '';
3333
3334
3335 public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3336 {
3337 $this->inappproduct = $inappproduct;
3338 }
3339 public function getInappproduct()
3340 {
3341 return $this->inappproduct;
3342 }
3343 }
3344
3345 class Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Google_Model
3346 {
3347 protected $internal_gapi_mappings = array(
3348 );
3349 protected $inappproductType = 'Google_Service_AndroidPublisher_InAppProduct';
3350 protected $inappproductDataType = '';
3351
3352
3353 public function setInappproduct(Google_Service_AndroidPublisher_InAppProduct $inappproduct)
3354 {
3355 $this->inappproduct = $inappproduct;
3356 }
3357 public function getInappproduct()
3358 {
3359 return $this->inappproduct;
3360 }
3361 }
3362
3363 class Google_Service_AndroidPublisher_Listing extends Google_Model
3364 {
3365 protected $internal_gapi_mappings = array(
3366 );
3367 public $fullDescription;
3368 public $language;
3369 public $shortDescription;
3370 public $title;
3371 public $video;
3372
3373
3374 public function setFullDescription($fullDescription)
3375 {
3376 $this->fullDescription = $fullDescription;
3377 }
3378 public function getFullDescription()
3379 {
3380 return $this->fullDescription;
3381 }
3382 public function setLanguage($language)
3383 {
3384 $this->language = $language;
3385 }
3386 public function getLanguage()
3387 {
3388 return $this->language;
3389 }
3390 public function setShortDescription($shortDescription)
3391 {
3392 $this->shortDescription = $shortDescription;
3393 }
3394 public function getShortDescription()
3395 {
3396 return $this->shortDescription;
3397 }
3398 public function setTitle($title)
3399 {
3400 $this->title = $title;
3401 }
3402 public function getTitle()
3403 {
3404 return $this->title;
3405 }
3406 public function setVideo($video)
3407 {
3408 $this->video = $video;
3409 }
3410 public function getVideo()
3411 {
3412 return $this->video;
3413 }
3414 }
3415
3416 class Google_Service_AndroidPublisher_ListingsListResponse extends Google_Collection
3417 {
3418 protected $collection_key = 'listings';
3419 protected $internal_gapi_mappings = array(
3420 );
3421 public $kind;
3422 protected $listingsType = 'Google_Service_AndroidPublisher_Listing';
3423 protected $listingsDataType = 'array';
3424
3425
3426 public function setKind($kind)
3427 {
3428 $this->kind = $kind;
3429 }
3430 public function getKind()
3431 {
3432 return $this->kind;
3433 }
3434 public function setListings($listings)
3435 {
3436 $this->listings = $listings;
3437 }
3438 public function getListings()
3439 {
3440 return $this->listings;
3441 }
3442 }
3443
3444 class Google_Service_AndroidPublisher_MonthDay extends Google_Model
3445 {
3446 protected $internal_gapi_mappings = array(
3447 );
3448 public $day;
3449 public $month;
3450
3451
3452 public function setDay($day)
3453 {
3454 $this->day = $day;
3455 }
3456 public function getDay()
3457 {
3458 return $this->day;
3459 }
3460 public function setMonth($month)
3461 {
3462 $this->month = $month;
3463 }
3464 public function getMonth()
3465 {
3466 return $this->month;
3467 }
3468 }
3469
3470 class Google_Service_AndroidPublisher_PageInfo extends Google_Model
3471 {
3472 protected $internal_gapi_mappings = array(
3473 );
3474 public $resultPerPage;
3475 public $startIndex;
3476 public $totalResults;
3477
3478
3479 public function setResultPerPage($resultPerPage)
3480 {
3481 $this->resultPerPage = $resultPerPage;
3482 }
3483 public function getResultPerPage()
3484 {
3485 return $this->resultPerPage;
3486 }
3487 public function setStartIndex($startIndex)
3488 {
3489 $this->startIndex = $startIndex;
3490 }
3491 public function getStartIndex()
3492 {
3493 return $this->startIndex;
3494 }
3495 public function setTotalResults($totalResults)
3496 {
3497 $this->totalResults = $totalResults;
3498 }
3499 public function getTotalResults()
3500 {
3501 return $this->totalResults;
3502 }
3503 }
3504
3505 class Google_Service_AndroidPublisher_Price extends Google_Model
3506 {
3507 protected $internal_gapi_mappings = array(
3508 );
3509 public $currency;
3510 public $priceMicros;
3511
3512
3513 public function setCurrency($currency)
3514 {
3515 $this->currency = $currency;
3516 }
3517 public function getCurrency()
3518 {
3519 return $this->currency;
3520 }
3521 public function setPriceMicros($priceMicros)
3522 {
3523 $this->priceMicros = $priceMicros;
3524 }
3525 public function getPriceMicros()
3526 {
3527 return $this->priceMicros;
3528 }
3529 }
3530
3531 class Google_Service_AndroidPublisher_ProductPurchase extends Google_Model
3532 {
3533 protected $internal_gapi_mappings = array(
3534 );
3535 public $consumptionState;
3536 public $developerPayload;
3537 public $kind;
3538 public $purchaseState;
3539 public $purchaseTimeMillis;
3540
3541
3542 public function setConsumptionState($consumptionState)
3543 {
3544 $this->consumptionState = $consumptionState;
3545 }
3546 public function getConsumptionState()
3547 {
3548 return $this->consumptionState;
3549 }
3550 public function setDeveloperPayload($developerPayload)
3551 {
3552 $this->developerPayload = $developerPayload;
3553 }
3554 public function getDeveloperPayload()
3555 {
3556 return $this->developerPayload;
3557 }
3558 public function setKind($kind)
3559 {
3560 $this->kind = $kind;
3561 }
3562 public function getKind()
3563 {
3564 return $this->kind;
3565 }
3566 public function setPurchaseState($purchaseState)
3567 {
3568 $this->purchaseState = $purchaseState;
3569 }
3570 public function getPurchaseState()
3571 {
3572 return $this->purchaseState;
3573 }
3574 public function setPurchaseTimeMillis($purchaseTimeMillis)
3575 {
3576 $this->purchaseTimeMillis = $purchaseTimeMillis;
3577 }
3578 public function getPurchaseTimeMillis()
3579 {
3580 return $this->purchaseTimeMillis;
3581 }
3582 }
3583
3584 class Google_Service_AndroidPublisher_Prorate extends Google_Model
3585 {
3586 protected $internal_gapi_mappings = array(
3587 );
3588 protected $defaultPriceType = 'Google_Service_AndroidPublisher_Price';
3589 protected $defaultPriceDataType = '';
3590 protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
3591 protected $startDataType = '';
3592
3593
3594 public function setDefaultPrice(Google_Service_AndroidPublisher_Price $defaultPrice)
3595 {
3596 $this->defaultPrice = $defaultPrice;
3597 }
3598 public function getDefaultPrice()
3599 {
3600 return $this->defaultPrice;
3601 }
3602 public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
3603 {
3604 $this->start = $start;
3605 }
3606 public function getStart()
3607 {
3608 return $this->start;
3609 }
3610 }
3611
3612 class Google_Service_AndroidPublisher_Season extends Google_Collection
3613 {
3614 protected $collection_key = 'prorations';
3615 protected $internal_gapi_mappings = array(
3616 );
3617 protected $endType = 'Google_Service_AndroidPublisher_MonthDay';
3618 protected $endDataType = '';
3619 protected $prorationsType = 'Google_Service_AndroidPublisher_Prorate';
3620 protected $prorationsDataType = 'array';
3621 protected $startType = 'Google_Service_AndroidPublisher_MonthDay';
3622 protected $startDataType = '';
3623
3624
3625 public function setEnd(Google_Service_AndroidPublisher_MonthDay $end)
3626 {
3627 $this->end = $end;
3628 }
3629 public function getEnd()
3630 {
3631 return $this->end;
3632 }
3633 public function setProrations($prorations)
3634 {
3635 $this->prorations = $prorations;
3636 }
3637 public function getProrations()
3638 {
3639 return $this->prorations;
3640 }
3641 public function setStart(Google_Service_AndroidPublisher_MonthDay $start)
3642 {
3643 $this->start = $start;
3644 }
3645 public function getStart()
3646 {
3647 return $this->start;
3648 }
3649 }
3650
3651 class Google_Service_AndroidPublisher_SubscriptionDeferralInfo extends Google_Model
3652 {
3653 protected $internal_gapi_mappings = array(
3654 );
3655 public $desiredExpiryTimeMillis;
3656 public $expectedExpiryTimeMillis;
3657
3658
3659 public function setDesiredExpiryTimeMillis($desiredExpiryTimeMillis)
3660 {
3661 $this->desiredExpiryTimeMillis = $desiredExpiryTimeMillis;
3662 }
3663 public function getDesiredExpiryTimeMillis()
3664 {
3665 return $this->desiredExpiryTimeMillis;
3666 }
3667 public function setExpectedExpiryTimeMillis($expectedExpiryTimeMillis)
3668 {
3669 $this->expectedExpiryTimeMillis = $expectedExpiryTimeMillis;
3670 }
3671 public function getExpectedExpiryTimeMillis()
3672 {
3673 return $this->expectedExpiryTimeMillis;
3674 }
3675 }
3676
3677 class Google_Service_AndroidPublisher_SubscriptionPurchase extends Google_Model
3678 {
3679 protected $internal_gapi_mappings = array(
3680 );
3681 public $autoRenewing;
3682 public $expiryTimeMillis;
3683 public $kind;
3684 public $startTimeMillis;
3685
3686
3687 public function setAutoRenewing($autoRenewing)
3688 {
3689 $this->autoRenewing = $autoRenewing;
3690 }
3691 public function getAutoRenewing()
3692 {
3693 return $this->autoRenewing;
3694 }
3695 public function setExpiryTimeMillis($expiryTimeMillis)
3696 {
3697 $this->expiryTimeMillis = $expiryTimeMillis;
3698 }
3699 public function getExpiryTimeMillis()
3700 {
3701 return $this->expiryTimeMillis;
3702 }
3703 public function setKind($kind)
3704 {
3705 $this->kind = $kind;
3706 }
3707 public function getKind()
3708 {
3709 return $this->kind;
3710 }
3711 public function setStartTimeMillis($startTimeMillis)
3712 {
3713 $this->startTimeMillis = $startTimeMillis;
3714 }
3715 public function getStartTimeMillis()
3716 {
3717 return $this->startTimeMillis;
3718 }
3719 }
3720
3721 class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferRequest extends Google_Model
3722 {
3723 protected $internal_gapi_mappings = array(
3724 );
3725 protected $deferralInfoType = 'Google_Service_AndroidPublisher_SubscriptionDeferralInfo';
3726 protected $deferralInfoDataType = '';
3727
3728
3729 public function setDeferralInfo(Google_Service_AndroidPublisher_SubscriptionDeferralInfo $deferralInfo)
3730 {
3731 $this->deferralInfo = $deferralInfo;
3732 }
3733 public function getDeferralInfo()
3734 {
3735 return $this->deferralInfo;
3736 }
3737 }
3738
3739 class Google_Service_AndroidPublisher_SubscriptionPurchasesDeferResponse extends Google_Model
3740 {
3741 protected $internal_gapi_mappings = array(
3742 );
3743 public $newExpiryTimeMillis;
3744
3745
3746 public function setNewExpiryTimeMillis($newExpiryTimeMillis)
3747 {
3748 $this->newExpiryTimeMillis = $newExpiryTimeMillis;
3749 }
3750 public function getNewExpiryTimeMillis()
3751 {
3752 return $this->newExpiryTimeMillis;
3753 }
3754 }
3755
3756 class Google_Service_AndroidPublisher_Testers extends Google_Collection
3757 {
3758 protected $collection_key = 'googlePlusCommunities';
3759 protected $internal_gapi_mappings = array(
3760 );
3761 public $googleGroups;
3762 public $googlePlusCommunities;
3763
3764
3765 public function setGoogleGroups($googleGroups)
3766 {
3767 $this->googleGroups = $googleGroups;
3768 }
3769 public function getGoogleGroups()
3770 {
3771 return $this->googleGroups;
3772 }
3773 public function setGooglePlusCommunities($googlePlusCommunities)
3774 {
3775 $this->googlePlusCommunities = $googlePlusCommunities;
3776 }
3777 public function getGooglePlusCommunities()
3778 {
3779 return $this->googlePlusCommunities;
3780 }
3781 }
3782
3783 class Google_Service_AndroidPublisher_TokenPagination extends Google_Model
3784 {
3785 protected $internal_gapi_mappings = array(
3786 );
3787 public $nextPageToken;
3788 public $previousPageToken;
3789
3790
3791 public function setNextPageToken($nextPageToken)
3792 {
3793 $this->nextPageToken = $nextPageToken;
3794 }
3795 public function getNextPageToken()
3796 {
3797 return $this->nextPageToken;
3798 }
3799 public function setPreviousPageToken($previousPageToken)
3800 {
3801 $this->previousPageToken = $previousPageToken;
3802 }
3803 public function getPreviousPageToken()
3804 {
3805 return $this->previousPageToken;
3806 }
3807 }
3808
3809 class Google_Service_AndroidPublisher_Track extends Google_Collection
3810 {
3811 protected $collection_key = 'versionCodes';
3812 protected $internal_gapi_mappings = array(
3813 );
3814 public $track;
3815 public $userFraction;
3816 public $versionCodes;
3817
3818
3819 public function setTrack($track)
3820 {
3821 $this->track = $track;
3822 }
3823 public function getTrack()
3824 {
3825 return $this->track;
3826 }
3827 public function setUserFraction($userFraction)
3828 {
3829 $this->userFraction = $userFraction;
3830 }
3831 public function getUserFraction()
3832 {
3833 return $this->userFraction;
3834 }
3835 public function setVersionCodes($versionCodes)
3836 {
3837 $this->versionCodes = $versionCodes;
3838 }
3839 public function getVersionCodes()
3840 {
3841 return $this->versionCodes;
3842 }
3843 }
3844
3845 class Google_Service_AndroidPublisher_TracksListResponse extends Google_Collection
3846 {
3847 protected $collection_key = 'tracks';
3848 protected $internal_gapi_mappings = array(
3849 );
3850 public $kind;
3851 protected $tracksType = 'Google_Service_AndroidPublisher_Track';
3852 protected $tracksDataType = 'array';
3853
3854
3855 public function setKind($kind)
3856 {
3857 $this->kind = $kind;
3858 }
3859 public function getKind()
3860 {
3861 return $this->kind;
3862 }
3863 public function setTracks($tracks)
3864 {
3865 $this->tracks = $tracks;
3866 }
3867 public function getTracks()
3868 {
3869 return $this->tracks;
3870 }
3871 }
3872