1<?php
2/*
3 * Copyright 2014 Google Inc.
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
6 * use this file except in compliance with the License. You may obtain a copy of
7 * the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
14 * License for the specific language governing permissions and limitations under
15 * the License.
16 */
17
18namespace Google\Service;
19
20use Google\Client;
21
22/**
23 * Service definition for ShoppingContent (v2.1).
24 *
25 * <p>
26 * Manage your product listings and accounts for Google Shopping</p>
27 *
28 * <p>
29 * For more information about this service, see the API
30 * <a href="https://developers.google.com/shopping-content/v2/" target="_blank">Documentation</a>
31 * </p>
32 *
33 * @author Google, Inc.
34 */
35class ShoppingContent extends \Google\Service
36{
37  /** Manage your product listings and accounts for Google Shopping. */
38  const CONTENT =
39      "https://www.googleapis.com/auth/content";
40
41  public $accounts;
42  public $accounts_credentials;
43  public $accounts_labels;
44  public $accounts_returncarrier;
45  public $accountsbyexternalsellerid;
46  public $accountstatuses;
47  public $accountstatusesbyexternalsellerid;
48  public $accounttax;
49  public $buyongoogleprograms;
50  public $collections;
51  public $collectionstatuses;
52  public $csses;
53  public $datafeeds;
54  public $datafeedstatuses;
55  public $freelistingsprogram;
56  public $liasettings;
57  public $localinventory;
58  public $orderinvoices;
59  public $orderreports;
60  public $orderreturns;
61  public $orderreturns_labels;
62  public $orders;
63  public $ordertrackingsignals;
64  public $pos;
65  public $productdeliverytime;
66  public $products;
67  public $productstatuses;
68  public $productstatuses_repricingreports;
69  public $promotions;
70  public $pubsubnotificationsettings;
71  public $regionalinventory;
72  public $regions;
73  public $reports;
74  public $repricingrules;
75  public $repricingrules_repricingreports;
76  public $returnaddress;
77  public $returnpolicy;
78  public $returnpolicyonline;
79  public $settlementreports;
80  public $settlementtransactions;
81  public $shippingsettings;
82  public $shoppingadsprogram;
83
84  /**
85   * Constructs the internal representation of the ShoppingContent service.
86   *
87   * @param Client|array $clientOrConfig The client used to deliver requests, or a
88   *                                     config array to pass to a new Client instance.
89   * @param string $rootUrl The root URL used for requests to the service.
90   */
91  public function __construct($clientOrConfig = [], $rootUrl = null)
92  {
93    parent::__construct($clientOrConfig);
94    $this->rootUrl = $rootUrl ?: 'https://shoppingcontent.googleapis.com/';
95    $this->servicePath = 'content/v2.1/';
96    $this->batchPath = 'batch';
97    $this->version = 'v2.1';
98    $this->serviceName = 'content';
99
100    $this->accounts = new ShoppingContent\Resource\Accounts(
101        $this,
102        $this->serviceName,
103        'accounts',
104        [
105          'methods' => [
106            'authinfo' => [
107              'path' => 'accounts/authinfo',
108              'httpMethod' => 'GET',
109              'parameters' => [],
110            ],'claimwebsite' => [
111              'path' => '{merchantId}/accounts/{accountId}/claimwebsite',
112              'httpMethod' => 'POST',
113              'parameters' => [
114                'merchantId' => [
115                  'location' => 'path',
116                  'type' => 'string',
117                  'required' => true,
118                ],
119                'accountId' => [
120                  'location' => 'path',
121                  'type' => 'string',
122                  'required' => true,
123                ],
124                'overwrite' => [
125                  'location' => 'query',
126                  'type' => 'boolean',
127                ],
128              ],
129            ],'custombatch' => [
130              'path' => 'accounts/batch',
131              'httpMethod' => 'POST',
132              'parameters' => [],
133            ],'delete' => [
134              'path' => '{merchantId}/accounts/{accountId}',
135              'httpMethod' => 'DELETE',
136              'parameters' => [
137                'merchantId' => [
138                  'location' => 'path',
139                  'type' => 'string',
140                  'required' => true,
141                ],
142                'accountId' => [
143                  'location' => 'path',
144                  'type' => 'string',
145                  'required' => true,
146                ],
147                'force' => [
148                  'location' => 'query',
149                  'type' => 'boolean',
150                ],
151              ],
152            ],'get' => [
153              'path' => '{merchantId}/accounts/{accountId}',
154              'httpMethod' => 'GET',
155              'parameters' => [
156                'merchantId' => [
157                  'location' => 'path',
158                  'type' => 'string',
159                  'required' => true,
160                ],
161                'accountId' => [
162                  'location' => 'path',
163                  'type' => 'string',
164                  'required' => true,
165                ],
166                'view' => [
167                  'location' => 'query',
168                  'type' => 'string',
169                ],
170              ],
171            ],'insert' => [
172              'path' => '{merchantId}/accounts',
173              'httpMethod' => 'POST',
174              'parameters' => [
175                'merchantId' => [
176                  'location' => 'path',
177                  'type' => 'string',
178                  'required' => true,
179                ],
180              ],
181            ],'link' => [
182              'path' => '{merchantId}/accounts/{accountId}/link',
183              'httpMethod' => 'POST',
184              'parameters' => [
185                'merchantId' => [
186                  'location' => 'path',
187                  'type' => 'string',
188                  'required' => true,
189                ],
190                'accountId' => [
191                  'location' => 'path',
192                  'type' => 'string',
193                  'required' => true,
194                ],
195              ],
196            ],'list' => [
197              'path' => '{merchantId}/accounts',
198              'httpMethod' => 'GET',
199              'parameters' => [
200                'merchantId' => [
201                  'location' => 'path',
202                  'type' => 'string',
203                  'required' => true,
204                ],
205                'label' => [
206                  'location' => 'query',
207                  'type' => 'string',
208                ],
209                'maxResults' => [
210                  'location' => 'query',
211                  'type' => 'integer',
212                ],
213                'name' => [
214                  'location' => 'query',
215                  'type' => 'string',
216                ],
217                'pageToken' => [
218                  'location' => 'query',
219                  'type' => 'string',
220                ],
221                'view' => [
222                  'location' => 'query',
223                  'type' => 'string',
224                ],
225              ],
226            ],'listlinks' => [
227              'path' => '{merchantId}/accounts/{accountId}/listlinks',
228              'httpMethod' => 'GET',
229              'parameters' => [
230                'merchantId' => [
231                  'location' => 'path',
232                  'type' => 'string',
233                  'required' => true,
234                ],
235                'accountId' => [
236                  'location' => 'path',
237                  'type' => 'string',
238                  'required' => true,
239                ],
240                'maxResults' => [
241                  'location' => 'query',
242                  'type' => 'integer',
243                ],
244                'pageToken' => [
245                  'location' => 'query',
246                  'type' => 'string',
247                ],
248              ],
249            ],'requestphoneverification' => [
250              'path' => '{merchantId}/accounts/{accountId}/requestphoneverification',
251              'httpMethod' => 'POST',
252              'parameters' => [
253                'merchantId' => [
254                  'location' => 'path',
255                  'type' => 'string',
256                  'required' => true,
257                ],
258                'accountId' => [
259                  'location' => 'path',
260                  'type' => 'string',
261                  'required' => true,
262                ],
263              ],
264            ],'update' => [
265              'path' => '{merchantId}/accounts/{accountId}',
266              'httpMethod' => 'PUT',
267              'parameters' => [
268                'merchantId' => [
269                  'location' => 'path',
270                  'type' => 'string',
271                  'required' => true,
272                ],
273                'accountId' => [
274                  'location' => 'path',
275                  'type' => 'string',
276                  'required' => true,
277                ],
278              ],
279            ],'updatelabels' => [
280              'path' => '{merchantId}/accounts/{accountId}/updatelabels',
281              'httpMethod' => 'POST',
282              'parameters' => [
283                'merchantId' => [
284                  'location' => 'path',
285                  'type' => 'string',
286                  'required' => true,
287                ],
288                'accountId' => [
289                  'location' => 'path',
290                  'type' => 'string',
291                  'required' => true,
292                ],
293              ],
294            ],'verifyphonenumber' => [
295              'path' => '{merchantId}/accounts/{accountId}/verifyphonenumber',
296              'httpMethod' => 'POST',
297              'parameters' => [
298                'merchantId' => [
299                  'location' => 'path',
300                  'type' => 'string',
301                  'required' => true,
302                ],
303                'accountId' => [
304                  'location' => 'path',
305                  'type' => 'string',
306                  'required' => true,
307                ],
308              ],
309            ],
310          ]
311        ]
312    );
313    $this->accounts_credentials = new ShoppingContent\Resource\AccountsCredentials(
314        $this,
315        $this->serviceName,
316        'credentials',
317        [
318          'methods' => [
319            'create' => [
320              'path' => 'accounts/{accountId}/credentials',
321              'httpMethod' => 'POST',
322              'parameters' => [
323                'accountId' => [
324                  'location' => 'path',
325                  'type' => 'string',
326                  'required' => true,
327                ],
328              ],
329            ],
330          ]
331        ]
332    );
333    $this->accounts_labels = new ShoppingContent\Resource\AccountsLabels(
334        $this,
335        $this->serviceName,
336        'labels',
337        [
338          'methods' => [
339            'create' => [
340              'path' => 'accounts/{accountId}/labels',
341              'httpMethod' => 'POST',
342              'parameters' => [
343                'accountId' => [
344                  'location' => 'path',
345                  'type' => 'string',
346                  'required' => true,
347                ],
348              ],
349            ],'delete' => [
350              'path' => 'accounts/{accountId}/labels/{labelId}',
351              'httpMethod' => 'DELETE',
352              'parameters' => [
353                'accountId' => [
354                  'location' => 'path',
355                  'type' => 'string',
356                  'required' => true,
357                ],
358                'labelId' => [
359                  'location' => 'path',
360                  'type' => 'string',
361                  'required' => true,
362                ],
363              ],
364            ],'list' => [
365              'path' => 'accounts/{accountId}/labels',
366              'httpMethod' => 'GET',
367              'parameters' => [
368                'accountId' => [
369                  'location' => 'path',
370                  'type' => 'string',
371                  'required' => true,
372                ],
373                'pageSize' => [
374                  'location' => 'query',
375                  'type' => 'integer',
376                ],
377                'pageToken' => [
378                  'location' => 'query',
379                  'type' => 'string',
380                ],
381              ],
382            ],'patch' => [
383              'path' => 'accounts/{accountId}/labels/{labelId}',
384              'httpMethod' => 'PATCH',
385              'parameters' => [
386                'accountId' => [
387                  'location' => 'path',
388                  'type' => 'string',
389                  'required' => true,
390                ],
391                'labelId' => [
392                  'location' => 'path',
393                  'type' => 'string',
394                  'required' => true,
395                ],
396              ],
397            ],
398          ]
399        ]
400    );
401    $this->accounts_returncarrier = new ShoppingContent\Resource\AccountsReturncarrier(
402        $this,
403        $this->serviceName,
404        'returncarrier',
405        [
406          'methods' => [
407            'create' => [
408              'path' => 'accounts/{accountId}/returncarrier',
409              'httpMethod' => 'POST',
410              'parameters' => [
411                'accountId' => [
412                  'location' => 'path',
413                  'type' => 'string',
414                  'required' => true,
415                ],
416              ],
417            ],'delete' => [
418              'path' => 'accounts/{accountId}/returncarrier/{carrierAccountId}',
419              'httpMethod' => 'DELETE',
420              'parameters' => [
421                'accountId' => [
422                  'location' => 'path',
423                  'type' => 'string',
424                  'required' => true,
425                ],
426                'carrierAccountId' => [
427                  'location' => 'path',
428                  'type' => 'string',
429                  'required' => true,
430                ],
431              ],
432            ],'list' => [
433              'path' => 'accounts/{accountId}/returncarrier',
434              'httpMethod' => 'GET',
435              'parameters' => [
436                'accountId' => [
437                  'location' => 'path',
438                  'type' => 'string',
439                  'required' => true,
440                ],
441              ],
442            ],'patch' => [
443              'path' => 'accounts/{accountId}/returncarrier/{carrierAccountId}',
444              'httpMethod' => 'PATCH',
445              'parameters' => [
446                'accountId' => [
447                  'location' => 'path',
448                  'type' => 'string',
449                  'required' => true,
450                ],
451                'carrierAccountId' => [
452                  'location' => 'path',
453                  'type' => 'string',
454                  'required' => true,
455                ],
456              ],
457            ],
458          ]
459        ]
460    );
461    $this->accountsbyexternalsellerid = new ShoppingContent\Resource\Accountsbyexternalsellerid(
462        $this,
463        $this->serviceName,
464        'accountsbyexternalsellerid',
465        [
466          'methods' => [
467            'get' => [
468              'path' => '{merchantId}/accountsbyexternalsellerid/{externalSellerId}',
469              'httpMethod' => 'GET',
470              'parameters' => [
471                'merchantId' => [
472                  'location' => 'path',
473                  'type' => 'string',
474                  'required' => true,
475                ],
476                'externalSellerId' => [
477                  'location' => 'path',
478                  'type' => 'string',
479                  'required' => true,
480                ],
481              ],
482            ],
483          ]
484        ]
485    );
486    $this->accountstatuses = new ShoppingContent\Resource\Accountstatuses(
487        $this,
488        $this->serviceName,
489        'accountstatuses',
490        [
491          'methods' => [
492            'custombatch' => [
493              'path' => 'accountstatuses/batch',
494              'httpMethod' => 'POST',
495              'parameters' => [],
496            ],'get' => [
497              'path' => '{merchantId}/accountstatuses/{accountId}',
498              'httpMethod' => 'GET',
499              'parameters' => [
500                'merchantId' => [
501                  'location' => 'path',
502                  'type' => 'string',
503                  'required' => true,
504                ],
505                'accountId' => [
506                  'location' => 'path',
507                  'type' => 'string',
508                  'required' => true,
509                ],
510                'destinations' => [
511                  'location' => 'query',
512                  'type' => 'string',
513                  'repeated' => true,
514                ],
515              ],
516            ],'list' => [
517              'path' => '{merchantId}/accountstatuses',
518              'httpMethod' => 'GET',
519              'parameters' => [
520                'merchantId' => [
521                  'location' => 'path',
522                  'type' => 'string',
523                  'required' => true,
524                ],
525                'destinations' => [
526                  'location' => 'query',
527                  'type' => 'string',
528                  'repeated' => true,
529                ],
530                'maxResults' => [
531                  'location' => 'query',
532                  'type' => 'integer',
533                ],
534                'name' => [
535                  'location' => 'query',
536                  'type' => 'string',
537                ],
538                'pageToken' => [
539                  'location' => 'query',
540                  'type' => 'string',
541                ],
542              ],
543            ],
544          ]
545        ]
546    );
547    $this->accountstatusesbyexternalsellerid = new ShoppingContent\Resource\Accountstatusesbyexternalsellerid(
548        $this,
549        $this->serviceName,
550        'accountstatusesbyexternalsellerid',
551        [
552          'methods' => [
553            'get' => [
554              'path' => '{merchantId}/accountstatusesbyexternalsellerid/{externalSellerId}',
555              'httpMethod' => 'GET',
556              'parameters' => [
557                'merchantId' => [
558                  'location' => 'path',
559                  'type' => 'string',
560                  'required' => true,
561                ],
562                'externalSellerId' => [
563                  'location' => 'path',
564                  'type' => 'string',
565                  'required' => true,
566                ],
567                'destinations' => [
568                  'location' => 'query',
569                  'type' => 'string',
570                  'repeated' => true,
571                ],
572              ],
573            ],
574          ]
575        ]
576    );
577    $this->accounttax = new ShoppingContent\Resource\Accounttax(
578        $this,
579        $this->serviceName,
580        'accounttax',
581        [
582          'methods' => [
583            'custombatch' => [
584              'path' => 'accounttax/batch',
585              'httpMethod' => 'POST',
586              'parameters' => [],
587            ],'get' => [
588              'path' => '{merchantId}/accounttax/{accountId}',
589              'httpMethod' => 'GET',
590              'parameters' => [
591                'merchantId' => [
592                  'location' => 'path',
593                  'type' => 'string',
594                  'required' => true,
595                ],
596                'accountId' => [
597                  'location' => 'path',
598                  'type' => 'string',
599                  'required' => true,
600                ],
601              ],
602            ],'list' => [
603              'path' => '{merchantId}/accounttax',
604              'httpMethod' => 'GET',
605              'parameters' => [
606                'merchantId' => [
607                  'location' => 'path',
608                  'type' => 'string',
609                  'required' => true,
610                ],
611                'maxResults' => [
612                  'location' => 'query',
613                  'type' => 'integer',
614                ],
615                'pageToken' => [
616                  'location' => 'query',
617                  'type' => 'string',
618                ],
619              ],
620            ],'update' => [
621              'path' => '{merchantId}/accounttax/{accountId}',
622              'httpMethod' => 'PUT',
623              'parameters' => [
624                'merchantId' => [
625                  'location' => 'path',
626                  'type' => 'string',
627                  'required' => true,
628                ],
629                'accountId' => [
630                  'location' => 'path',
631                  'type' => 'string',
632                  'required' => true,
633                ],
634              ],
635            ],
636          ]
637        ]
638    );
639    $this->buyongoogleprograms = new ShoppingContent\Resource\Buyongoogleprograms(
640        $this,
641        $this->serviceName,
642        'buyongoogleprograms',
643        [
644          'methods' => [
645            'activate' => [
646              'path' => '{merchantId}/buyongoogleprograms/{regionCode}/activate',
647              'httpMethod' => 'POST',
648              'parameters' => [
649                'merchantId' => [
650                  'location' => 'path',
651                  'type' => 'string',
652                  'required' => true,
653                ],
654                'regionCode' => [
655                  'location' => 'path',
656                  'type' => 'string',
657                  'required' => true,
658                ],
659              ],
660            ],'get' => [
661              'path' => '{merchantId}/buyongoogleprograms/{regionCode}',
662              'httpMethod' => 'GET',
663              'parameters' => [
664                'merchantId' => [
665                  'location' => 'path',
666                  'type' => 'string',
667                  'required' => true,
668                ],
669                'regionCode' => [
670                  'location' => 'path',
671                  'type' => 'string',
672                  'required' => true,
673                ],
674              ],
675            ],'onboard' => [
676              'path' => '{merchantId}/buyongoogleprograms/{regionCode}/onboard',
677              'httpMethod' => 'POST',
678              'parameters' => [
679                'merchantId' => [
680                  'location' => 'path',
681                  'type' => 'string',
682                  'required' => true,
683                ],
684                'regionCode' => [
685                  'location' => 'path',
686                  'type' => 'string',
687                  'required' => true,
688                ],
689              ],
690            ],'patch' => [
691              'path' => '{merchantId}/buyongoogleprograms/{regionCode}',
692              'httpMethod' => 'PATCH',
693              'parameters' => [
694                'merchantId' => [
695                  'location' => 'path',
696                  'type' => 'string',
697                  'required' => true,
698                ],
699                'regionCode' => [
700                  'location' => 'path',
701                  'type' => 'string',
702                  'required' => true,
703                ],
704                'updateMask' => [
705                  'location' => 'query',
706                  'type' => 'string',
707                ],
708              ],
709            ],'pause' => [
710              'path' => '{merchantId}/buyongoogleprograms/{regionCode}/pause',
711              'httpMethod' => 'POST',
712              'parameters' => [
713                'merchantId' => [
714                  'location' => 'path',
715                  'type' => 'string',
716                  'required' => true,
717                ],
718                'regionCode' => [
719                  'location' => 'path',
720                  'type' => 'string',
721                  'required' => true,
722                ],
723              ],
724            ],'requestreview' => [
725              'path' => '{merchantId}/buyongoogleprograms/{regionCode}/requestreview',
726              'httpMethod' => 'POST',
727              'parameters' => [
728                'merchantId' => [
729                  'location' => 'path',
730                  'type' => 'string',
731                  'required' => true,
732                ],
733                'regionCode' => [
734                  'location' => 'path',
735                  'type' => 'string',
736                  'required' => true,
737                ],
738              ],
739            ],
740          ]
741        ]
742    );
743    $this->collections = new ShoppingContent\Resource\Collections(
744        $this,
745        $this->serviceName,
746        'collections',
747        [
748          'methods' => [
749            'create' => [
750              'path' => '{merchantId}/collections',
751              'httpMethod' => 'POST',
752              'parameters' => [
753                'merchantId' => [
754                  'location' => 'path',
755                  'type' => 'string',
756                  'required' => true,
757                ],
758              ],
759            ],'delete' => [
760              'path' => '{merchantId}/collections/{collectionId}',
761              'httpMethod' => 'DELETE',
762              'parameters' => [
763                'merchantId' => [
764                  'location' => 'path',
765                  'type' => 'string',
766                  'required' => true,
767                ],
768                'collectionId' => [
769                  'location' => 'path',
770                  'type' => 'string',
771                  'required' => true,
772                ],
773              ],
774            ],'get' => [
775              'path' => '{merchantId}/collections/{collectionId}',
776              'httpMethod' => 'GET',
777              'parameters' => [
778                'merchantId' => [
779                  'location' => 'path',
780                  'type' => 'string',
781                  'required' => true,
782                ],
783                'collectionId' => [
784                  'location' => 'path',
785                  'type' => 'string',
786                  'required' => true,
787                ],
788              ],
789            ],'list' => [
790              'path' => '{merchantId}/collections',
791              'httpMethod' => 'GET',
792              'parameters' => [
793                'merchantId' => [
794                  'location' => 'path',
795                  'type' => 'string',
796                  'required' => true,
797                ],
798                'pageSize' => [
799                  'location' => 'query',
800                  'type' => 'integer',
801                ],
802                'pageToken' => [
803                  'location' => 'query',
804                  'type' => 'string',
805                ],
806              ],
807            ],
808          ]
809        ]
810    );
811    $this->collectionstatuses = new ShoppingContent\Resource\Collectionstatuses(
812        $this,
813        $this->serviceName,
814        'collectionstatuses',
815        [
816          'methods' => [
817            'get' => [
818              'path' => '{merchantId}/collectionstatuses/{collectionId}',
819              'httpMethod' => 'GET',
820              'parameters' => [
821                'merchantId' => [
822                  'location' => 'path',
823                  'type' => 'string',
824                  'required' => true,
825                ],
826                'collectionId' => [
827                  'location' => 'path',
828                  'type' => 'string',
829                  'required' => true,
830                ],
831              ],
832            ],'list' => [
833              'path' => '{merchantId}/collectionstatuses',
834              'httpMethod' => 'GET',
835              'parameters' => [
836                'merchantId' => [
837                  'location' => 'path',
838                  'type' => 'string',
839                  'required' => true,
840                ],
841                'pageSize' => [
842                  'location' => 'query',
843                  'type' => 'integer',
844                ],
845                'pageToken' => [
846                  'location' => 'query',
847                  'type' => 'string',
848                ],
849              ],
850            ],
851          ]
852        ]
853    );
854    $this->csses = new ShoppingContent\Resource\Csses(
855        $this,
856        $this->serviceName,
857        'csses',
858        [
859          'methods' => [
860            'get' => [
861              'path' => '{cssGroupId}/csses/{cssDomainId}',
862              'httpMethod' => 'GET',
863              'parameters' => [
864                'cssGroupId' => [
865                  'location' => 'path',
866                  'type' => 'string',
867                  'required' => true,
868                ],
869                'cssDomainId' => [
870                  'location' => 'path',
871                  'type' => 'string',
872                  'required' => true,
873                ],
874              ],
875            ],'list' => [
876              'path' => '{cssGroupId}/csses',
877              'httpMethod' => 'GET',
878              'parameters' => [
879                'cssGroupId' => [
880                  'location' => 'path',
881                  'type' => 'string',
882                  'required' => true,
883                ],
884                'pageSize' => [
885                  'location' => 'query',
886                  'type' => 'integer',
887                ],
888                'pageToken' => [
889                  'location' => 'query',
890                  'type' => 'string',
891                ],
892              ],
893            ],'updatelabels' => [
894              'path' => '{cssGroupId}/csses/{cssDomainId}/updatelabels',
895              'httpMethod' => 'POST',
896              'parameters' => [
897                'cssGroupId' => [
898                  'location' => 'path',
899                  'type' => 'string',
900                  'required' => true,
901                ],
902                'cssDomainId' => [
903                  'location' => 'path',
904                  'type' => 'string',
905                  'required' => true,
906                ],
907              ],
908            ],
909          ]
910        ]
911    );
912    $this->datafeeds = new ShoppingContent\Resource\Datafeeds(
913        $this,
914        $this->serviceName,
915        'datafeeds',
916        [
917          'methods' => [
918            'custombatch' => [
919              'path' => 'datafeeds/batch',
920              'httpMethod' => 'POST',
921              'parameters' => [],
922            ],'delete' => [
923              'path' => '{merchantId}/datafeeds/{datafeedId}',
924              'httpMethod' => 'DELETE',
925              'parameters' => [
926                'merchantId' => [
927                  'location' => 'path',
928                  'type' => 'string',
929                  'required' => true,
930                ],
931                'datafeedId' => [
932                  'location' => 'path',
933                  'type' => 'string',
934                  'required' => true,
935                ],
936              ],
937            ],'fetchnow' => [
938              'path' => '{merchantId}/datafeeds/{datafeedId}/fetchNow',
939              'httpMethod' => 'POST',
940              'parameters' => [
941                'merchantId' => [
942                  'location' => 'path',
943                  'type' => 'string',
944                  'required' => true,
945                ],
946                'datafeedId' => [
947                  'location' => 'path',
948                  'type' => 'string',
949                  'required' => true,
950                ],
951              ],
952            ],'get' => [
953              'path' => '{merchantId}/datafeeds/{datafeedId}',
954              'httpMethod' => 'GET',
955              'parameters' => [
956                'merchantId' => [
957                  'location' => 'path',
958                  'type' => 'string',
959                  'required' => true,
960                ],
961                'datafeedId' => [
962                  'location' => 'path',
963                  'type' => 'string',
964                  'required' => true,
965                ],
966              ],
967            ],'insert' => [
968              'path' => '{merchantId}/datafeeds',
969              'httpMethod' => 'POST',
970              'parameters' => [
971                'merchantId' => [
972                  'location' => 'path',
973                  'type' => 'string',
974                  'required' => true,
975                ],
976              ],
977            ],'list' => [
978              'path' => '{merchantId}/datafeeds',
979              'httpMethod' => 'GET',
980              'parameters' => [
981                'merchantId' => [
982                  'location' => 'path',
983                  'type' => 'string',
984                  'required' => true,
985                ],
986                'maxResults' => [
987                  'location' => 'query',
988                  'type' => 'integer',
989                ],
990                'pageToken' => [
991                  'location' => 'query',
992                  'type' => 'string',
993                ],
994              ],
995            ],'update' => [
996              'path' => '{merchantId}/datafeeds/{datafeedId}',
997              'httpMethod' => 'PUT',
998              'parameters' => [
999                'merchantId' => [
1000                  'location' => 'path',
1001                  'type' => 'string',
1002                  'required' => true,
1003                ],
1004                'datafeedId' => [
1005                  'location' => 'path',
1006                  'type' => 'string',
1007                  'required' => true,
1008                ],
1009              ],
1010            ],
1011          ]
1012        ]
1013    );
1014    $this->datafeedstatuses = new ShoppingContent\Resource\Datafeedstatuses(
1015        $this,
1016        $this->serviceName,
1017        'datafeedstatuses',
1018        [
1019          'methods' => [
1020            'custombatch' => [
1021              'path' => 'datafeedstatuses/batch',
1022              'httpMethod' => 'POST',
1023              'parameters' => [],
1024            ],'get' => [
1025              'path' => '{merchantId}/datafeedstatuses/{datafeedId}',
1026              'httpMethod' => 'GET',
1027              'parameters' => [
1028                'merchantId' => [
1029                  'location' => 'path',
1030                  'type' => 'string',
1031                  'required' => true,
1032                ],
1033                'datafeedId' => [
1034                  'location' => 'path',
1035                  'type' => 'string',
1036                  'required' => true,
1037                ],
1038                'country' => [
1039                  'location' => 'query',
1040                  'type' => 'string',
1041                ],
1042                'language' => [
1043                  'location' => 'query',
1044                  'type' => 'string',
1045                ],
1046              ],
1047            ],'list' => [
1048              'path' => '{merchantId}/datafeedstatuses',
1049              'httpMethod' => 'GET',
1050              'parameters' => [
1051                'merchantId' => [
1052                  'location' => 'path',
1053                  'type' => 'string',
1054                  'required' => true,
1055                ],
1056                'maxResults' => [
1057                  'location' => 'query',
1058                  'type' => 'integer',
1059                ],
1060                'pageToken' => [
1061                  'location' => 'query',
1062                  'type' => 'string',
1063                ],
1064              ],
1065            ],
1066          ]
1067        ]
1068    );
1069    $this->freelistingsprogram = new ShoppingContent\Resource\Freelistingsprogram(
1070        $this,
1071        $this->serviceName,
1072        'freelistingsprogram',
1073        [
1074          'methods' => [
1075            'get' => [
1076              'path' => '{merchantId}/freelistingsprogram',
1077              'httpMethod' => 'GET',
1078              'parameters' => [
1079                'merchantId' => [
1080                  'location' => 'path',
1081                  'type' => 'string',
1082                  'required' => true,
1083                ],
1084              ],
1085            ],'requestreview' => [
1086              'path' => '{merchantId}/freelistingsprogram/requestreview',
1087              'httpMethod' => 'POST',
1088              'parameters' => [
1089                'merchantId' => [
1090                  'location' => 'path',
1091                  'type' => 'string',
1092                  'required' => true,
1093                ],
1094              ],
1095            ],
1096          ]
1097        ]
1098    );
1099    $this->liasettings = new ShoppingContent\Resource\Liasettings(
1100        $this,
1101        $this->serviceName,
1102        'liasettings',
1103        [
1104          'methods' => [
1105            'custombatch' => [
1106              'path' => 'liasettings/batch',
1107              'httpMethod' => 'POST',
1108              'parameters' => [],
1109            ],'get' => [
1110              'path' => '{merchantId}/liasettings/{accountId}',
1111              'httpMethod' => 'GET',
1112              'parameters' => [
1113                'merchantId' => [
1114                  'location' => 'path',
1115                  'type' => 'string',
1116                  'required' => true,
1117                ],
1118                'accountId' => [
1119                  'location' => 'path',
1120                  'type' => 'string',
1121                  'required' => true,
1122                ],
1123              ],
1124            ],'getaccessiblegmbaccounts' => [
1125              'path' => '{merchantId}/liasettings/{accountId}/accessiblegmbaccounts',
1126              'httpMethod' => 'GET',
1127              'parameters' => [
1128                'merchantId' => [
1129                  'location' => 'path',
1130                  'type' => 'string',
1131                  'required' => true,
1132                ],
1133                'accountId' => [
1134                  'location' => 'path',
1135                  'type' => 'string',
1136                  'required' => true,
1137                ],
1138              ],
1139            ],'list' => [
1140              'path' => '{merchantId}/liasettings',
1141              'httpMethod' => 'GET',
1142              'parameters' => [
1143                'merchantId' => [
1144                  'location' => 'path',
1145                  'type' => 'string',
1146                  'required' => true,
1147                ],
1148                'maxResults' => [
1149                  'location' => 'query',
1150                  'type' => 'integer',
1151                ],
1152                'pageToken' => [
1153                  'location' => 'query',
1154                  'type' => 'string',
1155                ],
1156              ],
1157            ],'listposdataproviders' => [
1158              'path' => 'liasettings/posdataproviders',
1159              'httpMethod' => 'GET',
1160              'parameters' => [],
1161            ],'requestgmbaccess' => [
1162              'path' => '{merchantId}/liasettings/{accountId}/requestgmbaccess',
1163              'httpMethod' => 'POST',
1164              'parameters' => [
1165                'merchantId' => [
1166                  'location' => 'path',
1167                  'type' => 'string',
1168                  'required' => true,
1169                ],
1170                'accountId' => [
1171                  'location' => 'path',
1172                  'type' => 'string',
1173                  'required' => true,
1174                ],
1175                'gmbEmail' => [
1176                  'location' => 'query',
1177                  'type' => 'string',
1178                  'required' => true,
1179                ],
1180              ],
1181            ],'requestinventoryverification' => [
1182              'path' => '{merchantId}/liasettings/{accountId}/requestinventoryverification/{country}',
1183              'httpMethod' => 'POST',
1184              'parameters' => [
1185                'merchantId' => [
1186                  'location' => 'path',
1187                  'type' => 'string',
1188                  'required' => true,
1189                ],
1190                'accountId' => [
1191                  'location' => 'path',
1192                  'type' => 'string',
1193                  'required' => true,
1194                ],
1195                'country' => [
1196                  'location' => 'path',
1197                  'type' => 'string',
1198                  'required' => true,
1199                ],
1200              ],
1201            ],'setinventoryverificationcontact' => [
1202              'path' => '{merchantId}/liasettings/{accountId}/setinventoryverificationcontact',
1203              'httpMethod' => 'POST',
1204              'parameters' => [
1205                'merchantId' => [
1206                  'location' => 'path',
1207                  'type' => 'string',
1208                  'required' => true,
1209                ],
1210                'accountId' => [
1211                  'location' => 'path',
1212                  'type' => 'string',
1213                  'required' => true,
1214                ],
1215                'country' => [
1216                  'location' => 'query',
1217                  'type' => 'string',
1218                  'required' => true,
1219                ],
1220                'language' => [
1221                  'location' => 'query',
1222                  'type' => 'string',
1223                  'required' => true,
1224                ],
1225                'contactName' => [
1226                  'location' => 'query',
1227                  'type' => 'string',
1228                  'required' => true,
1229                ],
1230                'contactEmail' => [
1231                  'location' => 'query',
1232                  'type' => 'string',
1233                  'required' => true,
1234                ],
1235              ],
1236            ],'setposdataprovider' => [
1237              'path' => '{merchantId}/liasettings/{accountId}/setposdataprovider',
1238              'httpMethod' => 'POST',
1239              'parameters' => [
1240                'merchantId' => [
1241                  'location' => 'path',
1242                  'type' => 'string',
1243                  'required' => true,
1244                ],
1245                'accountId' => [
1246                  'location' => 'path',
1247                  'type' => 'string',
1248                  'required' => true,
1249                ],
1250                'country' => [
1251                  'location' => 'query',
1252                  'type' => 'string',
1253                  'required' => true,
1254                ],
1255                'posDataProviderId' => [
1256                  'location' => 'query',
1257                  'type' => 'string',
1258                ],
1259                'posExternalAccountId' => [
1260                  'location' => 'query',
1261                  'type' => 'string',
1262                ],
1263              ],
1264            ],'update' => [
1265              'path' => '{merchantId}/liasettings/{accountId}',
1266              'httpMethod' => 'PUT',
1267              'parameters' => [
1268                'merchantId' => [
1269                  'location' => 'path',
1270                  'type' => 'string',
1271                  'required' => true,
1272                ],
1273                'accountId' => [
1274                  'location' => 'path',
1275                  'type' => 'string',
1276                  'required' => true,
1277                ],
1278              ],
1279            ],
1280          ]
1281        ]
1282    );
1283    $this->localinventory = new ShoppingContent\Resource\Localinventory(
1284        $this,
1285        $this->serviceName,
1286        'localinventory',
1287        [
1288          'methods' => [
1289            'custombatch' => [
1290              'path' => 'localinventory/batch',
1291              'httpMethod' => 'POST',
1292              'parameters' => [],
1293            ],'insert' => [
1294              'path' => '{merchantId}/products/{productId}/localinventory',
1295              'httpMethod' => 'POST',
1296              'parameters' => [
1297                'merchantId' => [
1298                  'location' => 'path',
1299                  'type' => 'string',
1300                  'required' => true,
1301                ],
1302                'productId' => [
1303                  'location' => 'path',
1304                  'type' => 'string',
1305                  'required' => true,
1306                ],
1307              ],
1308            ],
1309          ]
1310        ]
1311    );
1312    $this->orderinvoices = new ShoppingContent\Resource\Orderinvoices(
1313        $this,
1314        $this->serviceName,
1315        'orderinvoices',
1316        [
1317          'methods' => [
1318            'createchargeinvoice' => [
1319              'path' => '{merchantId}/orderinvoices/{orderId}/createChargeInvoice',
1320              'httpMethod' => 'POST',
1321              'parameters' => [
1322                'merchantId' => [
1323                  'location' => 'path',
1324                  'type' => 'string',
1325                  'required' => true,
1326                ],
1327                'orderId' => [
1328                  'location' => 'path',
1329                  'type' => 'string',
1330                  'required' => true,
1331                ],
1332              ],
1333            ],'createrefundinvoice' => [
1334              'path' => '{merchantId}/orderinvoices/{orderId}/createRefundInvoice',
1335              'httpMethod' => 'POST',
1336              'parameters' => [
1337                'merchantId' => [
1338                  'location' => 'path',
1339                  'type' => 'string',
1340                  'required' => true,
1341                ],
1342                'orderId' => [
1343                  'location' => 'path',
1344                  'type' => 'string',
1345                  'required' => true,
1346                ],
1347              ],
1348            ],
1349          ]
1350        ]
1351    );
1352    $this->orderreports = new ShoppingContent\Resource\Orderreports(
1353        $this,
1354        $this->serviceName,
1355        'orderreports',
1356        [
1357          'methods' => [
1358            'listdisbursements' => [
1359              'path' => '{merchantId}/orderreports/disbursements',
1360              'httpMethod' => 'GET',
1361              'parameters' => [
1362                'merchantId' => [
1363                  'location' => 'path',
1364                  'type' => 'string',
1365                  'required' => true,
1366                ],
1367                'disbursementEndDate' => [
1368                  'location' => 'query',
1369                  'type' => 'string',
1370                ],
1371                'disbursementStartDate' => [
1372                  'location' => 'query',
1373                  'type' => 'string',
1374                ],
1375                'maxResults' => [
1376                  'location' => 'query',
1377                  'type' => 'integer',
1378                ],
1379                'pageToken' => [
1380                  'location' => 'query',
1381                  'type' => 'string',
1382                ],
1383              ],
1384            ],'listtransactions' => [
1385              'path' => '{merchantId}/orderreports/disbursements/{disbursementId}/transactions',
1386              'httpMethod' => 'GET',
1387              'parameters' => [
1388                'merchantId' => [
1389                  'location' => 'path',
1390                  'type' => 'string',
1391                  'required' => true,
1392                ],
1393                'disbursementId' => [
1394                  'location' => 'path',
1395                  'type' => 'string',
1396                  'required' => true,
1397                ],
1398                'maxResults' => [
1399                  'location' => 'query',
1400                  'type' => 'integer',
1401                ],
1402                'pageToken' => [
1403                  'location' => 'query',
1404                  'type' => 'string',
1405                ],
1406                'transactionEndDate' => [
1407                  'location' => 'query',
1408                  'type' => 'string',
1409                ],
1410                'transactionStartDate' => [
1411                  'location' => 'query',
1412                  'type' => 'string',
1413                ],
1414              ],
1415            ],
1416          ]
1417        ]
1418    );
1419    $this->orderreturns = new ShoppingContent\Resource\Orderreturns(
1420        $this,
1421        $this->serviceName,
1422        'orderreturns',
1423        [
1424          'methods' => [
1425            'acknowledge' => [
1426              'path' => '{merchantId}/orderreturns/{returnId}/acknowledge',
1427              'httpMethod' => 'POST',
1428              'parameters' => [
1429                'merchantId' => [
1430                  'location' => 'path',
1431                  'type' => 'string',
1432                  'required' => true,
1433                ],
1434                'returnId' => [
1435                  'location' => 'path',
1436                  'type' => 'string',
1437                  'required' => true,
1438                ],
1439              ],
1440            ],'createorderreturn' => [
1441              'path' => '{merchantId}/orderreturns/createOrderReturn',
1442              'httpMethod' => 'POST',
1443              'parameters' => [
1444                'merchantId' => [
1445                  'location' => 'path',
1446                  'type' => 'string',
1447                  'required' => true,
1448                ],
1449              ],
1450            ],'get' => [
1451              'path' => '{merchantId}/orderreturns/{returnId}',
1452              'httpMethod' => 'GET',
1453              'parameters' => [
1454                'merchantId' => [
1455                  'location' => 'path',
1456                  'type' => 'string',
1457                  'required' => true,
1458                ],
1459                'returnId' => [
1460                  'location' => 'path',
1461                  'type' => 'string',
1462                  'required' => true,
1463                ],
1464              ],
1465            ],'list' => [
1466              'path' => '{merchantId}/orderreturns',
1467              'httpMethod' => 'GET',
1468              'parameters' => [
1469                'merchantId' => [
1470                  'location' => 'path',
1471                  'type' => 'string',
1472                  'required' => true,
1473                ],
1474                'acknowledged' => [
1475                  'location' => 'query',
1476                  'type' => 'boolean',
1477                ],
1478                'createdEndDate' => [
1479                  'location' => 'query',
1480                  'type' => 'string',
1481                ],
1482                'createdStartDate' => [
1483                  'location' => 'query',
1484                  'type' => 'string',
1485                ],
1486                'googleOrderIds' => [
1487                  'location' => 'query',
1488                  'type' => 'string',
1489                  'repeated' => true,
1490                ],
1491                'maxResults' => [
1492                  'location' => 'query',
1493                  'type' => 'integer',
1494                ],
1495                'orderBy' => [
1496                  'location' => 'query',
1497                  'type' => 'string',
1498                ],
1499                'pageToken' => [
1500                  'location' => 'query',
1501                  'type' => 'string',
1502                ],
1503                'shipmentStates' => [
1504                  'location' => 'query',
1505                  'type' => 'string',
1506                  'repeated' => true,
1507                ],
1508                'shipmentStatus' => [
1509                  'location' => 'query',
1510                  'type' => 'string',
1511                  'repeated' => true,
1512                ],
1513                'shipmentTrackingNumbers' => [
1514                  'location' => 'query',
1515                  'type' => 'string',
1516                  'repeated' => true,
1517                ],
1518                'shipmentTypes' => [
1519                  'location' => 'query',
1520                  'type' => 'string',
1521                  'repeated' => true,
1522                ],
1523              ],
1524            ],'process' => [
1525              'path' => '{merchantId}/orderreturns/{returnId}/process',
1526              'httpMethod' => 'POST',
1527              'parameters' => [
1528                'merchantId' => [
1529                  'location' => 'path',
1530                  'type' => 'string',
1531                  'required' => true,
1532                ],
1533                'returnId' => [
1534                  'location' => 'path',
1535                  'type' => 'string',
1536                  'required' => true,
1537                ],
1538              ],
1539            ],
1540          ]
1541        ]
1542    );
1543    $this->orderreturns_labels = new ShoppingContent\Resource\OrderreturnsLabels(
1544        $this,
1545        $this->serviceName,
1546        'labels',
1547        [
1548          'methods' => [
1549            'create' => [
1550              'path' => '{merchantId}/orderreturns/{returnId}/labels',
1551              'httpMethod' => 'POST',
1552              'parameters' => [
1553                'merchantId' => [
1554                  'location' => 'path',
1555                  'type' => 'string',
1556                  'required' => true,
1557                ],
1558                'returnId' => [
1559                  'location' => 'path',
1560                  'type' => 'string',
1561                  'required' => true,
1562                ],
1563              ],
1564            ],
1565          ]
1566        ]
1567    );
1568    $this->orders = new ShoppingContent\Resource\Orders(
1569        $this,
1570        $this->serviceName,
1571        'orders',
1572        [
1573          'methods' => [
1574            'acknowledge' => [
1575              'path' => '{merchantId}/orders/{orderId}/acknowledge',
1576              'httpMethod' => 'POST',
1577              'parameters' => [
1578                'merchantId' => [
1579                  'location' => 'path',
1580                  'type' => 'string',
1581                  'required' => true,
1582                ],
1583                'orderId' => [
1584                  'location' => 'path',
1585                  'type' => 'string',
1586                  'required' => true,
1587                ],
1588              ],
1589            ],'advancetestorder' => [
1590              'path' => '{merchantId}/testorders/{orderId}/advance',
1591              'httpMethod' => 'POST',
1592              'parameters' => [
1593                'merchantId' => [
1594                  'location' => 'path',
1595                  'type' => 'string',
1596                  'required' => true,
1597                ],
1598                'orderId' => [
1599                  'location' => 'path',
1600                  'type' => 'string',
1601                  'required' => true,
1602                ],
1603              ],
1604            ],'cancel' => [
1605              'path' => '{merchantId}/orders/{orderId}/cancel',
1606              'httpMethod' => 'POST',
1607              'parameters' => [
1608                'merchantId' => [
1609                  'location' => 'path',
1610                  'type' => 'string',
1611                  'required' => true,
1612                ],
1613                'orderId' => [
1614                  'location' => 'path',
1615                  'type' => 'string',
1616                  'required' => true,
1617                ],
1618              ],
1619            ],'cancellineitem' => [
1620              'path' => '{merchantId}/orders/{orderId}/cancelLineItem',
1621              'httpMethod' => 'POST',
1622              'parameters' => [
1623                'merchantId' => [
1624                  'location' => 'path',
1625                  'type' => 'string',
1626                  'required' => true,
1627                ],
1628                'orderId' => [
1629                  'location' => 'path',
1630                  'type' => 'string',
1631                  'required' => true,
1632                ],
1633              ],
1634            ],'canceltestorderbycustomer' => [
1635              'path' => '{merchantId}/testorders/{orderId}/cancelByCustomer',
1636              'httpMethod' => 'POST',
1637              'parameters' => [
1638                'merchantId' => [
1639                  'location' => 'path',
1640                  'type' => 'string',
1641                  'required' => true,
1642                ],
1643                'orderId' => [
1644                  'location' => 'path',
1645                  'type' => 'string',
1646                  'required' => true,
1647                ],
1648              ],
1649            ],'captureOrder' => [
1650              'path' => '{merchantId}/orders/{orderId}/captureOrder',
1651              'httpMethod' => 'POST',
1652              'parameters' => [
1653                'merchantId' => [
1654                  'location' => 'path',
1655                  'type' => 'string',
1656                  'required' => true,
1657                ],
1658                'orderId' => [
1659                  'location' => 'path',
1660                  'type' => 'string',
1661                  'required' => true,
1662                ],
1663              ],
1664            ],'createtestorder' => [
1665              'path' => '{merchantId}/testorders',
1666              'httpMethod' => 'POST',
1667              'parameters' => [
1668                'merchantId' => [
1669                  'location' => 'path',
1670                  'type' => 'string',
1671                  'required' => true,
1672                ],
1673              ],
1674            ],'createtestreturn' => [
1675              'path' => '{merchantId}/orders/{orderId}/testreturn',
1676              'httpMethod' => 'POST',
1677              'parameters' => [
1678                'merchantId' => [
1679                  'location' => 'path',
1680                  'type' => 'string',
1681                  'required' => true,
1682                ],
1683                'orderId' => [
1684                  'location' => 'path',
1685                  'type' => 'string',
1686                  'required' => true,
1687                ],
1688              ],
1689            ],'get' => [
1690              'path' => '{merchantId}/orders/{orderId}',
1691              'httpMethod' => 'GET',
1692              'parameters' => [
1693                'merchantId' => [
1694                  'location' => 'path',
1695                  'type' => 'string',
1696                  'required' => true,
1697                ],
1698                'orderId' => [
1699                  'location' => 'path',
1700                  'type' => 'string',
1701                  'required' => true,
1702                ],
1703              ],
1704            ],'getbymerchantorderid' => [
1705              'path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}',
1706              'httpMethod' => 'GET',
1707              'parameters' => [
1708                'merchantId' => [
1709                  'location' => 'path',
1710                  'type' => 'string',
1711                  'required' => true,
1712                ],
1713                'merchantOrderId' => [
1714                  'location' => 'path',
1715                  'type' => 'string',
1716                  'required' => true,
1717                ],
1718              ],
1719            ],'gettestordertemplate' => [
1720              'path' => '{merchantId}/testordertemplates/{templateName}',
1721              'httpMethod' => 'GET',
1722              'parameters' => [
1723                'merchantId' => [
1724                  'location' => 'path',
1725                  'type' => 'string',
1726                  'required' => true,
1727                ],
1728                'templateName' => [
1729                  'location' => 'path',
1730                  'type' => 'string',
1731                  'required' => true,
1732                ],
1733                'country' => [
1734                  'location' => 'query',
1735                  'type' => 'string',
1736                ],
1737              ],
1738            ],'instorerefundlineitem' => [
1739              'path' => '{merchantId}/orders/{orderId}/inStoreRefundLineItem',
1740              'httpMethod' => 'POST',
1741              'parameters' => [
1742                'merchantId' => [
1743                  'location' => 'path',
1744                  'type' => 'string',
1745                  'required' => true,
1746                ],
1747                'orderId' => [
1748                  'location' => 'path',
1749                  'type' => 'string',
1750                  'required' => true,
1751                ],
1752              ],
1753            ],'list' => [
1754              'path' => '{merchantId}/orders',
1755              'httpMethod' => 'GET',
1756              'parameters' => [
1757                'merchantId' => [
1758                  'location' => 'path',
1759                  'type' => 'string',
1760                  'required' => true,
1761                ],
1762                'acknowledged' => [
1763                  'location' => 'query',
1764                  'type' => 'boolean',
1765                ],
1766                'maxResults' => [
1767                  'location' => 'query',
1768                  'type' => 'integer',
1769                ],
1770                'orderBy' => [
1771                  'location' => 'query',
1772                  'type' => 'string',
1773                ],
1774                'pageToken' => [
1775                  'location' => 'query',
1776                  'type' => 'string',
1777                ],
1778                'placedDateEnd' => [
1779                  'location' => 'query',
1780                  'type' => 'string',
1781                ],
1782                'placedDateStart' => [
1783                  'location' => 'query',
1784                  'type' => 'string',
1785                ],
1786                'statuses' => [
1787                  'location' => 'query',
1788                  'type' => 'string',
1789                  'repeated' => true,
1790                ],
1791              ],
1792            ],'refunditem' => [
1793              'path' => '{merchantId}/orders/{orderId}/refunditem',
1794              'httpMethod' => 'POST',
1795              'parameters' => [
1796                'merchantId' => [
1797                  'location' => 'path',
1798                  'type' => 'string',
1799                  'required' => true,
1800                ],
1801                'orderId' => [
1802                  'location' => 'path',
1803                  'type' => 'string',
1804                  'required' => true,
1805                ],
1806              ],
1807            ],'refundorder' => [
1808              'path' => '{merchantId}/orders/{orderId}/refundorder',
1809              'httpMethod' => 'POST',
1810              'parameters' => [
1811                'merchantId' => [
1812                  'location' => 'path',
1813                  'type' => 'string',
1814                  'required' => true,
1815                ],
1816                'orderId' => [
1817                  'location' => 'path',
1818                  'type' => 'string',
1819                  'required' => true,
1820                ],
1821              ],
1822            ],'rejectreturnlineitem' => [
1823              'path' => '{merchantId}/orders/{orderId}/rejectReturnLineItem',
1824              'httpMethod' => 'POST',
1825              'parameters' => [
1826                'merchantId' => [
1827                  'location' => 'path',
1828                  'type' => 'string',
1829                  'required' => true,
1830                ],
1831                'orderId' => [
1832                  'location' => 'path',
1833                  'type' => 'string',
1834                  'required' => true,
1835                ],
1836              ],
1837            ],'returnrefundlineitem' => [
1838              'path' => '{merchantId}/orders/{orderId}/returnRefundLineItem',
1839              'httpMethod' => 'POST',
1840              'parameters' => [
1841                'merchantId' => [
1842                  'location' => 'path',
1843                  'type' => 'string',
1844                  'required' => true,
1845                ],
1846                'orderId' => [
1847                  'location' => 'path',
1848                  'type' => 'string',
1849                  'required' => true,
1850                ],
1851              ],
1852            ],'setlineitemmetadata' => [
1853              'path' => '{merchantId}/orders/{orderId}/setLineItemMetadata',
1854              'httpMethod' => 'POST',
1855              'parameters' => [
1856                'merchantId' => [
1857                  'location' => 'path',
1858                  'type' => 'string',
1859                  'required' => true,
1860                ],
1861                'orderId' => [
1862                  'location' => 'path',
1863                  'type' => 'string',
1864                  'required' => true,
1865                ],
1866              ],
1867            ],'shiplineitems' => [
1868              'path' => '{merchantId}/orders/{orderId}/shipLineItems',
1869              'httpMethod' => 'POST',
1870              'parameters' => [
1871                'merchantId' => [
1872                  'location' => 'path',
1873                  'type' => 'string',
1874                  'required' => true,
1875                ],
1876                'orderId' => [
1877                  'location' => 'path',
1878                  'type' => 'string',
1879                  'required' => true,
1880                ],
1881              ],
1882            ],'updatelineitemshippingdetails' => [
1883              'path' => '{merchantId}/orders/{orderId}/updateLineItemShippingDetails',
1884              'httpMethod' => 'POST',
1885              'parameters' => [
1886                'merchantId' => [
1887                  'location' => 'path',
1888                  'type' => 'string',
1889                  'required' => true,
1890                ],
1891                'orderId' => [
1892                  'location' => 'path',
1893                  'type' => 'string',
1894                  'required' => true,
1895                ],
1896              ],
1897            ],'updatemerchantorderid' => [
1898              'path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId',
1899              'httpMethod' => 'POST',
1900              'parameters' => [
1901                'merchantId' => [
1902                  'location' => 'path',
1903                  'type' => 'string',
1904                  'required' => true,
1905                ],
1906                'orderId' => [
1907                  'location' => 'path',
1908                  'type' => 'string',
1909                  'required' => true,
1910                ],
1911              ],
1912            ],'updateshipment' => [
1913              'path' => '{merchantId}/orders/{orderId}/updateShipment',
1914              'httpMethod' => 'POST',
1915              'parameters' => [
1916                'merchantId' => [
1917                  'location' => 'path',
1918                  'type' => 'string',
1919                  'required' => true,
1920                ],
1921                'orderId' => [
1922                  'location' => 'path',
1923                  'type' => 'string',
1924                  'required' => true,
1925                ],
1926              ],
1927            ],
1928          ]
1929        ]
1930    );
1931    $this->ordertrackingsignals = new ShoppingContent\Resource\Ordertrackingsignals(
1932        $this,
1933        $this->serviceName,
1934        'ordertrackingsignals',
1935        [
1936          'methods' => [
1937            'create' => [
1938              'path' => '{merchantId}/ordertrackingsignals',
1939              'httpMethod' => 'POST',
1940              'parameters' => [
1941                'merchantId' => [
1942                  'location' => 'path',
1943                  'type' => 'string',
1944                  'required' => true,
1945                ],
1946              ],
1947            ],
1948          ]
1949        ]
1950    );
1951    $this->pos = new ShoppingContent\Resource\Pos(
1952        $this,
1953        $this->serviceName,
1954        'pos',
1955        [
1956          'methods' => [
1957            'custombatch' => [
1958              'path' => 'pos/batch',
1959              'httpMethod' => 'POST',
1960              'parameters' => [],
1961            ],'delete' => [
1962              'path' => '{merchantId}/pos/{targetMerchantId}/store/{storeCode}',
1963              'httpMethod' => 'DELETE',
1964              'parameters' => [
1965                'merchantId' => [
1966                  'location' => 'path',
1967                  'type' => 'string',
1968                  'required' => true,
1969                ],
1970                'targetMerchantId' => [
1971                  'location' => 'path',
1972                  'type' => 'string',
1973                  'required' => true,
1974                ],
1975                'storeCode' => [
1976                  'location' => 'path',
1977                  'type' => 'string',
1978                  'required' => true,
1979                ],
1980              ],
1981            ],'get' => [
1982              'path' => '{merchantId}/pos/{targetMerchantId}/store/{storeCode}',
1983              'httpMethod' => 'GET',
1984              'parameters' => [
1985                'merchantId' => [
1986                  'location' => 'path',
1987                  'type' => 'string',
1988                  'required' => true,
1989                ],
1990                'targetMerchantId' => [
1991                  'location' => 'path',
1992                  'type' => 'string',
1993                  'required' => true,
1994                ],
1995                'storeCode' => [
1996                  'location' => 'path',
1997                  'type' => 'string',
1998                  'required' => true,
1999                ],
2000              ],
2001            ],'insert' => [
2002              'path' => '{merchantId}/pos/{targetMerchantId}/store',
2003              'httpMethod' => 'POST',
2004              'parameters' => [
2005                'merchantId' => [
2006                  'location' => 'path',
2007                  'type' => 'string',
2008                  'required' => true,
2009                ],
2010                'targetMerchantId' => [
2011                  'location' => 'path',
2012                  'type' => 'string',
2013                  'required' => true,
2014                ],
2015              ],
2016            ],'inventory' => [
2017              'path' => '{merchantId}/pos/{targetMerchantId}/inventory',
2018              'httpMethod' => 'POST',
2019              'parameters' => [
2020                'merchantId' => [
2021                  'location' => 'path',
2022                  'type' => 'string',
2023                  'required' => true,
2024                ],
2025                'targetMerchantId' => [
2026                  'location' => 'path',
2027                  'type' => 'string',
2028                  'required' => true,
2029                ],
2030              ],
2031            ],'list' => [
2032              'path' => '{merchantId}/pos/{targetMerchantId}/store',
2033              'httpMethod' => 'GET',
2034              'parameters' => [
2035                'merchantId' => [
2036                  'location' => 'path',
2037                  'type' => 'string',
2038                  'required' => true,
2039                ],
2040                'targetMerchantId' => [
2041                  'location' => 'path',
2042                  'type' => 'string',
2043                  'required' => true,
2044                ],
2045              ],
2046            ],'sale' => [
2047              'path' => '{merchantId}/pos/{targetMerchantId}/sale',
2048              'httpMethod' => 'POST',
2049              'parameters' => [
2050                'merchantId' => [
2051                  'location' => 'path',
2052                  'type' => 'string',
2053                  'required' => true,
2054                ],
2055                'targetMerchantId' => [
2056                  'location' => 'path',
2057                  'type' => 'string',
2058                  'required' => true,
2059                ],
2060              ],
2061            ],
2062          ]
2063        ]
2064    );
2065    $this->productdeliverytime = new ShoppingContent\Resource\Productdeliverytime(
2066        $this,
2067        $this->serviceName,
2068        'productdeliverytime',
2069        [
2070          'methods' => [
2071            'create' => [
2072              'path' => '{merchantId}/productdeliverytime',
2073              'httpMethod' => 'POST',
2074              'parameters' => [
2075                'merchantId' => [
2076                  'location' => 'path',
2077                  'type' => 'string',
2078                  'required' => true,
2079                ],
2080              ],
2081            ],'delete' => [
2082              'path' => '{merchantId}/productdeliverytime/{productId}',
2083              'httpMethod' => 'DELETE',
2084              'parameters' => [
2085                'merchantId' => [
2086                  'location' => 'path',
2087                  'type' => 'string',
2088                  'required' => true,
2089                ],
2090                'productId' => [
2091                  'location' => 'path',
2092                  'type' => 'string',
2093                  'required' => true,
2094                ],
2095              ],
2096            ],'get' => [
2097              'path' => '{merchantId}/productdeliverytime/{productId}',
2098              'httpMethod' => 'GET',
2099              'parameters' => [
2100                'merchantId' => [
2101                  'location' => 'path',
2102                  'type' => 'string',
2103                  'required' => true,
2104                ],
2105                'productId' => [
2106                  'location' => 'path',
2107                  'type' => 'string',
2108                  'required' => true,
2109                ],
2110              ],
2111            ],
2112          ]
2113        ]
2114    );
2115    $this->products = new ShoppingContent\Resource\Products(
2116        $this,
2117        $this->serviceName,
2118        'products',
2119        [
2120          'methods' => [
2121            'custombatch' => [
2122              'path' => 'products/batch',
2123              'httpMethod' => 'POST',
2124              'parameters' => [],
2125            ],'delete' => [
2126              'path' => '{merchantId}/products/{productId}',
2127              'httpMethod' => 'DELETE',
2128              'parameters' => [
2129                'merchantId' => [
2130                  'location' => 'path',
2131                  'type' => 'string',
2132                  'required' => true,
2133                ],
2134                'productId' => [
2135                  'location' => 'path',
2136                  'type' => 'string',
2137                  'required' => true,
2138                ],
2139                'feedId' => [
2140                  'location' => 'query',
2141                  'type' => 'string',
2142                ],
2143              ],
2144            ],'get' => [
2145              'path' => '{merchantId}/products/{productId}',
2146              'httpMethod' => 'GET',
2147              'parameters' => [
2148                'merchantId' => [
2149                  'location' => 'path',
2150                  'type' => 'string',
2151                  'required' => true,
2152                ],
2153                'productId' => [
2154                  'location' => 'path',
2155                  'type' => 'string',
2156                  'required' => true,
2157                ],
2158              ],
2159            ],'insert' => [
2160              'path' => '{merchantId}/products',
2161              'httpMethod' => 'POST',
2162              'parameters' => [
2163                'merchantId' => [
2164                  'location' => 'path',
2165                  'type' => 'string',
2166                  'required' => true,
2167                ],
2168                'feedId' => [
2169                  'location' => 'query',
2170                  'type' => 'string',
2171                ],
2172              ],
2173            ],'list' => [
2174              'path' => '{merchantId}/products',
2175              'httpMethod' => 'GET',
2176              'parameters' => [
2177                'merchantId' => [
2178                  'location' => 'path',
2179                  'type' => 'string',
2180                  'required' => true,
2181                ],
2182                'maxResults' => [
2183                  'location' => 'query',
2184                  'type' => 'integer',
2185                ],
2186                'pageToken' => [
2187                  'location' => 'query',
2188                  'type' => 'string',
2189                ],
2190              ],
2191            ],'update' => [
2192              'path' => '{merchantId}/products/{productId}',
2193              'httpMethod' => 'PATCH',
2194              'parameters' => [
2195                'merchantId' => [
2196                  'location' => 'path',
2197                  'type' => 'string',
2198                  'required' => true,
2199                ],
2200                'productId' => [
2201                  'location' => 'path',
2202                  'type' => 'string',
2203                  'required' => true,
2204                ],
2205                'updateMask' => [
2206                  'location' => 'query',
2207                  'type' => 'string',
2208                ],
2209              ],
2210            ],
2211          ]
2212        ]
2213    );
2214    $this->productstatuses = new ShoppingContent\Resource\Productstatuses(
2215        $this,
2216        $this->serviceName,
2217        'productstatuses',
2218        [
2219          'methods' => [
2220            'custombatch' => [
2221              'path' => 'productstatuses/batch',
2222              'httpMethod' => 'POST',
2223              'parameters' => [],
2224            ],'get' => [
2225              'path' => '{merchantId}/productstatuses/{productId}',
2226              'httpMethod' => 'GET',
2227              'parameters' => [
2228                'merchantId' => [
2229                  'location' => 'path',
2230                  'type' => 'string',
2231                  'required' => true,
2232                ],
2233                'productId' => [
2234                  'location' => 'path',
2235                  'type' => 'string',
2236                  'required' => true,
2237                ],
2238                'destinations' => [
2239                  'location' => 'query',
2240                  'type' => 'string',
2241                  'repeated' => true,
2242                ],
2243              ],
2244            ],'list' => [
2245              'path' => '{merchantId}/productstatuses',
2246              'httpMethod' => 'GET',
2247              'parameters' => [
2248                'merchantId' => [
2249                  'location' => 'path',
2250                  'type' => 'string',
2251                  'required' => true,
2252                ],
2253                'destinations' => [
2254                  'location' => 'query',
2255                  'type' => 'string',
2256                  'repeated' => true,
2257                ],
2258                'maxResults' => [
2259                  'location' => 'query',
2260                  'type' => 'integer',
2261                ],
2262                'pageToken' => [
2263                  'location' => 'query',
2264                  'type' => 'string',
2265                ],
2266              ],
2267            ],
2268          ]
2269        ]
2270    );
2271    $this->productstatuses_repricingreports = new ShoppingContent\Resource\ProductstatusesRepricingreports(
2272        $this,
2273        $this->serviceName,
2274        'repricingreports',
2275        [
2276          'methods' => [
2277            'list' => [
2278              'path' => '{merchantId}/productstatuses/{productId}/repricingreports',
2279              'httpMethod' => 'GET',
2280              'parameters' => [
2281                'merchantId' => [
2282                  'location' => 'path',
2283                  'type' => 'string',
2284                  'required' => true,
2285                ],
2286                'productId' => [
2287                  'location' => 'path',
2288                  'type' => 'string',
2289                  'required' => true,
2290                ],
2291                'endDate' => [
2292                  'location' => 'query',
2293                  'type' => 'string',
2294                ],
2295                'pageSize' => [
2296                  'location' => 'query',
2297                  'type' => 'integer',
2298                ],
2299                'pageToken' => [
2300                  'location' => 'query',
2301                  'type' => 'string',
2302                ],
2303                'ruleId' => [
2304                  'location' => 'query',
2305                  'type' => 'string',
2306                ],
2307                'startDate' => [
2308                  'location' => 'query',
2309                  'type' => 'string',
2310                ],
2311              ],
2312            ],
2313          ]
2314        ]
2315    );
2316    $this->promotions = new ShoppingContent\Resource\Promotions(
2317        $this,
2318        $this->serviceName,
2319        'promotions',
2320        [
2321          'methods' => [
2322            'create' => [
2323              'path' => '{merchantId}/promotions',
2324              'httpMethod' => 'POST',
2325              'parameters' => [
2326                'merchantId' => [
2327                  'location' => 'path',
2328                  'type' => 'string',
2329                  'required' => true,
2330                ],
2331              ],
2332            ],'get' => [
2333              'path' => '{merchantId}/promotions/{id}',
2334              'httpMethod' => 'GET',
2335              'parameters' => [
2336                'merchantId' => [
2337                  'location' => 'path',
2338                  'type' => 'string',
2339                  'required' => true,
2340                ],
2341                'id' => [
2342                  'location' => 'path',
2343                  'type' => 'string',
2344                  'required' => true,
2345                ],
2346              ],
2347            ],
2348          ]
2349        ]
2350    );
2351    $this->pubsubnotificationsettings = new ShoppingContent\Resource\Pubsubnotificationsettings(
2352        $this,
2353        $this->serviceName,
2354        'pubsubnotificationsettings',
2355        [
2356          'methods' => [
2357            'get' => [
2358              'path' => '{merchantId}/pubsubnotificationsettings',
2359              'httpMethod' => 'GET',
2360              'parameters' => [
2361                'merchantId' => [
2362                  'location' => 'path',
2363                  'type' => 'string',
2364                  'required' => true,
2365                ],
2366              ],
2367            ],'update' => [
2368              'path' => '{merchantId}/pubsubnotificationsettings',
2369              'httpMethod' => 'PUT',
2370              'parameters' => [
2371                'merchantId' => [
2372                  'location' => 'path',
2373                  'type' => 'string',
2374                  'required' => true,
2375                ],
2376              ],
2377            ],
2378          ]
2379        ]
2380    );
2381    $this->regionalinventory = new ShoppingContent\Resource\Regionalinventory(
2382        $this,
2383        $this->serviceName,
2384        'regionalinventory',
2385        [
2386          'methods' => [
2387            'custombatch' => [
2388              'path' => 'regionalinventory/batch',
2389              'httpMethod' => 'POST',
2390              'parameters' => [],
2391            ],'insert' => [
2392              'path' => '{merchantId}/products/{productId}/regionalinventory',
2393              'httpMethod' => 'POST',
2394              'parameters' => [
2395                'merchantId' => [
2396                  'location' => 'path',
2397                  'type' => 'string',
2398                  'required' => true,
2399                ],
2400                'productId' => [
2401                  'location' => 'path',
2402                  'type' => 'string',
2403                  'required' => true,
2404                ],
2405              ],
2406            ],
2407          ]
2408        ]
2409    );
2410    $this->regions = new ShoppingContent\Resource\Regions(
2411        $this,
2412        $this->serviceName,
2413        'regions',
2414        [
2415          'methods' => [
2416            'create' => [
2417              'path' => '{merchantId}/regions',
2418              'httpMethod' => 'POST',
2419              'parameters' => [
2420                'merchantId' => [
2421                  'location' => 'path',
2422                  'type' => 'string',
2423                  'required' => true,
2424                ],
2425                'regionId' => [
2426                  'location' => 'query',
2427                  'type' => 'string',
2428                ],
2429              ],
2430            ],'delete' => [
2431              'path' => '{merchantId}/regions/{regionId}',
2432              'httpMethod' => 'DELETE',
2433              'parameters' => [
2434                'merchantId' => [
2435                  'location' => 'path',
2436                  'type' => 'string',
2437                  'required' => true,
2438                ],
2439                'regionId' => [
2440                  'location' => 'path',
2441                  'type' => 'string',
2442                  'required' => true,
2443                ],
2444              ],
2445            ],'get' => [
2446              'path' => '{merchantId}/regions/{regionId}',
2447              'httpMethod' => 'GET',
2448              'parameters' => [
2449                'merchantId' => [
2450                  'location' => 'path',
2451                  'type' => 'string',
2452                  'required' => true,
2453                ],
2454                'regionId' => [
2455                  'location' => 'path',
2456                  'type' => 'string',
2457                  'required' => true,
2458                ],
2459              ],
2460            ],'list' => [
2461              'path' => '{merchantId}/regions',
2462              'httpMethod' => 'GET',
2463              'parameters' => [
2464                'merchantId' => [
2465                  'location' => 'path',
2466                  'type' => 'string',
2467                  'required' => true,
2468                ],
2469                'pageSize' => [
2470                  'location' => 'query',
2471                  'type' => 'integer',
2472                ],
2473                'pageToken' => [
2474                  'location' => 'query',
2475                  'type' => 'string',
2476                ],
2477              ],
2478            ],'patch' => [
2479              'path' => '{merchantId}/regions/{regionId}',
2480              'httpMethod' => 'PATCH',
2481              'parameters' => [
2482                'merchantId' => [
2483                  'location' => 'path',
2484                  'type' => 'string',
2485                  'required' => true,
2486                ],
2487                'regionId' => [
2488                  'location' => 'path',
2489                  'type' => 'string',
2490                  'required' => true,
2491                ],
2492                'updateMask' => [
2493                  'location' => 'query',
2494                  'type' => 'string',
2495                ],
2496              ],
2497            ],
2498          ]
2499        ]
2500    );
2501    $this->reports = new ShoppingContent\Resource\Reports(
2502        $this,
2503        $this->serviceName,
2504        'reports',
2505        [
2506          'methods' => [
2507            'search' => [
2508              'path' => '{merchantId}/reports/search',
2509              'httpMethod' => 'POST',
2510              'parameters' => [
2511                'merchantId' => [
2512                  'location' => 'path',
2513                  'type' => 'string',
2514                  'required' => true,
2515                ],
2516              ],
2517            ],
2518          ]
2519        ]
2520    );
2521    $this->repricingrules = new ShoppingContent\Resource\Repricingrules(
2522        $this,
2523        $this->serviceName,
2524        'repricingrules',
2525        [
2526          'methods' => [
2527            'create' => [
2528              'path' => '{merchantId}/repricingrules',
2529              'httpMethod' => 'POST',
2530              'parameters' => [
2531                'merchantId' => [
2532                  'location' => 'path',
2533                  'type' => 'string',
2534                  'required' => true,
2535                ],
2536                'ruleId' => [
2537                  'location' => 'query',
2538                  'type' => 'string',
2539                ],
2540              ],
2541            ],'delete' => [
2542              'path' => '{merchantId}/repricingrules/{ruleId}',
2543              'httpMethod' => 'DELETE',
2544              'parameters' => [
2545                'merchantId' => [
2546                  'location' => 'path',
2547                  'type' => 'string',
2548                  'required' => true,
2549                ],
2550                'ruleId' => [
2551                  'location' => 'path',
2552                  'type' => 'string',
2553                  'required' => true,
2554                ],
2555              ],
2556            ],'get' => [
2557              'path' => '{merchantId}/repricingrules/{ruleId}',
2558              'httpMethod' => 'GET',
2559              'parameters' => [
2560                'merchantId' => [
2561                  'location' => 'path',
2562                  'type' => 'string',
2563                  'required' => true,
2564                ],
2565                'ruleId' => [
2566                  'location' => 'path',
2567                  'type' => 'string',
2568                  'required' => true,
2569                ],
2570              ],
2571            ],'list' => [
2572              'path' => '{merchantId}/repricingrules',
2573              'httpMethod' => 'GET',
2574              'parameters' => [
2575                'merchantId' => [
2576                  'location' => 'path',
2577                  'type' => 'string',
2578                  'required' => true,
2579                ],
2580                'countryCode' => [
2581                  'location' => 'query',
2582                  'type' => 'string',
2583                ],
2584                'languageCode' => [
2585                  'location' => 'query',
2586                  'type' => 'string',
2587                ],
2588                'pageSize' => [
2589                  'location' => 'query',
2590                  'type' => 'integer',
2591                ],
2592                'pageToken' => [
2593                  'location' => 'query',
2594                  'type' => 'string',
2595                ],
2596              ],
2597            ],'patch' => [
2598              'path' => '{merchantId}/repricingrules/{ruleId}',
2599              'httpMethod' => 'PATCH',
2600              'parameters' => [
2601                'merchantId' => [
2602                  'location' => 'path',
2603                  'type' => 'string',
2604                  'required' => true,
2605                ],
2606                'ruleId' => [
2607                  'location' => 'path',
2608                  'type' => 'string',
2609                  'required' => true,
2610                ],
2611              ],
2612            ],
2613          ]
2614        ]
2615    );
2616    $this->repricingrules_repricingreports = new ShoppingContent\Resource\RepricingrulesRepricingreports(
2617        $this,
2618        $this->serviceName,
2619        'repricingreports',
2620        [
2621          'methods' => [
2622            'list' => [
2623              'path' => '{merchantId}/repricingrules/{ruleId}/repricingreports',
2624              'httpMethod' => 'GET',
2625              'parameters' => [
2626                'merchantId' => [
2627                  'location' => 'path',
2628                  'type' => 'string',
2629                  'required' => true,
2630                ],
2631                'ruleId' => [
2632                  'location' => 'path',
2633                  'type' => 'string',
2634                  'required' => true,
2635                ],
2636                'endDate' => [
2637                  'location' => 'query',
2638                  'type' => 'string',
2639                ],
2640                'pageSize' => [
2641                  'location' => 'query',
2642                  'type' => 'integer',
2643                ],
2644                'pageToken' => [
2645                  'location' => 'query',
2646                  'type' => 'string',
2647                ],
2648                'startDate' => [
2649                  'location' => 'query',
2650                  'type' => 'string',
2651                ],
2652              ],
2653            ],
2654          ]
2655        ]
2656    );
2657    $this->returnaddress = new ShoppingContent\Resource\Returnaddress(
2658        $this,
2659        $this->serviceName,
2660        'returnaddress',
2661        [
2662          'methods' => [
2663            'custombatch' => [
2664              'path' => 'returnaddress/batch',
2665              'httpMethod' => 'POST',
2666              'parameters' => [],
2667            ],'delete' => [
2668              'path' => '{merchantId}/returnaddress/{returnAddressId}',
2669              'httpMethod' => 'DELETE',
2670              'parameters' => [
2671                'merchantId' => [
2672                  'location' => 'path',
2673                  'type' => 'string',
2674                  'required' => true,
2675                ],
2676                'returnAddressId' => [
2677                  'location' => 'path',
2678                  'type' => 'string',
2679                  'required' => true,
2680                ],
2681              ],
2682            ],'get' => [
2683              'path' => '{merchantId}/returnaddress/{returnAddressId}',
2684              'httpMethod' => 'GET',
2685              'parameters' => [
2686                'merchantId' => [
2687                  'location' => 'path',
2688                  'type' => 'string',
2689                  'required' => true,
2690                ],
2691                'returnAddressId' => [
2692                  'location' => 'path',
2693                  'type' => 'string',
2694                  'required' => true,
2695                ],
2696              ],
2697            ],'insert' => [
2698              'path' => '{merchantId}/returnaddress',
2699              'httpMethod' => 'POST',
2700              'parameters' => [
2701                'merchantId' => [
2702                  'location' => 'path',
2703                  'type' => 'string',
2704                  'required' => true,
2705                ],
2706              ],
2707            ],'list' => [
2708              'path' => '{merchantId}/returnaddress',
2709              'httpMethod' => 'GET',
2710              'parameters' => [
2711                'merchantId' => [
2712                  'location' => 'path',
2713                  'type' => 'string',
2714                  'required' => true,
2715                ],
2716                'country' => [
2717                  'location' => 'query',
2718                  'type' => 'string',
2719                ],
2720                'maxResults' => [
2721                  'location' => 'query',
2722                  'type' => 'integer',
2723                ],
2724                'pageToken' => [
2725                  'location' => 'query',
2726                  'type' => 'string',
2727                ],
2728              ],
2729            ],
2730          ]
2731        ]
2732    );
2733    $this->returnpolicy = new ShoppingContent\Resource\Returnpolicy(
2734        $this,
2735        $this->serviceName,
2736        'returnpolicy',
2737        [
2738          'methods' => [
2739            'custombatch' => [
2740              'path' => 'returnpolicy/batch',
2741              'httpMethod' => 'POST',
2742              'parameters' => [],
2743            ],'delete' => [
2744              'path' => '{merchantId}/returnpolicy/{returnPolicyId}',
2745              'httpMethod' => 'DELETE',
2746              'parameters' => [
2747                'merchantId' => [
2748                  'location' => 'path',
2749                  'type' => 'string',
2750                  'required' => true,
2751                ],
2752                'returnPolicyId' => [
2753                  'location' => 'path',
2754                  'type' => 'string',
2755                  'required' => true,
2756                ],
2757              ],
2758            ],'get' => [
2759              'path' => '{merchantId}/returnpolicy/{returnPolicyId}',
2760              'httpMethod' => 'GET',
2761              'parameters' => [
2762                'merchantId' => [
2763                  'location' => 'path',
2764                  'type' => 'string',
2765                  'required' => true,
2766                ],
2767                'returnPolicyId' => [
2768                  'location' => 'path',
2769                  'type' => 'string',
2770                  'required' => true,
2771                ],
2772              ],
2773            ],'insert' => [
2774              'path' => '{merchantId}/returnpolicy',
2775              'httpMethod' => 'POST',
2776              'parameters' => [
2777                'merchantId' => [
2778                  'location' => 'path',
2779                  'type' => 'string',
2780                  'required' => true,
2781                ],
2782              ],
2783            ],'list' => [
2784              'path' => '{merchantId}/returnpolicy',
2785              'httpMethod' => 'GET',
2786              'parameters' => [
2787                'merchantId' => [
2788                  'location' => 'path',
2789                  'type' => 'string',
2790                  'required' => true,
2791                ],
2792              ],
2793            ],
2794          ]
2795        ]
2796    );
2797    $this->returnpolicyonline = new ShoppingContent\Resource\Returnpolicyonline(
2798        $this,
2799        $this->serviceName,
2800        'returnpolicyonline',
2801        [
2802          'methods' => [
2803            'create' => [
2804              'path' => '{merchantId}/returnpolicyonline',
2805              'httpMethod' => 'POST',
2806              'parameters' => [
2807                'merchantId' => [
2808                  'location' => 'path',
2809                  'type' => 'string',
2810                  'required' => true,
2811                ],
2812              ],
2813            ],'delete' => [
2814              'path' => '{merchantId}/returnpolicyonline/{returnPolicyId}',
2815              'httpMethod' => 'DELETE',
2816              'parameters' => [
2817                'merchantId' => [
2818                  'location' => 'path',
2819                  'type' => 'string',
2820                  'required' => true,
2821                ],
2822                'returnPolicyId' => [
2823                  'location' => 'path',
2824                  'type' => 'string',
2825                  'required' => true,
2826                ],
2827              ],
2828            ],'get' => [
2829              'path' => '{merchantId}/returnpolicyonline/{returnPolicyId}',
2830              'httpMethod' => 'GET',
2831              'parameters' => [
2832                'merchantId' => [
2833                  'location' => 'path',
2834                  'type' => 'string',
2835                  'required' => true,
2836                ],
2837                'returnPolicyId' => [
2838                  'location' => 'path',
2839                  'type' => 'string',
2840                  'required' => true,
2841                ],
2842              ],
2843            ],'list' => [
2844              'path' => '{merchantId}/returnpolicyonline',
2845              'httpMethod' => 'GET',
2846              'parameters' => [
2847                'merchantId' => [
2848                  'location' => 'path',
2849                  'type' => 'string',
2850                  'required' => true,
2851                ],
2852              ],
2853            ],'patch' => [
2854              'path' => '{merchantId}/returnpolicyonline/{returnPolicyId}',
2855              'httpMethod' => 'PATCH',
2856              'parameters' => [
2857                'merchantId' => [
2858                  'location' => 'path',
2859                  'type' => 'string',
2860                  'required' => true,
2861                ],
2862                'returnPolicyId' => [
2863                  'location' => 'path',
2864                  'type' => 'string',
2865                  'required' => true,
2866                ],
2867              ],
2868            ],
2869          ]
2870        ]
2871    );
2872    $this->settlementreports = new ShoppingContent\Resource\Settlementreports(
2873        $this,
2874        $this->serviceName,
2875        'settlementreports',
2876        [
2877          'methods' => [
2878            'get' => [
2879              'path' => '{merchantId}/settlementreports/{settlementId}',
2880              'httpMethod' => 'GET',
2881              'parameters' => [
2882                'merchantId' => [
2883                  'location' => 'path',
2884                  'type' => 'string',
2885                  'required' => true,
2886                ],
2887                'settlementId' => [
2888                  'location' => 'path',
2889                  'type' => 'string',
2890                  'required' => true,
2891                ],
2892              ],
2893            ],'list' => [
2894              'path' => '{merchantId}/settlementreports',
2895              'httpMethod' => 'GET',
2896              'parameters' => [
2897                'merchantId' => [
2898                  'location' => 'path',
2899                  'type' => 'string',
2900                  'required' => true,
2901                ],
2902                'maxResults' => [
2903                  'location' => 'query',
2904                  'type' => 'integer',
2905                ],
2906                'pageToken' => [
2907                  'location' => 'query',
2908                  'type' => 'string',
2909                ],
2910                'transferEndDate' => [
2911                  'location' => 'query',
2912                  'type' => 'string',
2913                ],
2914                'transferStartDate' => [
2915                  'location' => 'query',
2916                  'type' => 'string',
2917                ],
2918              ],
2919            ],
2920          ]
2921        ]
2922    );
2923    $this->settlementtransactions = new ShoppingContent\Resource\Settlementtransactions(
2924        $this,
2925        $this->serviceName,
2926        'settlementtransactions',
2927        [
2928          'methods' => [
2929            'list' => [
2930              'path' => '{merchantId}/settlementreports/{settlementId}/transactions',
2931              'httpMethod' => 'GET',
2932              'parameters' => [
2933                'merchantId' => [
2934                  'location' => 'path',
2935                  'type' => 'string',
2936                  'required' => true,
2937                ],
2938                'settlementId' => [
2939                  'location' => 'path',
2940                  'type' => 'string',
2941                  'required' => true,
2942                ],
2943                'maxResults' => [
2944                  'location' => 'query',
2945                  'type' => 'integer',
2946                ],
2947                'pageToken' => [
2948                  'location' => 'query',
2949                  'type' => 'string',
2950                ],
2951                'transactionIds' => [
2952                  'location' => 'query',
2953                  'type' => 'string',
2954                  'repeated' => true,
2955                ],
2956              ],
2957            ],
2958          ]
2959        ]
2960    );
2961    $this->shippingsettings = new ShoppingContent\Resource\Shippingsettings(
2962        $this,
2963        $this->serviceName,
2964        'shippingsettings',
2965        [
2966          'methods' => [
2967            'custombatch' => [
2968              'path' => 'shippingsettings/batch',
2969              'httpMethod' => 'POST',
2970              'parameters' => [],
2971            ],'get' => [
2972              'path' => '{merchantId}/shippingsettings/{accountId}',
2973              'httpMethod' => 'GET',
2974              'parameters' => [
2975                'merchantId' => [
2976                  'location' => 'path',
2977                  'type' => 'string',
2978                  'required' => true,
2979                ],
2980                'accountId' => [
2981                  'location' => 'path',
2982                  'type' => 'string',
2983                  'required' => true,
2984                ],
2985              ],
2986            ],'getsupportedcarriers' => [
2987              'path' => '{merchantId}/supportedCarriers',
2988              'httpMethod' => 'GET',
2989              'parameters' => [
2990                'merchantId' => [
2991                  'location' => 'path',
2992                  'type' => 'string',
2993                  'required' => true,
2994                ],
2995              ],
2996            ],'getsupportedholidays' => [
2997              'path' => '{merchantId}/supportedHolidays',
2998              'httpMethod' => 'GET',
2999              'parameters' => [
3000                'merchantId' => [
3001                  'location' => 'path',
3002                  'type' => 'string',
3003                  'required' => true,
3004                ],
3005              ],
3006            ],'getsupportedpickupservices' => [
3007              'path' => '{merchantId}/supportedPickupServices',
3008              'httpMethod' => 'GET',
3009              'parameters' => [
3010                'merchantId' => [
3011                  'location' => 'path',
3012                  'type' => 'string',
3013                  'required' => true,
3014                ],
3015              ],
3016            ],'list' => [
3017              'path' => '{merchantId}/shippingsettings',
3018              'httpMethod' => 'GET',
3019              'parameters' => [
3020                'merchantId' => [
3021                  'location' => 'path',
3022                  'type' => 'string',
3023                  'required' => true,
3024                ],
3025                'maxResults' => [
3026                  'location' => 'query',
3027                  'type' => 'integer',
3028                ],
3029                'pageToken' => [
3030                  'location' => 'query',
3031                  'type' => 'string',
3032                ],
3033              ],
3034            ],'update' => [
3035              'path' => '{merchantId}/shippingsettings/{accountId}',
3036              'httpMethod' => 'PUT',
3037              'parameters' => [
3038                'merchantId' => [
3039                  'location' => 'path',
3040                  'type' => 'string',
3041                  'required' => true,
3042                ],
3043                'accountId' => [
3044                  'location' => 'path',
3045                  'type' => 'string',
3046                  'required' => true,
3047                ],
3048              ],
3049            ],
3050          ]
3051        ]
3052    );
3053    $this->shoppingadsprogram = new ShoppingContent\Resource\Shoppingadsprogram(
3054        $this,
3055        $this->serviceName,
3056        'shoppingadsprogram',
3057        [
3058          'methods' => [
3059            'get' => [
3060              'path' => '{merchantId}/shoppingadsprogram',
3061              'httpMethod' => 'GET',
3062              'parameters' => [
3063                'merchantId' => [
3064                  'location' => 'path',
3065                  'type' => 'string',
3066                  'required' => true,
3067                ],
3068              ],
3069            ],'requestreview' => [
3070              'path' => '{merchantId}/shoppingadsprogram/requestreview',
3071              'httpMethod' => 'POST',
3072              'parameters' => [
3073                'merchantId' => [
3074                  'location' => 'path',
3075                  'type' => 'string',
3076                  'required' => true,
3077                ],
3078              ],
3079            ],
3080          ]
3081        ]
3082    );
3083  }
3084}
3085
3086// Adding a class alias for backwards compatibility with the previous class name.
3087class_alias(ShoppingContent::class, 'Google_Service_ShoppingContent');
3088