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