Search moodle.org's
Developer Documentation

See Release Notes

  • Bug fixes for general core bugs in 3.10.x will end 8 November 2021 (12 months).
  • Bug fixes for security issues in 3.10.x will end 9 May 2022 (18 months).
  • PHP version: minimum PHP 7.2.0 Note: minimum PHP version has increased since Moodle 3.8. PHP 7.3.x and 7.4.x are supported too.

Differences Between: [Versions 310 and 402] [Versions 310 and 403]

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