PluginProbe
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) / 1.3.1
Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) v1.3.1
9.1.2 9.1.1 9.1.0 9.0.2 9.0.1 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.4 1.0.5 1.0.6 1.0.7 1.1.0 1.1.1 1.2.0 1.2.1 1.2.2 1.2.3 1.2.4 1.2.5 1.3.0 1.3.1 1.3.2 All 153 releases
wp-analytify / lib / Google / Service / AndroidPublisher.php

AndroidPublisher.php in Analytify – Google Analytics Dashboard For WordPress (GA4 analytics tracking) 1.3.1, at lib/Google/Service/AndroidPublisher.php

3,214 lines 104.0 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /*
3 * Copyright 2010 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18 /**
19 * Service definition for AndroidPublisher (v2).
20 *
21 * <p>
22 * Lets Android application developers access their Google Play accounts.
23 * </p>
24 *
25 * <p>
26 * For more information about this service, see the API
27 * <a href="https://developers.google.com/android-publisher" target="_blank">Documentation</a>
28 * </p>
29 *
30 * @author Google, Inc.
31 */
32 class Analytify_Google_Service_AndroidPublisher extends Analytify_Google_Service
33 {
34 /** View and manage your Google Play Android Developer account. */
35 const ANDROIDPUBLISHER = "https://www.googleapis.com/auth/androidpublisher";
36
37 public $edits;
38 public $edits_apklistings;
39 public $edits_apks;
40 public $edits_details;
41 public $edits_expansionfiles;
42 public $edits_images;
43 public $edits_listings;
44 public $edits_testers;
45 public $edits_tracks;
46 public $inappproducts;
47 public $purchases_products;
48 public $purchases_subscriptions;
49
50
51 /**
52 * Constructs the internal representation of the AndroidPublisher service.
53 *
54 * @param Analytify_Google_Client $client
55 */
56 public function __construct(Analytify_Google_Client $client)
57 {
58 parent::__construct($client);
59 $this->servicePath = 'androidpublisher/v2/applications/';
60 $this->version = 'v2';
61 $this->serviceName = 'androidpublisher';
62
63 $this->edits = new Analytify_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 ),
125 )
126 )
127 );
128 $this->edits_apklistings = new Analytify_Google_Service_AndroidPublisher_EditsApklistings_Resource(
129 $this,
130 $this->serviceName,
131 'apklistings',
132 array(
133 'methods' => array(
134 'delete' => array(
135 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
136 'httpMethod' => 'DELETE',
137 'parameters' => array(
138 'packageName' => array(
139 'location' => 'path',
140 'type' => 'string',
141 'required' => true,
142 ),
143 'editId' => array(
144 'location' => 'path',
145 'type' => 'string',
146 'required' => true,
147 ),
148 'apkVersionCode' => array(
149 'location' => 'path',
150 'type' => 'integer',
151 'required' => true,
152 ),
153 'language' => array(
154 'location' => 'path',
155 'type' => 'string',
156 'required' => true,
157 ),
158 ),
159 ),'deleteall' => array(
160 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
161 'httpMethod' => 'DELETE',
162 'parameters' => array(
163 'packageName' => array(
164 'location' => 'path',
165 'type' => 'string',
166 'required' => true,
167 ),
168 'editId' => array(
169 'location' => 'path',
170 'type' => 'string',
171 'required' => true,
172 ),
173 'apkVersionCode' => array(
174 'location' => 'path',
175 'type' => 'integer',
176 'required' => true,
177 ),
178 ),
179 ),'get' => array(
180 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
181 'httpMethod' => 'GET',
182 'parameters' => array(
183 'packageName' => array(
184 'location' => 'path',
185 'type' => 'string',
186 'required' => true,
187 ),
188 'editId' => array(
189 'location' => 'path',
190 'type' => 'string',
191 'required' => true,
192 ),
193 'apkVersionCode' => array(
194 'location' => 'path',
195 'type' => 'integer',
196 'required' => true,
197 ),
198 'language' => array(
199 'location' => 'path',
200 'type' => 'string',
201 'required' => true,
202 ),
203 ),
204 ),'list' => array(
205 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings',
206 'httpMethod' => 'GET',
207 'parameters' => array(
208 'packageName' => array(
209 'location' => 'path',
210 'type' => 'string',
211 'required' => true,
212 ),
213 'editId' => array(
214 'location' => 'path',
215 'type' => 'string',
216 'required' => true,
217 ),
218 'apkVersionCode' => array(
219 'location' => 'path',
220 'type' => 'integer',
221 'required' => true,
222 ),
223 ),
224 ),'patch' => array(
225 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
226 'httpMethod' => 'PATCH',
227 'parameters' => array(
228 'packageName' => array(
229 'location' => 'path',
230 'type' => 'string',
231 'required' => true,
232 ),
233 'editId' => array(
234 'location' => 'path',
235 'type' => 'string',
236 'required' => true,
237 ),
238 'apkVersionCode' => array(
239 'location' => 'path',
240 'type' => 'integer',
241 'required' => true,
242 ),
243 'language' => array(
244 'location' => 'path',
245 'type' => 'string',
246 'required' => true,
247 ),
248 ),
249 ),'update' => array(
250 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/listings/{language}',
251 'httpMethod' => 'PUT',
252 'parameters' => array(
253 'packageName' => array(
254 'location' => 'path',
255 'type' => 'string',
256 'required' => true,
257 ),
258 'editId' => array(
259 'location' => 'path',
260 'type' => 'string',
261 'required' => true,
262 ),
263 'apkVersionCode' => array(
264 'location' => 'path',
265 'type' => 'integer',
266 'required' => true,
267 ),
268 'language' => array(
269 'location' => 'path',
270 'type' => 'string',
271 'required' => true,
272 ),
273 ),
274 ),
275 )
276 )
277 );
278 $this->edits_apks = new Analytify_Google_Service_AndroidPublisher_EditsApks_Resource(
279 $this,
280 $this->serviceName,
281 'apks',
282 array(
283 'methods' => array(
284 'list' => array(
285 'path' => '{packageName}/edits/{editId}/apks',
286 'httpMethod' => 'GET',
287 'parameters' => array(
288 'packageName' => array(
289 'location' => 'path',
290 'type' => 'string',
291 'required' => true,
292 ),
293 'editId' => array(
294 'location' => 'path',
295 'type' => 'string',
296 'required' => true,
297 ),
298 ),
299 ),'upload' => array(
300 'path' => '{packageName}/edits/{editId}/apks',
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 ),
315 )
316 )
317 );
318 $this->edits_details = new Analytify_Google_Service_AndroidPublisher_EditsDetails_Resource(
319 $this,
320 $this->serviceName,
321 'details',
322 array(
323 'methods' => array(
324 'get' => array(
325 'path' => '{packageName}/edits/{editId}/details',
326 'httpMethod' => 'GET',
327 'parameters' => array(
328 'packageName' => array(
329 'location' => 'path',
330 'type' => 'string',
331 'required' => true,
332 ),
333 'editId' => array(
334 'location' => 'path',
335 'type' => 'string',
336 'required' => true,
337 ),
338 ),
339 ),'patch' => array(
340 'path' => '{packageName}/edits/{editId}/details',
341 'httpMethod' => 'PATCH',
342 'parameters' => array(
343 'packageName' => array(
344 'location' => 'path',
345 'type' => 'string',
346 'required' => true,
347 ),
348 'editId' => array(
349 'location' => 'path',
350 'type' => 'string',
351 'required' => true,
352 ),
353 ),
354 ),'update' => array(
355 'path' => '{packageName}/edits/{editId}/details',
356 'httpMethod' => 'PUT',
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 ),
370 )
371 )
372 );
373 $this->edits_expansionfiles = new Analytify_Google_Service_AndroidPublisher_EditsExpansionfiles_Resource(
374 $this,
375 $this->serviceName,
376 'expansionfiles',
377 array(
378 'methods' => array(
379 'get' => array(
380 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
381 'httpMethod' => 'GET',
382 'parameters' => array(
383 'packageName' => array(
384 'location' => 'path',
385 'type' => 'string',
386 'required' => true,
387 ),
388 'editId' => array(
389 'location' => 'path',
390 'type' => 'string',
391 'required' => true,
392 ),
393 'apkVersionCode' => array(
394 'location' => 'path',
395 'type' => 'integer',
396 'required' => true,
397 ),
398 'expansionFileType' => array(
399 'location' => 'path',
400 'type' => 'string',
401 'required' => true,
402 ),
403 ),
404 ),'patch' => array(
405 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
406 'httpMethod' => 'PATCH',
407 'parameters' => array(
408 'packageName' => array(
409 'location' => 'path',
410 'type' => 'string',
411 'required' => true,
412 ),
413 'editId' => array(
414 'location' => 'path',
415 'type' => 'string',
416 'required' => true,
417 ),
418 'apkVersionCode' => array(
419 'location' => 'path',
420 'type' => 'integer',
421 'required' => true,
422 ),
423 'expansionFileType' => array(
424 'location' => 'path',
425 'type' => 'string',
426 'required' => true,
427 ),
428 ),
429 ),'update' => array(
430 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
431 'httpMethod' => 'PUT',
432 'parameters' => array(
433 'packageName' => array(
434 'location' => 'path',
435 'type' => 'string',
436 'required' => true,
437 ),
438 'editId' => array(
439 'location' => 'path',
440 'type' => 'string',
441 'required' => true,
442 ),
443 'apkVersionCode' => array(
444 'location' => 'path',
445 'type' => 'integer',
446 'required' => true,
447 ),
448 'expansionFileType' => array(
449 'location' => 'path',
450 'type' => 'string',
451 'required' => true,
452 ),
453 ),
454 ),'upload' => array(
455 'path' => '{packageName}/edits/{editId}/apks/{apkVersionCode}/expansionFiles/{expansionFileType}',
456 'httpMethod' => 'POST',
457 'parameters' => array(
458 'packageName' => array(
459 'location' => 'path',
460 'type' => 'string',
461 'required' => true,
462 ),
463 'editId' => array(
464 'location' => 'path',
465 'type' => 'string',
466 'required' => true,
467 ),
468 'apkVersionCode' => array(
469 'location' => 'path',
470 'type' => 'integer',
471 'required' => true,
472 ),
473 'expansionFileType' => array(
474 'location' => 'path',
475 'type' => 'string',
476 'required' => true,
477 ),
478 ),
479 ),
480 )
481 )
482 );
483 $this->edits_images = new Analytify_Google_Service_AndroidPublisher_EditsImages_Resource(
484 $this,
485 $this->serviceName,
486 'images',
487 array(
488 'methods' => array(
489 'delete' => array(
490 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}/{imageId}',
491 'httpMethod' => 'DELETE',
492 'parameters' => array(
493 'packageName' => array(
494 'location' => 'path',
495 'type' => 'string',
496 'required' => true,
497 ),
498 'editId' => array(
499 'location' => 'path',
500 'type' => 'string',
501 'required' => true,
502 ),
503 'language' => array(
504 'location' => 'path',
505 'type' => 'string',
506 'required' => true,
507 ),
508 'imageType' => array(
509 'location' => 'path',
510 'type' => 'string',
511 'required' => true,
512 ),
513 'imageId' => array(
514 'location' => 'path',
515 'type' => 'string',
516 'required' => true,
517 ),
518 ),
519 ),'deleteall' => array(
520 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
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 ),
544 ),'list' => array(
545 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
546 'httpMethod' => 'GET',
547 'parameters' => array(
548 'packageName' => array(
549 'location' => 'path',
550 'type' => 'string',
551 'required' => true,
552 ),
553 'editId' => array(
554 'location' => 'path',
555 'type' => 'string',
556 'required' => true,
557 ),
558 'language' => array(
559 'location' => 'path',
560 'type' => 'string',
561 'required' => true,
562 ),
563 'imageType' => array(
564 'location' => 'path',
565 'type' => 'string',
566 'required' => true,
567 ),
568 ),
569 ),'upload' => array(
570 'path' => '{packageName}/edits/{editId}/listings/{language}/{imageType}',
571 'httpMethod' => 'POST',
572 'parameters' => array(
573 'packageName' => array(
574 'location' => 'path',
575 'type' => 'string',
576 'required' => true,
577 ),
578 'editId' => array(
579 'location' => 'path',
580 'type' => 'string',
581 'required' => true,
582 ),
583 'language' => array(
584 'location' => 'path',
585 'type' => 'string',
586 'required' => true,
587 ),
588 'imageType' => array(
589 'location' => 'path',
590 'type' => 'string',
591 'required' => true,
592 ),
593 ),
594 ),
595 )
596 )
597 );
598 $this->edits_listings = new Analytify_Google_Service_AndroidPublisher_EditsListings_Resource(
599 $this,
600 $this->serviceName,
601 'listings',
602 array(
603 'methods' => array(
604 'delete' => array(
605 'path' => '{packageName}/edits/{editId}/listings/{language}',
606 'httpMethod' => 'DELETE',
607 'parameters' => array(
608 'packageName' => array(
609 'location' => 'path',
610 'type' => 'string',
611 'required' => true,
612 ),
613 'editId' => array(
614 'location' => 'path',
615 'type' => 'string',
616 'required' => true,
617 ),
618 'language' => array(
619 'location' => 'path',
620 'type' => 'string',
621 'required' => true,
622 ),
623 ),
624 ),'deleteall' => array(
625 'path' => '{packageName}/edits/{editId}/listings',
626 'httpMethod' => 'DELETE',
627 'parameters' => array(
628 'packageName' => array(
629 'location' => 'path',
630 'type' => 'string',
631 'required' => true,
632 ),
633 'editId' => array(
634 'location' => 'path',
635 'type' => 'string',
636 'required' => true,
637 ),
638 ),
639 ),'get' => array(
640 'path' => '{packageName}/edits/{editId}/listings/{language}',
641 'httpMethod' => 'GET',
642 'parameters' => array(
643 'packageName' => array(
644 'location' => 'path',
645 'type' => 'string',
646 'required' => true,
647 ),
648 'editId' => array(
649 'location' => 'path',
650 'type' => 'string',
651 'required' => true,
652 ),
653 'language' => array(
654 'location' => 'path',
655 'type' => 'string',
656 'required' => true,
657 ),
658 ),
659 ),'list' => array(
660 'path' => '{packageName}/edits/{editId}/listings',
661 'httpMethod' => 'GET',
662 'parameters' => array(
663 'packageName' => array(
664 'location' => 'path',
665 'type' => 'string',
666 'required' => true,
667 ),
668 'editId' => array(
669 'location' => 'path',
670 'type' => 'string',
671 'required' => true,
672 ),
673 ),
674 ),'patch' => array(
675 'path' => '{packageName}/edits/{editId}/listings/{language}',
676 'httpMethod' => 'PATCH',
677 'parameters' => array(
678 'packageName' => array(
679 'location' => 'path',
680 'type' => 'string',
681 'required' => true,
682 ),
683 'editId' => array(
684 'location' => 'path',
685 'type' => 'string',
686 'required' => true,
687 ),
688 'language' => array(
689 'location' => 'path',
690 'type' => 'string',
691 'required' => true,
692 ),
693 ),
694 ),'update' => array(
695 'path' => '{packageName}/edits/{editId}/listings/{language}',
696 'httpMethod' => 'PUT',
697 'parameters' => array(
698 'packageName' => array(
699 'location' => 'path',
700 'type' => 'string',
701 'required' => true,
702 ),
703 'editId' => array(
704 'location' => 'path',
705 'type' => 'string',
706 'required' => true,
707 ),
708 'language' => array(
709 'location' => 'path',
710 'type' => 'string',
711 'required' => true,
712 ),
713 ),
714 ),
715 )
716 )
717 );
718 $this->edits_testers = new Analytify_Google_Service_AndroidPublisher_EditsTesters_Resource(
719 $this,
720 $this->serviceName,
721 'testers',
722 array(
723 'methods' => array(
724 'get' => array(
725 'path' => '{packageName}/edits/{editId}/testers/{track}',
726 'httpMethod' => 'GET',
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 'track' => array(
739 'location' => 'path',
740 'type' => 'string',
741 'required' => true,
742 ),
743 ),
744 ),'patch' => array(
745 'path' => '{packageName}/edits/{editId}/testers/{track}',
746 'httpMethod' => 'PATCH',
747 'parameters' => array(
748 'packageName' => array(
749 'location' => 'path',
750 'type' => 'string',
751 'required' => true,
752 ),
753 'editId' => array(
754 'location' => 'path',
755 'type' => 'string',
756 'required' => true,
757 ),
758 'track' => array(
759 'location' => 'path',
760 'type' => 'string',
761 'required' => true,
762 ),
763 ),
764 ),'update' => array(
765 'path' => '{packageName}/edits/{editId}/testers/{track}',
766 'httpMethod' => 'PUT',
767 'parameters' => array(
768 'packageName' => array(
769 'location' => 'path',
770 'type' => 'string',
771 'required' => true,
772 ),
773 'editId' => array(
774 'location' => 'path',
775 'type' => 'string',
776 'required' => true,
777 ),
778 'track' => array(
779 'location' => 'path',
780 'type' => 'string',
781 'required' => true,
782 ),
783 ),
784 ),
785 )
786 )
787 );
788 $this->edits_tracks = new Analytify_Google_Service_AndroidPublisher_EditsTracks_Resource(
789 $this,
790 $this->serviceName,
791 'tracks',
792 array(
793 'methods' => array(
794 'get' => array(
795 'path' => '{packageName}/edits/{editId}/tracks/{track}',
796 'httpMethod' => 'GET',
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 ),'list' => array(
815 'path' => '{packageName}/edits/{editId}/tracks',
816 'httpMethod' => 'GET',
817 'parameters' => array(
818 'packageName' => array(
819 'location' => 'path',
820 'type' => 'string',
821 'required' => true,
822 ),
823 'editId' => array(
824 'location' => 'path',
825 'type' => 'string',
826 'required' => true,
827 ),
828 ),
829 ),'patch' => array(
830 'path' => '{packageName}/edits/{editId}/tracks/{track}',
831 'httpMethod' => 'PATCH',
832 'parameters' => array(
833 'packageName' => array(
834 'location' => 'path',
835 'type' => 'string',
836 'required' => true,
837 ),
838 'editId' => array(
839 'location' => 'path',
840 'type' => 'string',
841 'required' => true,
842 ),
843 'track' => array(
844 'location' => 'path',
845 'type' => 'string',
846 'required' => true,
847 ),
848 ),
849 ),'update' => array(
850 'path' => '{packageName}/edits/{editId}/tracks/{track}',
851 'httpMethod' => 'PUT',
852 'parameters' => array(
853 'packageName' => array(
854 'location' => 'path',
855 'type' => 'string',
856 'required' => true,
857 ),
858 'editId' => array(
859 'location' => 'path',
860 'type' => 'string',
861 'required' => true,
862 ),
863 'track' => array(
864 'location' => 'path',
865 'type' => 'string',
866 'required' => true,
867 ),
868 ),
869 ),
870 )
871 )
872 );
873 $this->inappproducts = new Analytify_Google_Service_AndroidPublisher_Inappproducts_Resource(
874 $this,
875 $this->serviceName,
876 'inappproducts',
877 array(
878 'methods' => array(
879 'batch' => array(
880 'path' => 'inappproducts/batch',
881 'httpMethod' => 'POST',
882 'parameters' => array(),
883 ),'delete' => array(
884 'path' => '{packageName}/inappproducts/{sku}',
885 'httpMethod' => 'DELETE',
886 'parameters' => array(
887 'packageName' => array(
888 'location' => 'path',
889 'type' => 'string',
890 'required' => true,
891 ),
892 'sku' => array(
893 'location' => 'path',
894 'type' => 'string',
895 'required' => true,
896 ),
897 ),
898 ),'get' => array(
899 'path' => '{packageName}/inappproducts/{sku}',
900 'httpMethod' => 'GET',
901 'parameters' => array(
902 'packageName' => array(
903 'location' => 'path',
904 'type' => 'string',
905 'required' => true,
906 ),
907 'sku' => array(
908 'location' => 'path',
909 'type' => 'string',
910 'required' => true,
911 ),
912 ),
913 ),'insert' => array(
914 'path' => '{packageName}/inappproducts',
915 'httpMethod' => 'POST',
916 'parameters' => array(
917 'packageName' => array(
918 'location' => 'path',
919 'type' => 'string',
920 'required' => true,
921 ),
922 'autoConvertMissingPrices' => array(
923 'location' => 'query',
924 'type' => 'boolean',
925 ),
926 ),
927 ),'list' => array(
928 'path' => '{packageName}/inappproducts',
929 'httpMethod' => 'GET',
930 'parameters' => array(
931 'packageName' => array(
932 'location' => 'path',
933 'type' => 'string',
934 'required' => true,
935 ),
936 'token' => array(
937 'location' => 'query',
938 'type' => 'string',
939 ),
940 'startIndex' => array(
941 'location' => 'query',
942 'type' => 'integer',
943 ),
944 'maxResults' => array(
945 'location' => 'query',
946 'type' => 'integer',
947 ),
948 ),
949 ),'patch' => array(
950 'path' => '{packageName}/inappproducts/{sku}',
951 'httpMethod' => 'PATCH',
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 'autoConvertMissingPrices' => array(
964 'location' => 'query',
965 'type' => 'boolean',
966 ),
967 ),
968 ),'update' => array(
969 'path' => '{packageName}/inappproducts/{sku}',
970 'httpMethod' => 'PUT',
971 'parameters' => array(
972 'packageName' => array(
973 'location' => 'path',
974 'type' => 'string',
975 'required' => true,
976 ),
977 'sku' => array(
978 'location' => 'path',
979 'type' => 'string',
980 'required' => true,
981 ),
982 'autoConvertMissingPrices' => array(
983 'location' => 'query',
984 'type' => 'boolean',
985 ),
986 ),
987 ),
988 )
989 )
990 );
991 $this->purchases_products = new Analytify_Google_Service_AndroidPublisher_PurchasesProducts_Resource(
992 $this,
993 $this->serviceName,
994 'products',
995 array(
996 'methods' => array(
997 'get' => array(
998 'path' => '{packageName}/purchases/products/{productId}/tokens/{token}',
999 'httpMethod' => 'GET',
1000 'parameters' => array(
1001 'packageName' => array(
1002 'location' => 'path',
1003 'type' => 'string',
1004 'required' => true,
1005 ),
1006 'productId' => array(
1007 'location' => 'path',
1008 'type' => 'string',
1009 'required' => true,
1010 ),
1011 'token' => array(
1012 'location' => 'path',
1013 'type' => 'string',
1014 'required' => true,
1015 ),
1016 ),
1017 ),
1018 )
1019 )
1020 );
1021 $this->purchases_subscriptions = new Analytify_Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource(
1022 $this,
1023 $this->serviceName,
1024 'subscriptions',
1025 array(
1026 'methods' => array(
1027 'cancel' => array(
1028 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:cancel',
1029 'httpMethod' => 'POST',
1030 'parameters' => array(
1031 'packageName' => array(
1032 'location' => 'path',
1033 'type' => 'string',
1034 'required' => true,
1035 ),
1036 'subscriptionId' => array(
1037 'location' => 'path',
1038 'type' => 'string',
1039 'required' => true,
1040 ),
1041 'token' => array(
1042 'location' => 'path',
1043 'type' => 'string',
1044 'required' => true,
1045 ),
1046 ),
1047 ),'get' => array(
1048 'path' => '{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}',
1049 'httpMethod' => 'GET',
1050 'parameters' => array(
1051 'packageName' => array(
1052 'location' => 'path',
1053 'type' => 'string',
1054 'required' => true,
1055 ),
1056 'subscriptionId' => array(
1057 'location' => 'path',
1058 'type' => 'string',
1059 'required' => true,
1060 ),
1061 'token' => array(
1062 'location' => 'path',
1063 'type' => 'string',
1064 'required' => true,
1065 ),
1066 ),
1067 ),
1068 )
1069 )
1070 );
1071 }
1072 }
1073
1074
1075 /**
1076 * The "edits" collection of methods.
1077 * Typical usage is:
1078 * <code>
1079 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1080 * $edits = $androidpublisherService->edits;
1081 * </code>
1082 */
1083 class Analytify_Google_Service_AndroidPublisher_Edits_Resource extends Analytify_Google_Service_Resource
1084 {
1085
1086 /**
1087 * Commits/applies the changes made in this edit back to the app. (edits.commit)
1088 *
1089 * @param string $packageName
1090 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1091 * @param string $editId
1092 * Unique identifier for this edit.
1093 * @param array $optParams Optional parameters.
1094 * @return Analytify_Google_Service_AndroidPublisher_AppEdit
1095 */
1096 public function commit($packageName, $editId, $optParams = array())
1097 {
1098 $params = array('packageName' => $packageName, 'editId' => $editId);
1099 $params = array_merge($params, $optParams);
1100 return $this->call('commit', array($params), "Analytify_Google_Service_AndroidPublisher_AppEdit");
1101 }
1102 /**
1103 * Deletes an edit for an app. Creating a new edit will automatically delete any
1104 * of your previous edits so this method need only be called if you want to
1105 * preemptively abandon an edit. (edits.delete)
1106 *
1107 * @param string $packageName
1108 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1109 * @param string $editId
1110 * Unique identifier for this edit.
1111 * @param array $optParams Optional parameters.
1112 */
1113 public function delete($packageName, $editId, $optParams = array())
1114 {
1115 $params = array('packageName' => $packageName, 'editId' => $editId);
1116 $params = array_merge($params, $optParams);
1117 return $this->call('delete', array($params));
1118 }
1119 /**
1120 * Returns information about the edit specified. Calls will fail if the edit is
1121 * no long active (e.g. has been deleted, superseded or expired). (edits.get)
1122 *
1123 * @param string $packageName
1124 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1125 * @param string $editId
1126 * Unique identifier for this edit.
1127 * @param array $optParams Optional parameters.
1128 * @return Analytify_Google_Service_AndroidPublisher_AppEdit
1129 */
1130 public function get($packageName, $editId, $optParams = array())
1131 {
1132 $params = array('packageName' => $packageName, 'editId' => $editId);
1133 $params = array_merge($params, $optParams);
1134 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_AppEdit");
1135 }
1136 /**
1137 * Creates a new edit for an app, populated with the app's current state.
1138 * (edits.insert)
1139 *
1140 * @param string $packageName
1141 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1142 * @param Analytify_Google_AppEdit $postBody
1143 * @param array $optParams Optional parameters.
1144 * @return Analytify_Google_Service_AndroidPublisher_AppEdit
1145 */
1146 public function insert($packageName, Analytify_Google_Service_AndroidPublisher_AppEdit $postBody, $optParams = array())
1147 {
1148 $params = array('packageName' => $packageName, 'postBody' => $postBody);
1149 $params = array_merge($params, $optParams);
1150 return $this->call('insert', array($params), "Analytify_Google_Service_AndroidPublisher_AppEdit");
1151 }
1152 }
1153
1154 /**
1155 * The "apklistings" collection of methods.
1156 * Typical usage is:
1157 * <code>
1158 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1159 * $apklistings = $androidpublisherService->apklistings;
1160 * </code>
1161 */
1162 class Analytify_Google_Service_AndroidPublisher_EditsApklistings_Resource extends Analytify_Google_Service_Resource
1163 {
1164
1165 /**
1166 * Deletes the APK-specific localized listing for a specified APK and language
1167 * code. (apklistings.delete)
1168 *
1169 * @param string $packageName
1170 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1171 * @param string $editId
1172 * Unique identifier for this edit.
1173 * @param int $apkVersionCode
1174 * The APK version code whose APK-specific listings should be read or modified.
1175 * @param string $language
1176 * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
1177 * modify. For example, to select Austrian German, pass "de-AT".
1178 * @param array $optParams Optional parameters.
1179 */
1180 public function delete($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1181 {
1182 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1183 $params = array_merge($params, $optParams);
1184 return $this->call('delete', array($params));
1185 }
1186 /**
1187 * Deletes all the APK-specific localized listings for a specified APK.
1188 * (apklistings.deleteall)
1189 *
1190 * @param string $packageName
1191 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1192 * @param string $editId
1193 * Unique identifier for this edit.
1194 * @param int $apkVersionCode
1195 * The APK version code whose APK-specific listings should be read or modified.
1196 * @param array $optParams Optional parameters.
1197 */
1198 public function deleteall($packageName, $editId, $apkVersionCode, $optParams = array())
1199 {
1200 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1201 $params = array_merge($params, $optParams);
1202 return $this->call('deleteall', array($params));
1203 }
1204 /**
1205 * Fetches the APK-specific localized listing for a specified APK and language
1206 * code. (apklistings.get)
1207 *
1208 * @param string $packageName
1209 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1210 * @param string $editId
1211 * Unique identifier for this edit.
1212 * @param int $apkVersionCode
1213 * The APK version code whose APK-specific listings should be read or modified.
1214 * @param string $language
1215 * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
1216 * modify. For example, to select Austrian German, pass "de-AT".
1217 * @param array $optParams Optional parameters.
1218 * @return Analytify_Google_Service_AndroidPublisher_ApkListing
1219 */
1220 public function get($packageName, $editId, $apkVersionCode, $language, $optParams = array())
1221 {
1222 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language);
1223 $params = array_merge($params, $optParams);
1224 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_ApkListing");
1225 }
1226 /**
1227 * Lists all the APK-specific localized listings for a specified APK.
1228 * (apklistings.listEditsApklistings)
1229 *
1230 * @param string $packageName
1231 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1232 * @param string $editId
1233 * Unique identifier for this edit.
1234 * @param int $apkVersionCode
1235 * The APK version code whose APK-specific listings should be read or modified.
1236 * @param array $optParams Optional parameters.
1237 * @return Analytify_Google_Service_AndroidPublisher_ApkListingsListResponse
1238 */
1239 public function listEditsApklistings($packageName, $editId, $apkVersionCode, $optParams = array())
1240 {
1241 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode);
1242 $params = array_merge($params, $optParams);
1243 return $this->call('list', array($params), "Analytify_Google_Service_AndroidPublisher_ApkListingsListResponse");
1244 }
1245 /**
1246 * Updates or creates the APK-specific localized listing for a specified APK and
1247 * language code. This method supports patch semantics. (apklistings.patch)
1248 *
1249 * @param string $packageName
1250 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1251 * @param string $editId
1252 * Unique identifier for this edit.
1253 * @param int $apkVersionCode
1254 * The APK version code whose APK-specific listings should be read or modified.
1255 * @param string $language
1256 * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
1257 * modify. For example, to select Austrian German, pass "de-AT".
1258 * @param Analytify_Google_ApkListing $postBody
1259 * @param array $optParams Optional parameters.
1260 * @return Analytify_Google_Service_AndroidPublisher_ApkListing
1261 */
1262 public function patch($packageName, $editId, $apkVersionCode, $language, Analytify_Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1263 {
1264 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1265 $params = array_merge($params, $optParams);
1266 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_ApkListing");
1267 }
1268 /**
1269 * Updates or creates the APK-specific localized listing for a specified APK and
1270 * language code. (apklistings.update)
1271 *
1272 * @param string $packageName
1273 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1274 * @param string $editId
1275 * Unique identifier for this edit.
1276 * @param int $apkVersionCode
1277 * The APK version code whose APK-specific listings should be read or modified.
1278 * @param string $language
1279 * The language code (a BCP-47 language tag) of the APK-specific localized listing to read or
1280 * modify. For example, to select Austrian German, pass "de-AT".
1281 * @param Analytify_Google_ApkListing $postBody
1282 * @param array $optParams Optional parameters.
1283 * @return Analytify_Google_Service_AndroidPublisher_ApkListing
1284 */
1285 public function update($packageName, $editId, $apkVersionCode, $language, Analytify_Google_Service_AndroidPublisher_ApkListing $postBody, $optParams = array())
1286 {
1287 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'language' => $language, 'postBody' => $postBody);
1288 $params = array_merge($params, $optParams);
1289 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_ApkListing");
1290 }
1291 }
1292 /**
1293 * The "apks" collection of methods.
1294 * Typical usage is:
1295 * <code>
1296 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1297 * $apks = $androidpublisherService->apks;
1298 * </code>
1299 */
1300 class Analytify_Google_Service_AndroidPublisher_EditsApks_Resource extends Analytify_Google_Service_Resource
1301 {
1302
1303 /**
1304 * (apks.listEditsApks)
1305 *
1306 * @param string $packageName
1307 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1308 * @param string $editId
1309 * Unique identifier for this edit.
1310 * @param array $optParams Optional parameters.
1311 * @return Analytify_Google_Service_AndroidPublisher_ApksListResponse
1312 */
1313 public function listEditsApks($packageName, $editId, $optParams = array())
1314 {
1315 $params = array('packageName' => $packageName, 'editId' => $editId);
1316 $params = array_merge($params, $optParams);
1317 return $this->call('list', array($params), "Analytify_Google_Service_AndroidPublisher_ApksListResponse");
1318 }
1319 /**
1320 * (apks.upload)
1321 *
1322 * @param string $packageName
1323 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1324 * @param string $editId
1325 * Unique identifier for this edit.
1326 * @param array $optParams Optional parameters.
1327 * @return Analytify_Google_Service_AndroidPublisher_Apk
1328 */
1329 public function upload($packageName, $editId, $optParams = array())
1330 {
1331 $params = array('packageName' => $packageName, 'editId' => $editId);
1332 $params = array_merge($params, $optParams);
1333 return $this->call('upload', array($params), "Analytify_Google_Service_AndroidPublisher_Apk");
1334 }
1335 }
1336 /**
1337 * The "details" collection of methods.
1338 * Typical usage is:
1339 * <code>
1340 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1341 * $details = $androidpublisherService->details;
1342 * </code>
1343 */
1344 class Analytify_Google_Service_AndroidPublisher_EditsDetails_Resource extends Analytify_Google_Service_Resource
1345 {
1346
1347 /**
1348 * Fetches app details for this edit. This includes the default language and
1349 * developer support contact information. (details.get)
1350 *
1351 * @param string $packageName
1352 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1353 * @param string $editId
1354 * Unique identifier for this edit.
1355 * @param array $optParams Optional parameters.
1356 * @return Analytify_Google_Service_AndroidPublisher_AppDetails
1357 */
1358 public function get($packageName, $editId, $optParams = array())
1359 {
1360 $params = array('packageName' => $packageName, 'editId' => $editId);
1361 $params = array_merge($params, $optParams);
1362 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_AppDetails");
1363 }
1364 /**
1365 * Updates app details for this edit. This method supports patch semantics.
1366 * (details.patch)
1367 *
1368 * @param string $packageName
1369 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1370 * @param string $editId
1371 * Unique identifier for this edit.
1372 * @param Analytify_Google_AppDetails $postBody
1373 * @param array $optParams Optional parameters.
1374 * @return Analytify_Google_Service_AndroidPublisher_AppDetails
1375 */
1376 public function patch($packageName, $editId, Analytify_Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1377 {
1378 $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1379 $params = array_merge($params, $optParams);
1380 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_AppDetails");
1381 }
1382 /**
1383 * Updates app details for this edit. (details.update)
1384 *
1385 * @param string $packageName
1386 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1387 * @param string $editId
1388 * Unique identifier for this edit.
1389 * @param Analytify_Google_AppDetails $postBody
1390 * @param array $optParams Optional parameters.
1391 * @return Analytify_Google_Service_AndroidPublisher_AppDetails
1392 */
1393 public function update($packageName, $editId, Analytify_Google_Service_AndroidPublisher_AppDetails $postBody, $optParams = array())
1394 {
1395 $params = array('packageName' => $packageName, 'editId' => $editId, 'postBody' => $postBody);
1396 $params = array_merge($params, $optParams);
1397 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_AppDetails");
1398 }
1399 }
1400 /**
1401 * The "expansionfiles" collection of methods.
1402 * Typical usage is:
1403 * <code>
1404 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1405 * $expansionfiles = $androidpublisherService->expansionfiles;
1406 * </code>
1407 */
1408 class Analytify_Google_Service_AndroidPublisher_EditsExpansionfiles_Resource extends Analytify_Google_Service_Resource
1409 {
1410
1411 /**
1412 * Fetches the Expansion File configuration for the APK specified.
1413 * (expansionfiles.get)
1414 *
1415 * @param string $packageName
1416 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1417 * @param string $editId
1418 * Unique identifier for this edit.
1419 * @param int $apkVersionCode
1420 * The version code of the APK whose Expansion File configuration is being read or modified.
1421 * @param string $expansionFileType
1422 *
1423 * @param array $optParams Optional parameters.
1424 * @return Analytify_Google_Service_AndroidPublisher_ExpansionFile
1425 */
1426 public function get($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1427 {
1428 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1429 $params = array_merge($params, $optParams);
1430 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_ExpansionFile");
1431 }
1432 /**
1433 * Updates the APK's Expansion File configuration to reference another APK's
1434 * Expansion Files. To add a new Expansion File use the Upload method. This
1435 * method supports patch semantics. (expansionfiles.patch)
1436 *
1437 * @param string $packageName
1438 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1439 * @param string $editId
1440 * Unique identifier for this edit.
1441 * @param int $apkVersionCode
1442 * The version code of the APK whose Expansion File configuration is being read or modified.
1443 * @param string $expansionFileType
1444 *
1445 * @param Analytify_Google_ExpansionFile $postBody
1446 * @param array $optParams Optional parameters.
1447 * @return Analytify_Google_Service_AndroidPublisher_ExpansionFile
1448 */
1449 public function patch($packageName, $editId, $apkVersionCode, $expansionFileType, Analytify_Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1450 {
1451 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1452 $params = array_merge($params, $optParams);
1453 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_ExpansionFile");
1454 }
1455 /**
1456 * Updates the APK's Expansion File configuration to reference another APK's
1457 * Expansion Files. To add a new Expansion File use the Upload method.
1458 * (expansionfiles.update)
1459 *
1460 * @param string $packageName
1461 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1462 * @param string $editId
1463 * Unique identifier for this edit.
1464 * @param int $apkVersionCode
1465 * The version code of the APK whose Expansion File configuration is being read or modified.
1466 * @param string $expansionFileType
1467 *
1468 * @param Analytify_Google_ExpansionFile $postBody
1469 * @param array $optParams Optional parameters.
1470 * @return Analytify_Google_Service_AndroidPublisher_ExpansionFile
1471 */
1472 public function update($packageName, $editId, $apkVersionCode, $expansionFileType, Analytify_Google_Service_AndroidPublisher_ExpansionFile $postBody, $optParams = array())
1473 {
1474 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType, 'postBody' => $postBody);
1475 $params = array_merge($params, $optParams);
1476 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_ExpansionFile");
1477 }
1478 /**
1479 * Uploads and attaches a new Expansion File to the APK specified.
1480 * (expansionfiles.upload)
1481 *
1482 * @param string $packageName
1483 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1484 * @param string $editId
1485 * Unique identifier for this edit.
1486 * @param int $apkVersionCode
1487 * The version code of the APK whose Expansion File configuration is being read or modified.
1488 * @param string $expansionFileType
1489 *
1490 * @param array $optParams Optional parameters.
1491 * @return Analytify_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse
1492 */
1493 public function upload($packageName, $editId, $apkVersionCode, $expansionFileType, $optParams = array())
1494 {
1495 $params = array('packageName' => $packageName, 'editId' => $editId, 'apkVersionCode' => $apkVersionCode, 'expansionFileType' => $expansionFileType);
1496 $params = array_merge($params, $optParams);
1497 return $this->call('upload', array($params), "Analytify_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse");
1498 }
1499 }
1500 /**
1501 * The "images" collection of methods.
1502 * Typical usage is:
1503 * <code>
1504 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1505 * $images = $androidpublisherService->images;
1506 * </code>
1507 */
1508 class Analytify_Google_Service_AndroidPublisher_EditsImages_Resource extends Analytify_Google_Service_Resource
1509 {
1510
1511 /**
1512 * Deletes the image (specified by id) from the edit. (images.delete)
1513 *
1514 * @param string $packageName
1515 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1516 * @param string $editId
1517 * Unique identifier for this edit.
1518 * @param string $language
1519 * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
1520 * modified. For example, to select Austrian German, pass "de-AT".
1521 * @param string $imageType
1522 *
1523 * @param string $imageId
1524 * Unique identifier an image within the set of images attached to this edit.
1525 * @param array $optParams Optional parameters.
1526 */
1527 public function delete($packageName, $editId, $language, $imageType, $imageId, $optParams = array())
1528 {
1529 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType, 'imageId' => $imageId);
1530 $params = array_merge($params, $optParams);
1531 return $this->call('delete', array($params));
1532 }
1533 /**
1534 * Deletes all images for the specified language and image type.
1535 * (images.deleteall)
1536 *
1537 * @param string $packageName
1538 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1539 * @param string $editId
1540 * Unique identifier for this edit.
1541 * @param string $language
1542 * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
1543 * modified. For example, to select Austrian German, pass "de-AT".
1544 * @param string $imageType
1545 *
1546 * @param array $optParams Optional parameters.
1547 * @return Analytify_Google_Service_AndroidPublisher_ImagesDeleteAllResponse
1548 */
1549 public function deleteall($packageName, $editId, $language, $imageType, $optParams = array())
1550 {
1551 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1552 $params = array_merge($params, $optParams);
1553 return $this->call('deleteall', array($params), "Analytify_Google_Service_AndroidPublisher_ImagesDeleteAllResponse");
1554 }
1555 /**
1556 * Lists all images for the specified language and image type.
1557 * (images.listEditsImages)
1558 *
1559 * @param string $packageName
1560 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1561 * @param string $editId
1562 * Unique identifier for this edit.
1563 * @param string $language
1564 * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
1565 * modified. For example, to select Austrian German, pass "de-AT".
1566 * @param string $imageType
1567 *
1568 * @param array $optParams Optional parameters.
1569 * @return Analytify_Google_Service_AndroidPublisher_ImagesListResponse
1570 */
1571 public function listEditsImages($packageName, $editId, $language, $imageType, $optParams = array())
1572 {
1573 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1574 $params = array_merge($params, $optParams);
1575 return $this->call('list', array($params), "Analytify_Google_Service_AndroidPublisher_ImagesListResponse");
1576 }
1577 /**
1578 * Uploads a new image and adds it to the list of images for the specified
1579 * language and image type. (images.upload)
1580 *
1581 * @param string $packageName
1582 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1583 * @param string $editId
1584 * Unique identifier for this edit.
1585 * @param string $language
1586 * The language code (a BCP-47 language tag) of the localized listing whose images are to read or
1587 * modified. For example, to select Austrian German, pass "de-AT".
1588 * @param string $imageType
1589 *
1590 * @param array $optParams Optional parameters.
1591 * @return Analytify_Google_Service_AndroidPublisher_ImagesUploadResponse
1592 */
1593 public function upload($packageName, $editId, $language, $imageType, $optParams = array())
1594 {
1595 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'imageType' => $imageType);
1596 $params = array_merge($params, $optParams);
1597 return $this->call('upload', array($params), "Analytify_Google_Service_AndroidPublisher_ImagesUploadResponse");
1598 }
1599 }
1600 /**
1601 * The "listings" collection of methods.
1602 * Typical usage is:
1603 * <code>
1604 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1605 * $listings = $androidpublisherService->listings;
1606 * </code>
1607 */
1608 class Analytify_Google_Service_AndroidPublisher_EditsListings_Resource extends Analytify_Google_Service_Resource
1609 {
1610
1611 /**
1612 * Deletes the specified localized store listing from an edit. (listings.delete)
1613 *
1614 * @param string $packageName
1615 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1616 * @param string $editId
1617 * Unique identifier for this edit.
1618 * @param string $language
1619 * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
1620 * example, to select Austrian German, pass "de-AT".
1621 * @param array $optParams Optional parameters.
1622 */
1623 public function delete($packageName, $editId, $language, $optParams = array())
1624 {
1625 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1626 $params = array_merge($params, $optParams);
1627 return $this->call('delete', array($params));
1628 }
1629 /**
1630 * Deletes all localized listings from an edit. (listings.deleteall)
1631 *
1632 * @param string $packageName
1633 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1634 * @param string $editId
1635 * Unique identifier for this edit.
1636 * @param array $optParams Optional parameters.
1637 */
1638 public function deleteall($packageName, $editId, $optParams = array())
1639 {
1640 $params = array('packageName' => $packageName, 'editId' => $editId);
1641 $params = array_merge($params, $optParams);
1642 return $this->call('deleteall', array($params));
1643 }
1644 /**
1645 * Fetches information about a localized store listing. (listings.get)
1646 *
1647 * @param string $packageName
1648 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1649 * @param string $editId
1650 * Unique identifier for this edit.
1651 * @param string $language
1652 * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
1653 * example, to select Austrian German, pass "de-AT".
1654 * @param array $optParams Optional parameters.
1655 * @return Analytify_Google_Service_AndroidPublisher_Listing
1656 */
1657 public function get($packageName, $editId, $language, $optParams = array())
1658 {
1659 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language);
1660 $params = array_merge($params, $optParams);
1661 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_Listing");
1662 }
1663 /**
1664 * Returns all of the localized store listings attached to this edit.
1665 * (listings.listEditsListings)
1666 *
1667 * @param string $packageName
1668 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1669 * @param string $editId
1670 * Unique identifier for this edit.
1671 * @param array $optParams Optional parameters.
1672 * @return Analytify_Google_Service_AndroidPublisher_ListingsListResponse
1673 */
1674 public function listEditsListings($packageName, $editId, $optParams = array())
1675 {
1676 $params = array('packageName' => $packageName, 'editId' => $editId);
1677 $params = array_merge($params, $optParams);
1678 return $this->call('list', array($params), "Analytify_Google_Service_AndroidPublisher_ListingsListResponse");
1679 }
1680 /**
1681 * Creates or updates a localized store listing. This method supports patch
1682 * semantics. (listings.patch)
1683 *
1684 * @param string $packageName
1685 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1686 * @param string $editId
1687 * Unique identifier for this edit.
1688 * @param string $language
1689 * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
1690 * example, to select Austrian German, pass "de-AT".
1691 * @param Analytify_Google_Listing $postBody
1692 * @param array $optParams Optional parameters.
1693 * @return Analytify_Google_Service_AndroidPublisher_Listing
1694 */
1695 public function patch($packageName, $editId, $language, Analytify_Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1696 {
1697 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1698 $params = array_merge($params, $optParams);
1699 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_Listing");
1700 }
1701 /**
1702 * Creates or updates a localized store listing. (listings.update)
1703 *
1704 * @param string $packageName
1705 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1706 * @param string $editId
1707 * Unique identifier for this edit.
1708 * @param string $language
1709 * The language code (a BCP-47 language tag) of the localized listing to read or modify. For
1710 * example, to select Austrian German, pass "de-AT".
1711 * @param Analytify_Google_Listing $postBody
1712 * @param array $optParams Optional parameters.
1713 * @return Analytify_Google_Service_AndroidPublisher_Listing
1714 */
1715 public function update($packageName, $editId, $language, Analytify_Google_Service_AndroidPublisher_Listing $postBody, $optParams = array())
1716 {
1717 $params = array('packageName' => $packageName, 'editId' => $editId, 'language' => $language, 'postBody' => $postBody);
1718 $params = array_merge($params, $optParams);
1719 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_Listing");
1720 }
1721 }
1722 /**
1723 * The "testers" collection of methods.
1724 * Typical usage is:
1725 * <code>
1726 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1727 * $testers = $androidpublisherService->testers;
1728 * </code>
1729 */
1730 class Analytify_Google_Service_AndroidPublisher_EditsTesters_Resource extends Analytify_Google_Service_Resource
1731 {
1732
1733 /**
1734 * (testers.get)
1735 *
1736 * @param string $packageName
1737 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1738 * @param string $editId
1739 * Unique identifier for this edit.
1740 * @param string $track
1741 *
1742 * @param array $optParams Optional parameters.
1743 * @return Analytify_Google_Service_AndroidPublisher_Testers
1744 */
1745 public function get($packageName, $editId, $track, $optParams = array())
1746 {
1747 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1748 $params = array_merge($params, $optParams);
1749 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_Testers");
1750 }
1751 /**
1752 * (testers.patch)
1753 *
1754 * @param string $packageName
1755 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1756 * @param string $editId
1757 * Unique identifier for this edit.
1758 * @param string $track
1759 *
1760 * @param Analytify_Google_Testers $postBody
1761 * @param array $optParams Optional parameters.
1762 * @return Analytify_Google_Service_AndroidPublisher_Testers
1763 */
1764 public function patch($packageName, $editId, $track, Analytify_Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1765 {
1766 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1767 $params = array_merge($params, $optParams);
1768 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_Testers");
1769 }
1770 /**
1771 * (testers.update)
1772 *
1773 * @param string $packageName
1774 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1775 * @param string $editId
1776 * Unique identifier for this edit.
1777 * @param string $track
1778 *
1779 * @param Analytify_Google_Testers $postBody
1780 * @param array $optParams Optional parameters.
1781 * @return Analytify_Google_Service_AndroidPublisher_Testers
1782 */
1783 public function update($packageName, $editId, $track, Analytify_Google_Service_AndroidPublisher_Testers $postBody, $optParams = array())
1784 {
1785 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1786 $params = array_merge($params, $optParams);
1787 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_Testers");
1788 }
1789 }
1790 /**
1791 * The "tracks" collection of methods.
1792 * Typical usage is:
1793 * <code>
1794 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1795 * $tracks = $androidpublisherService->tracks;
1796 * </code>
1797 */
1798 class Analytify_Google_Service_AndroidPublisher_EditsTracks_Resource extends Analytify_Google_Service_Resource
1799 {
1800
1801 /**
1802 * Fetches the track configuration for the specified track type. Includes the
1803 * APK version codes that are in this track. (tracks.get)
1804 *
1805 * @param string $packageName
1806 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1807 * @param string $editId
1808 * Unique identifier for this edit.
1809 * @param string $track
1810 * The track type to read or modify.
1811 * @param array $optParams Optional parameters.
1812 * @return Analytify_Google_Service_AndroidPublisher_Track
1813 */
1814 public function get($packageName, $editId, $track, $optParams = array())
1815 {
1816 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track);
1817 $params = array_merge($params, $optParams);
1818 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_Track");
1819 }
1820 /**
1821 * Lists all the track configurations for this edit. (tracks.listEditsTracks)
1822 *
1823 * @param string $packageName
1824 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1825 * @param string $editId
1826 * Unique identifier for this edit.
1827 * @param array $optParams Optional parameters.
1828 * @return Analytify_Google_Service_AndroidPublisher_TracksListResponse
1829 */
1830 public function listEditsTracks($packageName, $editId, $optParams = array())
1831 {
1832 $params = array('packageName' => $packageName, 'editId' => $editId);
1833 $params = array_merge($params, $optParams);
1834 return $this->call('list', array($params), "Analytify_Google_Service_AndroidPublisher_TracksListResponse");
1835 }
1836 /**
1837 * Updates the track configuration for the specified track type. This method
1838 * supports patch semantics. (tracks.patch)
1839 *
1840 * @param string $packageName
1841 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1842 * @param string $editId
1843 * Unique identifier for this edit.
1844 * @param string $track
1845 * The track type to read or modify.
1846 * @param Analytify_Google_Track $postBody
1847 * @param array $optParams Optional parameters.
1848 * @return Analytify_Google_Service_AndroidPublisher_Track
1849 */
1850 public function patch($packageName, $editId, $track, Analytify_Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
1851 {
1852 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1853 $params = array_merge($params, $optParams);
1854 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_Track");
1855 }
1856 /**
1857 * Updates the track configuration for the specified track type. (tracks.update)
1858 *
1859 * @param string $packageName
1860 * Unique identifier for the Android app that is being updated; for example, "com.spiffygame".
1861 * @param string $editId
1862 * Unique identifier for this edit.
1863 * @param string $track
1864 * The track type to read or modify.
1865 * @param Analytify_Google_Track $postBody
1866 * @param array $optParams Optional parameters.
1867 * @return Analytify_Google_Service_AndroidPublisher_Track
1868 */
1869 public function update($packageName, $editId, $track, Analytify_Google_Service_AndroidPublisher_Track $postBody, $optParams = array())
1870 {
1871 $params = array('packageName' => $packageName, 'editId' => $editId, 'track' => $track, 'postBody' => $postBody);
1872 $params = array_merge($params, $optParams);
1873 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_Track");
1874 }
1875 }
1876
1877 /**
1878 * The "inappproducts" collection of methods.
1879 * Typical usage is:
1880 * <code>
1881 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
1882 * $inappproducts = $androidpublisherService->inappproducts;
1883 * </code>
1884 */
1885 class Analytify_Google_Service_AndroidPublisher_Inappproducts_Resource extends Analytify_Google_Service_Resource
1886 {
1887
1888 /**
1889 * (inappproducts.batch)
1890 *
1891 * @param Analytify_Google_InappproductsBatchRequest $postBody
1892 * @param array $optParams Optional parameters.
1893 * @return Analytify_Google_Service_AndroidPublisher_InappproductsBatchResponse
1894 */
1895 public function batch(Analytify_Google_Service_AndroidPublisher_InappproductsBatchRequest $postBody, $optParams = array())
1896 {
1897 $params = array('postBody' => $postBody);
1898 $params = array_merge($params, $optParams);
1899 return $this->call('batch', array($params), "Analytify_Google_Service_AndroidPublisher_InappproductsBatchResponse");
1900 }
1901 /**
1902 * Delete an in-app product for an app. (inappproducts.delete)
1903 *
1904 * @param string $packageName
1905 * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
1906 * @param string $sku
1907 * Unique identifier for the in-app product.
1908 * @param array $optParams Optional parameters.
1909 */
1910 public function delete($packageName, $sku, $optParams = array())
1911 {
1912 $params = array('packageName' => $packageName, 'sku' => $sku);
1913 $params = array_merge($params, $optParams);
1914 return $this->call('delete', array($params));
1915 }
1916 /**
1917 * Returns information about the in-app product specified. (inappproducts.get)
1918 *
1919 * @param string $packageName
1920 *
1921 * @param string $sku
1922 * Unique identifier for the in-app product.
1923 * @param array $optParams Optional parameters.
1924 * @return Analytify_Google_Service_AndroidPublisher_InAppProduct
1925 */
1926 public function get($packageName, $sku, $optParams = array())
1927 {
1928 $params = array('packageName' => $packageName, 'sku' => $sku);
1929 $params = array_merge($params, $optParams);
1930 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_InAppProduct");
1931 }
1932 /**
1933 * Creates a new in-app product for an app. (inappproducts.insert)
1934 *
1935 * @param string $packageName
1936 * Unique identifier for the Android app; for example, "com.spiffygame".
1937 * @param Analytify_Google_InAppProduct $postBody
1938 * @param array $optParams Optional parameters.
1939 *
1940 * @opt_param bool autoConvertMissingPrices
1941 * If true the prices for all regions targeted by the parent app that don't have a price specified
1942 * for this in-app product will be auto converted to the target currency based on the default
1943 * price. Defaults to false.
1944 * @return Analytify_Google_Service_AndroidPublisher_InAppProduct
1945 */
1946 public function insert($packageName, Analytify_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
1947 {
1948 $params = array('packageName' => $packageName, 'postBody' => $postBody);
1949 $params = array_merge($params, $optParams);
1950 return $this->call('insert', array($params), "Analytify_Google_Service_AndroidPublisher_InAppProduct");
1951 }
1952 /**
1953 * List all the in-app products for an Android app, both subscriptions and
1954 * managed in-app products.. (inappproducts.listInappproducts)
1955 *
1956 * @param string $packageName
1957 * Unique identifier for the Android app with in-app products; for example, "com.spiffygame".
1958 * @param array $optParams Optional parameters.
1959 *
1960 * @opt_param string token
1961 *
1962 * @opt_param string startIndex
1963 *
1964 * @opt_param string maxResults
1965 *
1966 * @return Analytify_Google_Service_AndroidPublisher_InappproductsListResponse
1967 */
1968 public function listInappproducts($packageName, $optParams = array())
1969 {
1970 $params = array('packageName' => $packageName);
1971 $params = array_merge($params, $optParams);
1972 return $this->call('list', array($params), "Analytify_Google_Service_AndroidPublisher_InappproductsListResponse");
1973 }
1974 /**
1975 * Updates the details of an in-app product. This method supports patch
1976 * semantics. (inappproducts.patch)
1977 *
1978 * @param string $packageName
1979 * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
1980 * @param string $sku
1981 * Unique identifier for the in-app product.
1982 * @param Analytify_Google_InAppProduct $postBody
1983 * @param array $optParams Optional parameters.
1984 *
1985 * @opt_param bool autoConvertMissingPrices
1986 * If true the prices for all regions targeted by the parent app that don't have a price specified
1987 * for this in-app product will be auto converted to the target currency based on the default
1988 * price. Defaults to false.
1989 * @return Analytify_Google_Service_AndroidPublisher_InAppProduct
1990 */
1991 public function patch($packageName, $sku, Analytify_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
1992 {
1993 $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
1994 $params = array_merge($params, $optParams);
1995 return $this->call('patch', array($params), "Analytify_Google_Service_AndroidPublisher_InAppProduct");
1996 }
1997 /**
1998 * Updates the details of an in-app product. (inappproducts.update)
1999 *
2000 * @param string $packageName
2001 * Unique identifier for the Android app with the in-app product; for example, "com.spiffygame".
2002 * @param string $sku
2003 * Unique identifier for the in-app product.
2004 * @param Analytify_Google_InAppProduct $postBody
2005 * @param array $optParams Optional parameters.
2006 *
2007 * @opt_param bool autoConvertMissingPrices
2008 * If true the prices for all regions targeted by the parent app that don't have a price specified
2009 * for this in-app product will be auto converted to the target currency based on the default
2010 * price. Defaults to false.
2011 * @return Analytify_Google_Service_AndroidPublisher_InAppProduct
2012 */
2013 public function update($packageName, $sku, Analytify_Google_Service_AndroidPublisher_InAppProduct $postBody, $optParams = array())
2014 {
2015 $params = array('packageName' => $packageName, 'sku' => $sku, 'postBody' => $postBody);
2016 $params = array_merge($params, $optParams);
2017 return $this->call('update', array($params), "Analytify_Google_Service_AndroidPublisher_InAppProduct");
2018 }
2019 }
2020
2021 /**
2022 * The "purchases" collection of methods.
2023 * Typical usage is:
2024 * <code>
2025 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
2026 * $purchases = $androidpublisherService->purchases;
2027 * </code>
2028 */
2029 class Analytify_Google_Service_AndroidPublisher_Purchases_Resource extends Analytify_Google_Service_Resource
2030 {
2031
2032 }
2033
2034 /**
2035 * The "products" collection of methods.
2036 * Typical usage is:
2037 * <code>
2038 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
2039 * $products = $androidpublisherService->products;
2040 * </code>
2041 */
2042 class Analytify_Google_Service_AndroidPublisher_PurchasesProducts_Resource extends Analytify_Google_Service_Resource
2043 {
2044
2045 /**
2046 * Checks the purchase and consumption status of an inapp item. (products.get)
2047 *
2048 * @param string $packageName
2049 * The package name of the application the inapp product was sold in (for example,
2050 * 'com.some.thing').
2051 * @param string $productId
2052 * The inapp product SKU (for example, 'com.some.thing.inapp1').
2053 * @param string $token
2054 * The token provided to the user's device when the inapp product was purchased.
2055 * @param array $optParams Optional parameters.
2056 * @return Analytify_Google_Service_AndroidPublisher_ProductPurchase
2057 */
2058 public function get($packageName, $productId, $token, $optParams = array())
2059 {
2060 $params = array('packageName' => $packageName, 'productId' => $productId, 'token' => $token);
2061 $params = array_merge($params, $optParams);
2062 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_ProductPurchase");
2063 }
2064 }
2065 /**
2066 * The "subscriptions" collection of methods.
2067 * Typical usage is:
2068 * <code>
2069 * $androidpublisherService = new Analytify_Google_Service_AndroidPublisher(...);
2070 * $subscriptions = $androidpublisherService->subscriptions;
2071 * </code>
2072 */
2073 class Analytify_Google_Service_AndroidPublisher_PurchasesSubscriptions_Resource extends Analytify_Google_Service_Resource
2074 {
2075
2076 /**
2077 * Cancels a user's subscription purchase. The subscription remains valid until
2078 * its expiration time. (subscriptions.cancel)
2079 *
2080 * @param string $packageName
2081 * The package name of the application for which this subscription was purchased (for example,
2082 * 'com.some.thing').
2083 * @param string $subscriptionId
2084 * The purchased subscription ID (for example, 'monthly001').
2085 * @param string $token
2086 * The token provided to the user's device when the subscription was purchased.
2087 * @param array $optParams Optional parameters.
2088 */
2089 public function cancel($packageName, $subscriptionId, $token, $optParams = array())
2090 {
2091 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2092 $params = array_merge($params, $optParams);
2093 return $this->call('cancel', array($params));
2094 }
2095 /**
2096 * Checks whether a user's subscription purchase is valid and returns its expiry
2097 * time. (subscriptions.get)
2098 *
2099 * @param string $packageName
2100 * The package name of the application for which this subscription was purchased (for example,
2101 * 'com.some.thing').
2102 * @param string $subscriptionId
2103 * The purchased subscription ID (for example, 'monthly001').
2104 * @param string $token
2105 * The token provided to the user's device when the subscription was purchased.
2106 * @param array $optParams Optional parameters.
2107 * @return Analytify_Google_Service_AndroidPublisher_SubscriptionPurchase
2108 */
2109 public function get($packageName, $subscriptionId, $token, $optParams = array())
2110 {
2111 $params = array('packageName' => $packageName, 'subscriptionId' => $subscriptionId, 'token' => $token);
2112 $params = array_merge($params, $optParams);
2113 return $this->call('get', array($params), "Analytify_Google_Service_AndroidPublisher_SubscriptionPurchase");
2114 }
2115 }
2116
2117
2118
2119
2120 class Analytify_Google_Service_AndroidPublisher_Apk extends Analytify_Google_Model
2121 {
2122 protected $binaryType = 'Analytify_Google_Service_AndroidPublisher_ApkBinary';
2123 protected $binaryDataType = '';
2124 public $versionCode;
2125
2126 public function setBinary(Analytify_Google_Service_AndroidPublisher_ApkBinary $binary)
2127 {
2128 $this->binary = $binary;
2129 }
2130
2131 public function getBinary()
2132 {
2133 return $this->binary;
2134 }
2135
2136 public function setVersionCode($versionCode)
2137 {
2138 $this->versionCode = $versionCode;
2139 }
2140
2141 public function getVersionCode()
2142 {
2143 return $this->versionCode;
2144 }
2145 }
2146
2147 class Analytify_Google_Service_AndroidPublisher_ApkBinary extends Analytify_Google_Model
2148 {
2149 public $sha1;
2150
2151 public function setSha1($sha1)
2152 {
2153 $this->sha1 = $sha1;
2154 }
2155
2156 public function getSha1()
2157 {
2158 return $this->sha1;
2159 }
2160 }
2161
2162 class Analytify_Google_Service_AndroidPublisher_ApkListing extends Analytify_Google_Model
2163 {
2164 public $language;
2165 public $recentChanges;
2166
2167 public function setLanguage($language)
2168 {
2169 $this->language = $language;
2170 }
2171
2172 public function getLanguage()
2173 {
2174 return $this->language;
2175 }
2176
2177 public function setRecentChanges($recentChanges)
2178 {
2179 $this->recentChanges = $recentChanges;
2180 }
2181
2182 public function getRecentChanges()
2183 {
2184 return $this->recentChanges;
2185 }
2186 }
2187
2188 class Analytify_Google_Service_AndroidPublisher_ApkListingsListResponse extends Analytify_Google_Collection
2189 {
2190 public $kind;
2191 protected $listingsType = 'Analytify_Google_Service_AndroidPublisher_ApkListing';
2192 protected $listingsDataType = 'array';
2193
2194 public function setKind($kind)
2195 {
2196 $this->kind = $kind;
2197 }
2198
2199 public function getKind()
2200 {
2201 return $this->kind;
2202 }
2203
2204 public function setListings($listings)
2205 {
2206 $this->listings = $listings;
2207 }
2208
2209 public function getListings()
2210 {
2211 return $this->listings;
2212 }
2213 }
2214
2215 class Analytify_Google_Service_AndroidPublisher_ApksListResponse extends Analytify_Google_Collection
2216 {
2217 protected $apksType = 'Analytify_Google_Service_AndroidPublisher_Apk';
2218 protected $apksDataType = 'array';
2219 public $kind;
2220
2221 public function setApks($apks)
2222 {
2223 $this->apks = $apks;
2224 }
2225
2226 public function getApks()
2227 {
2228 return $this->apks;
2229 }
2230
2231 public function setKind($kind)
2232 {
2233 $this->kind = $kind;
2234 }
2235
2236 public function getKind()
2237 {
2238 return $this->kind;
2239 }
2240 }
2241
2242 class Analytify_Google_Service_AndroidPublisher_AppDetails extends Analytify_Google_Model
2243 {
2244 public $contactEmail;
2245 public $contactPhone;
2246 public $contactWebsite;
2247 public $defaultLanguage;
2248
2249 public function setContactEmail($contactEmail)
2250 {
2251 $this->contactEmail = $contactEmail;
2252 }
2253
2254 public function getContactEmail()
2255 {
2256 return $this->contactEmail;
2257 }
2258
2259 public function setContactPhone($contactPhone)
2260 {
2261 $this->contactPhone = $contactPhone;
2262 }
2263
2264 public function getContactPhone()
2265 {
2266 return $this->contactPhone;
2267 }
2268
2269 public function setContactWebsite($contactWebsite)
2270 {
2271 $this->contactWebsite = $contactWebsite;
2272 }
2273
2274 public function getContactWebsite()
2275 {
2276 return $this->contactWebsite;
2277 }
2278
2279 public function setDefaultLanguage($defaultLanguage)
2280 {
2281 $this->defaultLanguage = $defaultLanguage;
2282 }
2283
2284 public function getDefaultLanguage()
2285 {
2286 return $this->defaultLanguage;
2287 }
2288 }
2289
2290 class Analytify_Google_Service_AndroidPublisher_AppEdit extends Analytify_Google_Model
2291 {
2292 public $expiryTimeSeconds;
2293 public $id;
2294
2295 public function setExpiryTimeSeconds($expiryTimeSeconds)
2296 {
2297 $this->expiryTimeSeconds = $expiryTimeSeconds;
2298 }
2299
2300 public function getExpiryTimeSeconds()
2301 {
2302 return $this->expiryTimeSeconds;
2303 }
2304
2305 public function setId($id)
2306 {
2307 $this->id = $id;
2308 }
2309
2310 public function getId()
2311 {
2312 return $this->id;
2313 }
2314 }
2315
2316 class Analytify_Google_Service_AndroidPublisher_ExpansionFile extends Analytify_Google_Model
2317 {
2318 public $fileSize;
2319 public $referencesVersion;
2320
2321 public function setFileSize($fileSize)
2322 {
2323 $this->fileSize = $fileSize;
2324 }
2325
2326 public function getFileSize()
2327 {
2328 return $this->fileSize;
2329 }
2330
2331 public function setReferencesVersion($referencesVersion)
2332 {
2333 $this->referencesVersion = $referencesVersion;
2334 }
2335
2336 public function getReferencesVersion()
2337 {
2338 return $this->referencesVersion;
2339 }
2340 }
2341
2342 class Analytify_Google_Service_AndroidPublisher_ExpansionFilesUploadResponse extends Analytify_Google_Model
2343 {
2344 protected $expansionFileType = 'Analytify_Google_Service_AndroidPublisher_ExpansionFile';
2345 protected $expansionFileDataType = '';
2346
2347 public function setExpansionFile(Analytify_Google_Service_AndroidPublisher_ExpansionFile $expansionFile)
2348 {
2349 $this->expansionFile = $expansionFile;
2350 }
2351
2352 public function getExpansionFile()
2353 {
2354 return $this->expansionFile;
2355 }
2356 }
2357
2358 class Analytify_Google_Service_AndroidPublisher_Image extends Analytify_Google_Model
2359 {
2360 public $id;
2361 public $sha1;
2362 public $url;
2363
2364 public function setId($id)
2365 {
2366 $this->id = $id;
2367 }
2368
2369 public function getId()
2370 {
2371 return $this->id;
2372 }
2373
2374 public function setSha1($sha1)
2375 {
2376 $this->sha1 = $sha1;
2377 }
2378
2379 public function getSha1()
2380 {
2381 return $this->sha1;
2382 }
2383
2384 public function setUrl($url)
2385 {
2386 $this->url = $url;
2387 }
2388
2389 public function getUrl()
2390 {
2391 return $this->url;
2392 }
2393 }
2394
2395 class Analytify_Google_Service_AndroidPublisher_ImagesDeleteAllResponse extends Analytify_Google_Collection
2396 {
2397 protected $deletedType = 'Analytify_Google_Service_AndroidPublisher_Image';
2398 protected $deletedDataType = 'array';
2399
2400 public function setDeleted($deleted)
2401 {
2402 $this->deleted = $deleted;
2403 }
2404
2405 public function getDeleted()
2406 {
2407 return $this->deleted;
2408 }
2409 }
2410
2411 class Analytify_Google_Service_AndroidPublisher_ImagesListResponse extends Analytify_Google_Collection
2412 {
2413 protected $imagesType = 'Analytify_Google_Service_AndroidPublisher_Image';
2414 protected $imagesDataType = 'array';
2415
2416 public function setImages($images)
2417 {
2418 $this->images = $images;
2419 }
2420
2421 public function getImages()
2422 {
2423 return $this->images;
2424 }
2425 }
2426
2427 class Analytify_Google_Service_AndroidPublisher_ImagesUploadResponse extends Analytify_Google_Model
2428 {
2429 protected $imageType = 'Analytify_Google_Service_AndroidPublisher_Image';
2430 protected $imageDataType = '';
2431
2432 public function setImage(Analytify_Google_Service_AndroidPublisher_Image $image)
2433 {
2434 $this->image = $image;
2435 }
2436
2437 public function getImage()
2438 {
2439 return $this->image;
2440 }
2441 }
2442
2443 class Analytify_Google_Service_AndroidPublisher_InAppProduct extends Analytify_Google_Model
2444 {
2445 public $defaultLanguage;
2446 protected $defaultPriceType = 'Analytify_Google_Service_AndroidPublisher_Price';
2447 protected $defaultPriceDataType = '';
2448 protected $listingsType = 'Analytify_Google_Service_AndroidPublisher_InAppProductListing';
2449 protected $listingsDataType = 'map';
2450 public $packageName;
2451 protected $pricesType = 'Analytify_Google_Service_AndroidPublisher_Price';
2452 protected $pricesDataType = 'map';
2453 public $purchaseType;
2454 public $sku;
2455 public $status;
2456 public $subscriptionPeriod;
2457 public $trialPeriod;
2458
2459 public function setDefaultLanguage($defaultLanguage)
2460 {
2461 $this->defaultLanguage = $defaultLanguage;
2462 }
2463
2464 public function getDefaultLanguage()
2465 {
2466 return $this->defaultLanguage;
2467 }
2468
2469 public function setDefaultPrice(Analytify_Google_Service_AndroidPublisher_Price $defaultPrice)
2470 {
2471 $this->defaultPrice = $defaultPrice;
2472 }
2473
2474 public function getDefaultPrice()
2475 {
2476 return $this->defaultPrice;
2477 }
2478
2479 public function setListings($listings)
2480 {
2481 $this->listings = $listings;
2482 }
2483
2484 public function getListings()
2485 {
2486 return $this->listings;
2487 }
2488
2489 public function setPackageName($packageName)
2490 {
2491 $this->packageName = $packageName;
2492 }
2493
2494 public function getPackageName()
2495 {
2496 return $this->packageName;
2497 }
2498
2499 public function setPrices($prices)
2500 {
2501 $this->prices = $prices;
2502 }
2503
2504 public function getPrices()
2505 {
2506 return $this->prices;
2507 }
2508
2509 public function setPurchaseType($purchaseType)
2510 {
2511 $this->purchaseType = $purchaseType;
2512 }
2513
2514 public function getPurchaseType()
2515 {
2516 return $this->purchaseType;
2517 }
2518
2519 public function setSku($sku)
2520 {
2521 $this->sku = $sku;
2522 }
2523
2524 public function getSku()
2525 {
2526 return $this->sku;
2527 }
2528
2529 public function setStatus($status)
2530 {
2531 $this->status = $status;
2532 }
2533
2534 public function getStatus()
2535 {
2536 return $this->status;
2537 }
2538
2539 public function setSubscriptionPeriod($subscriptionPeriod)
2540 {
2541 $this->subscriptionPeriod = $subscriptionPeriod;
2542 }
2543
2544 public function getSubscriptionPeriod()
2545 {
2546 return $this->subscriptionPeriod;
2547 }
2548
2549 public function setTrialPeriod($trialPeriod)
2550 {
2551 $this->trialPeriod = $trialPeriod;
2552 }
2553
2554 public function getTrialPeriod()
2555 {
2556 return $this->trialPeriod;
2557 }
2558 }
2559
2560 class Analytify_Google_Service_AndroidPublisher_InAppProductListing extends Analytify_Google_Model
2561 {
2562 public $description;
2563 public $title;
2564
2565 public function setDescription($description)
2566 {
2567 $this->description = $description;
2568 }
2569
2570 public function getDescription()
2571 {
2572 return $this->description;
2573 }
2574
2575 public function setTitle($title)
2576 {
2577 $this->title = $title;
2578 }
2579
2580 public function getTitle()
2581 {
2582 return $this->title;
2583 }
2584 }
2585
2586 class Analytify_Google_Service_AndroidPublisher_InAppProductListings extends Analytify_Google_Model
2587 {
2588
2589 }
2590
2591 class Analytify_Google_Service_AndroidPublisher_InAppProductPrices extends Analytify_Google_Model
2592 {
2593
2594 }
2595
2596 class Analytify_Google_Service_AndroidPublisher_InappproductsBatchRequest extends Analytify_Google_Collection
2597 {
2598 protected $entrysType = 'Analytify_Google_Service_AndroidPublisher_InappproductsBatchRequestEntry';
2599 protected $entrysDataType = 'array';
2600
2601 public function setEntrys($entrys)
2602 {
2603 $this->entrys = $entrys;
2604 }
2605
2606 public function getEntrys()
2607 {
2608 return $this->entrys;
2609 }
2610 }
2611
2612 class Analytify_Google_Service_AndroidPublisher_InappproductsBatchRequestEntry extends Analytify_Google_Model
2613 {
2614 public $batchId;
2615 protected $inappproductsinsertrequestType = 'Analytify_Google_Service_AndroidPublisher_InappproductsInsertRequest';
2616 protected $inappproductsinsertrequestDataType = '';
2617 protected $inappproductsupdaterequestType = 'Analytify_Google_Service_AndroidPublisher_InappproductsUpdateRequest';
2618 protected $inappproductsupdaterequestDataType = '';
2619 public $methodName;
2620
2621 public function setBatchId($batchId)
2622 {
2623 $this->batchId = $batchId;
2624 }
2625
2626 public function getBatchId()
2627 {
2628 return $this->batchId;
2629 }
2630
2631 public function setInappproductsinsertrequest(Analytify_Google_Service_AndroidPublisher_InappproductsInsertRequest $inappproductsinsertrequest)
2632 {
2633 $this->inappproductsinsertrequest = $inappproductsinsertrequest;
2634 }
2635
2636 public function getInappproductsinsertrequest()
2637 {
2638 return $this->inappproductsinsertrequest;
2639 }
2640
2641 public function setInappproductsupdaterequest(Analytify_Google_Service_AndroidPublisher_InappproductsUpdateRequest $inappproductsupdaterequest)
2642 {
2643 $this->inappproductsupdaterequest = $inappproductsupdaterequest;
2644 }
2645
2646 public function getInappproductsupdaterequest()
2647 {
2648 return $this->inappproductsupdaterequest;
2649 }
2650
2651 public function setMethodName($methodName)
2652 {
2653 $this->methodName = $methodName;
2654 }
2655
2656 public function getMethodName()
2657 {
2658 return $this->methodName;
2659 }
2660 }
2661
2662 class Analytify_Google_Service_AndroidPublisher_InappproductsBatchResponse extends Analytify_Google_Collection
2663 {
2664 protected $entrysType = 'Analytify_Google_Service_AndroidPublisher_InappproductsBatchResponseEntry';
2665 protected $entrysDataType = 'array';
2666 public $kind;
2667
2668 public function setEntrys($entrys)
2669 {
2670 $this->entrys = $entrys;
2671 }
2672
2673 public function getEntrys()
2674 {
2675 return $this->entrys;
2676 }
2677
2678 public function setKind($kind)
2679 {
2680 $this->kind = $kind;
2681 }
2682
2683 public function getKind()
2684 {
2685 return $this->kind;
2686 }
2687 }
2688
2689 class Analytify_Google_Service_AndroidPublisher_InappproductsBatchResponseEntry extends Analytify_Google_Model
2690 {
2691 public $batchId;
2692 protected $inappproductsinsertresponseType = 'Analytify_Google_Service_AndroidPublisher_InappproductsInsertResponse';
2693 protected $inappproductsinsertresponseDataType = '';
2694 protected $inappproductsupdateresponseType = 'Analytify_Google_Service_AndroidPublisher_InappproductsUpdateResponse';
2695 protected $inappproductsupdateresponseDataType = '';
2696
2697 public function setBatchId($batchId)
2698 {
2699 $this->batchId = $batchId;
2700 }
2701
2702 public function getBatchId()
2703 {
2704 return $this->batchId;
2705 }
2706
2707 public function setInappproductsinsertresponse(Analytify_Google_Service_AndroidPublisher_InappproductsInsertResponse $inappproductsinsertresponse)
2708 {
2709 $this->inappproductsinsertresponse = $inappproductsinsertresponse;
2710 }
2711
2712 public function getInappproductsinsertresponse()
2713 {
2714 return $this->inappproductsinsertresponse;
2715 }
2716
2717 public function setInappproductsupdateresponse(Analytify_Google_Service_AndroidPublisher_InappproductsUpdateResponse $inappproductsupdateresponse)
2718 {
2719 $this->inappproductsupdateresponse = $inappproductsupdateresponse;
2720 }
2721
2722 public function getInappproductsupdateresponse()
2723 {
2724 return $this->inappproductsupdateresponse;
2725 }
2726 }
2727
2728 class Analytify_Google_Service_AndroidPublisher_InappproductsInsertRequest extends Analytify_Google_Model
2729 {
2730 protected $inappproductType = 'Analytify_Google_Service_AndroidPublisher_InAppProduct';
2731 protected $inappproductDataType = '';
2732
2733 public function setInappproduct(Analytify_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
2734 {
2735 $this->inappproduct = $inappproduct;
2736 }
2737
2738 public function getInappproduct()
2739 {
2740 return $this->inappproduct;
2741 }
2742 }
2743
2744 class Analytify_Google_Service_AndroidPublisher_InappproductsInsertResponse extends Analytify_Google_Model
2745 {
2746 protected $inappproductType = 'Analytify_Google_Service_AndroidPublisher_InAppProduct';
2747 protected $inappproductDataType = '';
2748
2749 public function setInappproduct(Analytify_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
2750 {
2751 $this->inappproduct = $inappproduct;
2752 }
2753
2754 public function getInappproduct()
2755 {
2756 return $this->inappproduct;
2757 }
2758 }
2759
2760 class Analytify_Google_Service_AndroidPublisher_InappproductsListResponse extends Analytify_Google_Collection
2761 {
2762 protected $inappproductType = 'Analytify_Google_Service_AndroidPublisher_InAppProduct';
2763 protected $inappproductDataType = 'array';
2764 public $kind;
2765 protected $pageInfoType = 'Analytify_Google_Service_AndroidPublisher_PageInfo';
2766 protected $pageInfoDataType = '';
2767 protected $tokenPaginationType = 'Analytify_Google_Service_AndroidPublisher_TokenPagination';
2768 protected $tokenPaginationDataType = '';
2769
2770 public function setInappproduct($inappproduct)
2771 {
2772 $this->inappproduct = $inappproduct;
2773 }
2774
2775 public function getInappproduct()
2776 {
2777 return $this->inappproduct;
2778 }
2779
2780 public function setKind($kind)
2781 {
2782 $this->kind = $kind;
2783 }
2784
2785 public function getKind()
2786 {
2787 return $this->kind;
2788 }
2789
2790 public function setPageInfo(Analytify_Google_Service_AndroidPublisher_PageInfo $pageInfo)
2791 {
2792 $this->pageInfo = $pageInfo;
2793 }
2794
2795 public function getPageInfo()
2796 {
2797 return $this->pageInfo;
2798 }
2799
2800 public function setTokenPagination(Analytify_Google_Service_AndroidPublisher_TokenPagination $tokenPagination)
2801 {
2802 $this->tokenPagination = $tokenPagination;
2803 }
2804
2805 public function getTokenPagination()
2806 {
2807 return $this->tokenPagination;
2808 }
2809 }
2810
2811 class Analytify_Google_Service_AndroidPublisher_InappproductsUpdateRequest extends Analytify_Google_Model
2812 {
2813 protected $inappproductType = 'Analytify_Google_Service_AndroidPublisher_InAppProduct';
2814 protected $inappproductDataType = '';
2815
2816 public function setInappproduct(Analytify_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
2817 {
2818 $this->inappproduct = $inappproduct;
2819 }
2820
2821 public function getInappproduct()
2822 {
2823 return $this->inappproduct;
2824 }
2825 }
2826
2827 class Analytify_Google_Service_AndroidPublisher_InappproductsUpdateResponse extends Analytify_Google_Model
2828 {
2829 protected $inappproductType = 'Analytify_Google_Service_AndroidPublisher_InAppProduct';
2830 protected $inappproductDataType = '';
2831
2832 public function setInappproduct(Analytify_Google_Service_AndroidPublisher_InAppProduct $inappproduct)
2833 {
2834 $this->inappproduct = $inappproduct;
2835 }
2836
2837 public function getInappproduct()
2838 {
2839 return $this->inappproduct;
2840 }
2841 }
2842
2843 class Analytify_Google_Service_AndroidPublisher_Listing extends Analytify_Google_Model
2844 {
2845 public $fullDescription;
2846 public $language;
2847 public $shortDescription;
2848 public $title;
2849 public $video;
2850
2851 public function setFullDescription($fullDescription)
2852 {
2853 $this->fullDescription = $fullDescription;
2854 }
2855
2856 public function getFullDescription()
2857 {
2858 return $this->fullDescription;
2859 }
2860
2861 public function setLanguage($language)
2862 {
2863 $this->language = $language;
2864 }
2865
2866 public function getLanguage()
2867 {
2868 return $this->language;
2869 }
2870
2871 public function setShortDescription($shortDescription)
2872 {
2873 $this->shortDescription = $shortDescription;
2874 }
2875
2876 public function getShortDescription()
2877 {
2878 return $this->shortDescription;
2879 }
2880
2881 public function setTitle($title)
2882 {
2883 $this->title = $title;
2884 }
2885
2886 public function getTitle()
2887 {
2888 return $this->title;
2889 }
2890
2891 public function setVideo($video)
2892 {
2893 $this->video = $video;
2894 }
2895
2896 public function getVideo()
2897 {
2898 return $this->video;
2899 }
2900 }
2901
2902 class Analytify_Google_Service_AndroidPublisher_ListingsListResponse extends Analytify_Google_Collection
2903 {
2904 public $kind;
2905 protected $listingsType = 'Analytify_Google_Service_AndroidPublisher_Listing';
2906 protected $listingsDataType = 'array';
2907
2908 public function setKind($kind)
2909 {
2910 $this->kind = $kind;
2911 }
2912
2913 public function getKind()
2914 {
2915 return $this->kind;
2916 }
2917
2918 public function setListings($listings)
2919 {
2920 $this->listings = $listings;
2921 }
2922
2923 public function getListings()
2924 {
2925 return $this->listings;
2926 }
2927 }
2928
2929 class Analytify_Google_Service_AndroidPublisher_PageInfo extends Analytify_Google_Model
2930 {
2931 public $resultPerPage;
2932 public $startIndex;
2933 public $totalResults;
2934
2935 public function setResultPerPage($resultPerPage)
2936 {
2937 $this->resultPerPage = $resultPerPage;
2938 }
2939
2940 public function getResultPerPage()
2941 {
2942 return $this->resultPerPage;
2943 }
2944
2945 public function setStartIndex($startIndex)
2946 {
2947 $this->startIndex = $startIndex;
2948 }
2949
2950 public function getStartIndex()
2951 {
2952 return $this->startIndex;
2953 }
2954
2955 public function setTotalResults($totalResults)
2956 {
2957 $this->totalResults = $totalResults;
2958 }
2959
2960 public function getTotalResults()
2961 {
2962 return $this->totalResults;
2963 }
2964 }
2965
2966 class Analytify_Google_Service_AndroidPublisher_Price extends Analytify_Google_Model
2967 {
2968 public $currency;
2969 public $priceMicros;
2970
2971 public function setCurrency($currency)
2972 {
2973 $this->currency = $currency;
2974 }
2975
2976 public function getCurrency()
2977 {
2978 return $this->currency;
2979 }
2980
2981 public function setPriceMicros($priceMicros)
2982 {
2983 $this->priceMicros = $priceMicros;
2984 }
2985
2986 public function getPriceMicros()
2987 {
2988 return $this->priceMicros;
2989 }
2990 }
2991
2992 class Analytify_Google_Service_AndroidPublisher_ProductPurchase extends Analytify_Google_Model
2993 {
2994 public $consumptionState;
2995 public $developerPayload;
2996 public $kind;
2997 public $purchaseState;
2998 public $purchaseTimeMillis;
2999
3000 public function setConsumptionState($consumptionState)
3001 {
3002 $this->consumptionState = $consumptionState;
3003 }
3004
3005 public function getConsumptionState()
3006 {
3007 return $this->consumptionState;
3008 }
3009
3010 public function setDeveloperPayload($developerPayload)
3011 {
3012 $this->developerPayload = $developerPayload;
3013 }
3014
3015 public function getDeveloperPayload()
3016 {
3017 return $this->developerPayload;
3018 }
3019
3020 public function setKind($kind)
3021 {
3022 $this->kind = $kind;
3023 }
3024
3025 public function getKind()
3026 {
3027 return $this->kind;
3028 }
3029
3030 public function setPurchaseState($purchaseState)
3031 {
3032 $this->purchaseState = $purchaseState;
3033 }
3034
3035 public function getPurchaseState()
3036 {
3037 return $this->purchaseState;
3038 }
3039
3040 public function setPurchaseTimeMillis($purchaseTimeMillis)
3041 {
3042 $this->purchaseTimeMillis = $purchaseTimeMillis;
3043 }
3044
3045 public function getPurchaseTimeMillis()
3046 {
3047 return $this->purchaseTimeMillis;
3048 }
3049 }
3050
3051 class Analytify_Google_Service_AndroidPublisher_SubscriptionPurchase extends Analytify_Google_Model
3052 {
3053 public $autoRenewing;
3054 public $expiryTimeMillis;
3055 public $kind;
3056 public $startTimeMillis;
3057
3058 public function setAutoRenewing($autoRenewing)
3059 {
3060 $this->autoRenewing = $autoRenewing;
3061 }
3062
3063 public function getAutoRenewing()
3064 {
3065 return $this->autoRenewing;
3066 }
3067
3068 public function setExpiryTimeMillis($expiryTimeMillis)
3069 {
3070 $this->expiryTimeMillis = $expiryTimeMillis;
3071 }
3072
3073 public function getExpiryTimeMillis()
3074 {
3075 return $this->expiryTimeMillis;
3076 }
3077
3078 public function setKind($kind)
3079 {
3080 $this->kind = $kind;
3081 }
3082
3083 public function getKind()
3084 {
3085 return $this->kind;
3086 }
3087
3088 public function setStartTimeMillis($startTimeMillis)
3089 {
3090 $this->startTimeMillis = $startTimeMillis;
3091 }
3092
3093 public function getStartTimeMillis()
3094 {
3095 return $this->startTimeMillis;
3096 }
3097 }
3098
3099 class Analytify_Google_Service_AndroidPublisher_Testers extends Analytify_Google_Collection
3100 {
3101 public $googleGroups;
3102 public $googlePlusCommunities;
3103
3104 public function setGoogleGroups($googleGroups)
3105 {
3106 $this->googleGroups = $googleGroups;
3107 }
3108
3109 public function getGoogleGroups()
3110 {
3111 return $this->googleGroups;
3112 }
3113
3114 public function setGooglePlusCommunities($googlePlusCommunities)
3115 {
3116 $this->googlePlusCommunities = $googlePlusCommunities;
3117 }
3118
3119 public function getGooglePlusCommunities()
3120 {
3121 return $this->googlePlusCommunities;
3122 }
3123 }
3124
3125 class Analytify_Google_Service_AndroidPublisher_TokenPagination extends Analytify_Google_Model
3126 {
3127 public $nextPageToken;
3128 public $previousPageToken;
3129
3130 public function setNextPageToken($nextPageToken)
3131 {
3132 $this->nextPageToken = $nextPageToken;
3133 }
3134
3135 public function getNextPageToken()
3136 {
3137 return $this->nextPageToken;
3138 }
3139
3140 public function setPreviousPageToken($previousPageToken)
3141 {
3142 $this->previousPageToken = $previousPageToken;
3143 }
3144
3145 public function getPreviousPageToken()
3146 {
3147 return $this->previousPageToken;
3148 }
3149 }
3150
3151 class Analytify_Google_Service_AndroidPublisher_Track extends Analytify_Google_Collection
3152 {
3153 public $track;
3154 public $userFraction;
3155 public $versionCodes;
3156
3157 public function setTrack($track)
3158 {
3159 $this->track = $track;
3160 }
3161
3162 public function getTrack()
3163 {
3164 return $this->track;
3165 }
3166
3167 public function setUserFraction($userFraction)
3168 {
3169 $this->userFraction = $userFraction;
3170 }
3171
3172 public function getUserFraction()
3173 {
3174 return $this->userFraction;
3175 }
3176
3177 public function setVersionCodes($versionCodes)
3178 {
3179 $this->versionCodes = $versionCodes;
3180 }
3181
3182 public function getVersionCodes()
3183 {
3184 return $this->versionCodes;
3185 }
3186 }
3187
3188 class Analytify_Google_Service_AndroidPublisher_TracksListResponse extends Analytify_Google_Collection
3189 {
3190 public $kind;
3191 protected $tracksType = 'Analytify_Google_Service_AndroidPublisher_Track';
3192 protected $tracksDataType = 'array';
3193
3194 public function setKind($kind)
3195 {
3196 $this->kind = $kind;
3197 }
3198
3199 public function getKind()
3200 {
3201 return $this->kind;
3202 }
3203
3204 public function setTracks($tracks)
3205 {
3206 $this->tracks = $tracks;
3207 }
3208
3209 public function getTracks()
3210 {
3211 return $this->tracks;
3212 }
3213 }
3214