[ Index ] |
PHP Cross Reference of moodle-2.8 |
[Summary view] [Print] [Text view]
1 <?php 2 /* 3 * Copyright 2010 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18 /** 19 * Service definition for ShoppingContent (v2). 20 * 21 * <p> 22 * Manage product items, inventory, and Merchant Center accounts for Google Shopping. 23 * </p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://developers.google.com/shopping-content/v2/" target="_blank">Documentation</a> 28 * </p> 29 * 30 * @author Google, Inc. 31 */ 32 class Google_Service_ShoppingContent extends Google_Service 33 { 34 /** Manage your product listings and accounts for Google Shopping. */ 35 const CONTENT = "https://www.googleapis.com/auth/content"; 36 37 public $accounts; 38 public $accountstatuses; 39 public $datafeeds; 40 public $datafeedstatuses; 41 public $inventory; 42 public $products; 43 public $productstatuses; 44 45 46 /** 47 * Constructs the internal representation of the ShoppingContent service. 48 * 49 * @param Google_Client $client 50 */ 51 public function __construct(Google_Client $client) 52 { 53 parent::__construct($client); 54 $this->servicePath = 'content/v2/'; 55 $this->version = 'v2'; 56 $this->serviceName = 'content'; 57 58 $this->accounts = new Google_Service_ShoppingContent_Accounts_Resource( 59 $this, 60 $this->serviceName, 61 'accounts', 62 array( 63 'methods' => array( 64 'custombatch' => array( 65 'path' => 'accounts/batch', 66 'httpMethod' => 'POST', 67 'parameters' => array(), 68 ),'delete' => array( 69 'path' => '{merchantId}/accounts/{accountId}', 70 'httpMethod' => 'DELETE', 71 'parameters' => array( 72 'merchantId' => array( 73 'location' => 'path', 74 'type' => 'string', 75 'required' => true, 76 ), 77 'accountId' => array( 78 'location' => 'path', 79 'type' => 'string', 80 'required' => true, 81 ), 82 ), 83 ),'get' => array( 84 'path' => '{merchantId}/accounts/{accountId}', 85 'httpMethod' => 'GET', 86 'parameters' => array( 87 'merchantId' => array( 88 'location' => 'path', 89 'type' => 'string', 90 'required' => true, 91 ), 92 'accountId' => array( 93 'location' => 'path', 94 'type' => 'string', 95 'required' => true, 96 ), 97 ), 98 ),'insert' => array( 99 'path' => '{merchantId}/accounts', 100 'httpMethod' => 'POST', 101 'parameters' => array( 102 'merchantId' => array( 103 'location' => 'path', 104 'type' => 'string', 105 'required' => true, 106 ), 107 ), 108 ),'list' => array( 109 'path' => '{merchantId}/accounts', 110 'httpMethod' => 'GET', 111 'parameters' => array( 112 'merchantId' => array( 113 'location' => 'path', 114 'type' => 'string', 115 'required' => true, 116 ), 117 'pageToken' => array( 118 'location' => 'query', 119 'type' => 'string', 120 ), 121 'maxResults' => array( 122 'location' => 'query', 123 'type' => 'integer', 124 ), 125 ), 126 ),'patch' => array( 127 'path' => '{merchantId}/accounts/{accountId}', 128 'httpMethod' => 'PATCH', 129 'parameters' => array( 130 'merchantId' => array( 131 'location' => 'path', 132 'type' => 'string', 133 'required' => true, 134 ), 135 'accountId' => array( 136 'location' => 'path', 137 'type' => 'string', 138 'required' => true, 139 ), 140 ), 141 ),'update' => array( 142 'path' => '{merchantId}/accounts/{accountId}', 143 'httpMethod' => 'PUT', 144 'parameters' => array( 145 'merchantId' => array( 146 'location' => 'path', 147 'type' => 'string', 148 'required' => true, 149 ), 150 'accountId' => array( 151 'location' => 'path', 152 'type' => 'string', 153 'required' => true, 154 ), 155 ), 156 ), 157 ) 158 ) 159 ); 160 $this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource( 161 $this, 162 $this->serviceName, 163 'accountstatuses', 164 array( 165 'methods' => array( 166 'custombatch' => array( 167 'path' => 'accountstatuses/batch', 168 'httpMethod' => 'POST', 169 'parameters' => array(), 170 ),'get' => array( 171 'path' => '{merchantId}/accountstatuses/{accountId}', 172 'httpMethod' => 'GET', 173 'parameters' => array( 174 'merchantId' => array( 175 'location' => 'path', 176 'type' => 'string', 177 'required' => true, 178 ), 179 'accountId' => array( 180 'location' => 'path', 181 'type' => 'string', 182 'required' => true, 183 ), 184 ), 185 ),'list' => array( 186 'path' => '{merchantId}/accountstatuses', 187 'httpMethod' => 'GET', 188 'parameters' => array( 189 'merchantId' => array( 190 'location' => 'path', 191 'type' => 'string', 192 'required' => true, 193 ), 194 'pageToken' => array( 195 'location' => 'query', 196 'type' => 'string', 197 ), 198 'maxResults' => array( 199 'location' => 'query', 200 'type' => 'integer', 201 ), 202 ), 203 ), 204 ) 205 ) 206 ); 207 $this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource( 208 $this, 209 $this->serviceName, 210 'datafeeds', 211 array( 212 'methods' => array( 213 'custombatch' => array( 214 'path' => 'datafeeds/batch', 215 'httpMethod' => 'POST', 216 'parameters' => array(), 217 ),'delete' => array( 218 'path' => '{merchantId}/datafeeds/{datafeedId}', 219 'httpMethod' => 'DELETE', 220 'parameters' => array( 221 'merchantId' => array( 222 'location' => 'path', 223 'type' => 'string', 224 'required' => true, 225 ), 226 'datafeedId' => array( 227 'location' => 'path', 228 'type' => 'string', 229 'required' => true, 230 ), 231 ), 232 ),'get' => array( 233 'path' => '{merchantId}/datafeeds/{datafeedId}', 234 'httpMethod' => 'GET', 235 'parameters' => array( 236 'merchantId' => array( 237 'location' => 'path', 238 'type' => 'string', 239 'required' => true, 240 ), 241 'datafeedId' => array( 242 'location' => 'path', 243 'type' => 'string', 244 'required' => true, 245 ), 246 ), 247 ),'insert' => array( 248 'path' => '{merchantId}/datafeeds', 249 'httpMethod' => 'POST', 250 'parameters' => array( 251 'merchantId' => array( 252 'location' => 'path', 253 'type' => 'string', 254 'required' => true, 255 ), 256 ), 257 ),'list' => array( 258 'path' => '{merchantId}/datafeeds', 259 'httpMethod' => 'GET', 260 'parameters' => array( 261 'merchantId' => array( 262 'location' => 'path', 263 'type' => 'string', 264 'required' => true, 265 ), 266 ), 267 ),'patch' => array( 268 'path' => '{merchantId}/datafeeds/{datafeedId}', 269 'httpMethod' => 'PATCH', 270 'parameters' => array( 271 'merchantId' => array( 272 'location' => 'path', 273 'type' => 'string', 274 'required' => true, 275 ), 276 'datafeedId' => array( 277 'location' => 'path', 278 'type' => 'string', 279 'required' => true, 280 ), 281 ), 282 ),'update' => array( 283 'path' => '{merchantId}/datafeeds/{datafeedId}', 284 'httpMethod' => 'PUT', 285 'parameters' => array( 286 'merchantId' => array( 287 'location' => 'path', 288 'type' => 'string', 289 'required' => true, 290 ), 291 'datafeedId' => array( 292 'location' => 'path', 293 'type' => 'string', 294 'required' => true, 295 ), 296 ), 297 ), 298 ) 299 ) 300 ); 301 $this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource( 302 $this, 303 $this->serviceName, 304 'datafeedstatuses', 305 array( 306 'methods' => array( 307 'custombatch' => array( 308 'path' => 'datafeedstatuses/batch', 309 'httpMethod' => 'POST', 310 'parameters' => array(), 311 ),'get' => array( 312 'path' => '{merchantId}/datafeedstatuses/{datafeedId}', 313 'httpMethod' => 'GET', 314 'parameters' => array( 315 'merchantId' => array( 316 'location' => 'path', 317 'type' => 'string', 318 'required' => true, 319 ), 320 'datafeedId' => array( 321 'location' => 'path', 322 'type' => 'string', 323 'required' => true, 324 ), 325 ), 326 ),'list' => array( 327 'path' => '{merchantId}/datafeedstatuses', 328 'httpMethod' => 'GET', 329 'parameters' => array( 330 'merchantId' => array( 331 'location' => 'path', 332 'type' => 'string', 333 'required' => true, 334 ), 335 ), 336 ), 337 ) 338 ) 339 ); 340 $this->inventory = new Google_Service_ShoppingContent_Inventory_Resource( 341 $this, 342 $this->serviceName, 343 'inventory', 344 array( 345 'methods' => array( 346 'custombatch' => array( 347 'path' => 'inventory/batch', 348 'httpMethod' => 'POST', 349 'parameters' => array(), 350 ),'set' => array( 351 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}', 352 'httpMethod' => 'POST', 353 'parameters' => array( 354 'merchantId' => array( 355 'location' => 'path', 356 'type' => 'string', 357 'required' => true, 358 ), 359 'storeCode' => array( 360 'location' => 'path', 361 'type' => 'string', 362 'required' => true, 363 ), 364 'productId' => array( 365 'location' => 'path', 366 'type' => 'string', 367 'required' => true, 368 ), 369 ), 370 ), 371 ) 372 ) 373 ); 374 $this->products = new Google_Service_ShoppingContent_Products_Resource( 375 $this, 376 $this->serviceName, 377 'products', 378 array( 379 'methods' => array( 380 'custombatch' => array( 381 'path' => 'products/batch', 382 'httpMethod' => 'POST', 383 'parameters' => array( 384 'dryRun' => array( 385 'location' => 'query', 386 'type' => 'boolean', 387 ), 388 ), 389 ),'delete' => array( 390 'path' => '{merchantId}/products/{productId}', 391 'httpMethod' => 'DELETE', 392 'parameters' => array( 393 'merchantId' => array( 394 'location' => 'path', 395 'type' => 'string', 396 'required' => true, 397 ), 398 'productId' => array( 399 'location' => 'path', 400 'type' => 'string', 401 'required' => true, 402 ), 403 'dryRun' => array( 404 'location' => 'query', 405 'type' => 'boolean', 406 ), 407 ), 408 ),'get' => array( 409 'path' => '{merchantId}/products/{productId}', 410 'httpMethod' => 'GET', 411 'parameters' => array( 412 'merchantId' => array( 413 'location' => 'path', 414 'type' => 'string', 415 'required' => true, 416 ), 417 'productId' => array( 418 'location' => 'path', 419 'type' => 'string', 420 'required' => true, 421 ), 422 ), 423 ),'insert' => array( 424 'path' => '{merchantId}/products', 425 'httpMethod' => 'POST', 426 'parameters' => array( 427 'merchantId' => array( 428 'location' => 'path', 429 'type' => 'string', 430 'required' => true, 431 ), 432 'dryRun' => array( 433 'location' => 'query', 434 'type' => 'boolean', 435 ), 436 ), 437 ),'list' => array( 438 'path' => '{merchantId}/products', 439 'httpMethod' => 'GET', 440 'parameters' => array( 441 'merchantId' => array( 442 'location' => 'path', 443 'type' => 'string', 444 'required' => true, 445 ), 446 'pageToken' => array( 447 'location' => 'query', 448 'type' => 'string', 449 ), 450 'maxResults' => array( 451 'location' => 'query', 452 'type' => 'integer', 453 ), 454 ), 455 ), 456 ) 457 ) 458 ); 459 $this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource( 460 $this, 461 $this->serviceName, 462 'productstatuses', 463 array( 464 'methods' => array( 465 'custombatch' => array( 466 'path' => 'productstatuses/batch', 467 'httpMethod' => 'POST', 468 'parameters' => array(), 469 ),'get' => array( 470 'path' => '{merchantId}/productstatuses/{productId}', 471 'httpMethod' => 'GET', 472 'parameters' => array( 473 'merchantId' => array( 474 'location' => 'path', 475 'type' => 'string', 476 'required' => true, 477 ), 478 'productId' => array( 479 'location' => 'path', 480 'type' => 'string', 481 'required' => true, 482 ), 483 ), 484 ),'list' => array( 485 'path' => '{merchantId}/productstatuses', 486 'httpMethod' => 'GET', 487 'parameters' => array( 488 'merchantId' => array( 489 'location' => 'path', 490 'type' => 'string', 491 'required' => true, 492 ), 493 'pageToken' => array( 494 'location' => 'query', 495 'type' => 'string', 496 ), 497 'maxResults' => array( 498 'location' => 'query', 499 'type' => 'integer', 500 ), 501 ), 502 ), 503 ) 504 ) 505 ); 506 } 507 } 508 509 510 /** 511 * The "accounts" collection of methods. 512 * Typical usage is: 513 * <code> 514 * $contentService = new Google_Service_ShoppingContent(...); 515 * $accounts = $contentService->accounts; 516 * </code> 517 */ 518 class Google_Service_ShoppingContent_Accounts_Resource extends Google_Service_Resource 519 { 520 521 /** 522 * Retrieves, inserts, updates, and deletes multiple Merchant Center 523 * (sub-)accounts in a single request. (accounts.custombatch) 524 * 525 * @param Google_AccountsCustomBatchRequest $postBody 526 * @param array $optParams Optional parameters. 527 * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse 528 */ 529 public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array()) 530 { 531 $params = array('postBody' => $postBody); 532 $params = array_merge($params, $optParams); 533 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse"); 534 } 535 /** 536 * Deletes a Merchant Center sub-account. (accounts.delete) 537 * 538 * @param string $merchantId 539 * The ID of the managing account. 540 * @param string $accountId 541 * The ID of the account. 542 * @param array $optParams Optional parameters. 543 */ 544 public function delete($merchantId, $accountId, $optParams = array()) 545 { 546 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 547 $params = array_merge($params, $optParams); 548 return $this->call('delete', array($params)); 549 } 550 /** 551 * Retrieves a Merchant Center account. (accounts.get) 552 * 553 * @param string $merchantId 554 * The ID of the managing account. 555 * @param string $accountId 556 * The ID of the account. 557 * @param array $optParams Optional parameters. 558 * @return Google_Service_ShoppingContent_Account 559 */ 560 public function get($merchantId, $accountId, $optParams = array()) 561 { 562 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 563 $params = array_merge($params, $optParams); 564 return $this->call('get', array($params), "Google_Service_ShoppingContent_Account"); 565 } 566 /** 567 * Creates a Merchant Center sub-account. (accounts.insert) 568 * 569 * @param string $merchantId 570 * The ID of the managing account. 571 * @param Google_Account $postBody 572 * @param array $optParams Optional parameters. 573 * @return Google_Service_ShoppingContent_Account 574 */ 575 public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) 576 { 577 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 578 $params = array_merge($params, $optParams); 579 return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account"); 580 } 581 /** 582 * Lists the sub-accounts in your Merchant Center account. 583 * (accounts.listAccounts) 584 * 585 * @param string $merchantId 586 * The ID of the managing account. 587 * @param array $optParams Optional parameters. 588 * 589 * @opt_param string pageToken 590 * The token returned by the previous request. 591 * @opt_param string maxResults 592 * The maximum number of accounts to return in the response, used for paging. 593 * @return Google_Service_ShoppingContent_AccountsListResponse 594 */ 595 public function listAccounts($merchantId, $optParams = array()) 596 { 597 $params = array('merchantId' => $merchantId); 598 $params = array_merge($params, $optParams); 599 return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse"); 600 } 601 /** 602 * Updates a Merchant Center account. This method supports patch semantics. 603 * (accounts.patch) 604 * 605 * @param string $merchantId 606 * The ID of the managing account. 607 * @param string $accountId 608 * The ID of the account. 609 * @param Google_Account $postBody 610 * @param array $optParams Optional parameters. 611 * @return Google_Service_ShoppingContent_Account 612 */ 613 public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) 614 { 615 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 616 $params = array_merge($params, $optParams); 617 return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account"); 618 } 619 /** 620 * Updates a Merchant Center account. (accounts.update) 621 * 622 * @param string $merchantId 623 * The ID of the managing account. 624 * @param string $accountId 625 * The ID of the account. 626 * @param Google_Account $postBody 627 * @param array $optParams Optional parameters. 628 * @return Google_Service_ShoppingContent_Account 629 */ 630 public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) 631 { 632 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 633 $params = array_merge($params, $optParams); 634 return $this->call('update', array($params), "Google_Service_ShoppingContent_Account"); 635 } 636 } 637 638 /** 639 * The "accountstatuses" collection of methods. 640 * Typical usage is: 641 * <code> 642 * $contentService = new Google_Service_ShoppingContent(...); 643 * $accountstatuses = $contentService->accountstatuses; 644 * </code> 645 */ 646 class Google_Service_ShoppingContent_Accountstatuses_Resource extends Google_Service_Resource 647 { 648 649 /** 650 * (accountstatuses.custombatch) 651 * 652 * @param Google_AccountstatusesCustomBatchRequest $postBody 653 * @param array $optParams Optional parameters. 654 * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse 655 */ 656 public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array()) 657 { 658 $params = array('postBody' => $postBody); 659 $params = array_merge($params, $optParams); 660 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse"); 661 } 662 /** 663 * Retrieves the status of a Merchant Center account. (accountstatuses.get) 664 * 665 * @param string $merchantId 666 * The ID of the managing account. 667 * @param string $accountId 668 * The ID of the account. 669 * @param array $optParams Optional parameters. 670 * @return Google_Service_ShoppingContent_AccountStatus 671 */ 672 public function get($merchantId, $accountId, $optParams = array()) 673 { 674 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 675 $params = array_merge($params, $optParams); 676 return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus"); 677 } 678 /** 679 * Lists the statuses of the sub-accounts in your Merchant Center account. 680 * (accountstatuses.listAccountstatuses) 681 * 682 * @param string $merchantId 683 * The ID of the managing account. 684 * @param array $optParams Optional parameters. 685 * 686 * @opt_param string pageToken 687 * The token returned by the previous request. 688 * @opt_param string maxResults 689 * The maximum number of account statuses to return in the response, used for paging. 690 * @return Google_Service_ShoppingContent_AccountstatusesListResponse 691 */ 692 public function listAccountstatuses($merchantId, $optParams = array()) 693 { 694 $params = array('merchantId' => $merchantId); 695 $params = array_merge($params, $optParams); 696 return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse"); 697 } 698 } 699 700 /** 701 * The "datafeeds" collection of methods. 702 * Typical usage is: 703 * <code> 704 * $contentService = new Google_Service_ShoppingContent(...); 705 * $datafeeds = $contentService->datafeeds; 706 * </code> 707 */ 708 class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource 709 { 710 711 /** 712 * (datafeeds.custombatch) 713 * 714 * @param Google_DatafeedsCustomBatchRequest $postBody 715 * @param array $optParams Optional parameters. 716 * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse 717 */ 718 public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array()) 719 { 720 $params = array('postBody' => $postBody); 721 $params = array_merge($params, $optParams); 722 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse"); 723 } 724 /** 725 * Deletes a datafeed from your Merchant Center account. (datafeeds.delete) 726 * 727 * @param string $merchantId 728 * 729 * @param string $datafeedId 730 * 731 * @param array $optParams Optional parameters. 732 */ 733 public function delete($merchantId, $datafeedId, $optParams = array()) 734 { 735 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 736 $params = array_merge($params, $optParams); 737 return $this->call('delete', array($params)); 738 } 739 /** 740 * Retrieves a datafeed from your Merchant Center account. (datafeeds.get) 741 * 742 * @param string $merchantId 743 * 744 * @param string $datafeedId 745 * 746 * @param array $optParams Optional parameters. 747 * @return Google_Service_ShoppingContent_Datafeed 748 */ 749 public function get($merchantId, $datafeedId, $optParams = array()) 750 { 751 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 752 $params = array_merge($params, $optParams); 753 return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed"); 754 } 755 /** 756 * Registers a datafeed with your Merchant Center account. (datafeeds.insert) 757 * 758 * @param string $merchantId 759 * 760 * @param Google_Datafeed $postBody 761 * @param array $optParams Optional parameters. 762 * @return Google_Service_ShoppingContent_Datafeed 763 */ 764 public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) 765 { 766 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 767 $params = array_merge($params, $optParams); 768 return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed"); 769 } 770 /** 771 * Lists the datafeeds in your Merchant Center account. 772 * (datafeeds.listDatafeeds) 773 * 774 * @param string $merchantId 775 * 776 * @param array $optParams Optional parameters. 777 * @return Google_Service_ShoppingContent_DatafeedsListResponse 778 */ 779 public function listDatafeeds($merchantId, $optParams = array()) 780 { 781 $params = array('merchantId' => $merchantId); 782 $params = array_merge($params, $optParams); 783 return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse"); 784 } 785 /** 786 * Updates a datafeed of your Merchant Center account. This method supports 787 * patch semantics. (datafeeds.patch) 788 * 789 * @param string $merchantId 790 * 791 * @param string $datafeedId 792 * 793 * @param Google_Datafeed $postBody 794 * @param array $optParams Optional parameters. 795 * @return Google_Service_ShoppingContent_Datafeed 796 */ 797 public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) 798 { 799 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); 800 $params = array_merge($params, $optParams); 801 return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed"); 802 } 803 /** 804 * Updates a datafeed of your Merchant Center account. (datafeeds.update) 805 * 806 * @param string $merchantId 807 * 808 * @param string $datafeedId 809 * 810 * @param Google_Datafeed $postBody 811 * @param array $optParams Optional parameters. 812 * @return Google_Service_ShoppingContent_Datafeed 813 */ 814 public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) 815 { 816 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); 817 $params = array_merge($params, $optParams); 818 return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed"); 819 } 820 } 821 822 /** 823 * The "datafeedstatuses" collection of methods. 824 * Typical usage is: 825 * <code> 826 * $contentService = new Google_Service_ShoppingContent(...); 827 * $datafeedstatuses = $contentService->datafeedstatuses; 828 * </code> 829 */ 830 class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource 831 { 832 833 /** 834 * (datafeedstatuses.custombatch) 835 * 836 * @param Google_DatafeedstatusesCustomBatchRequest $postBody 837 * @param array $optParams Optional parameters. 838 * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse 839 */ 840 public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array()) 841 { 842 $params = array('postBody' => $postBody); 843 $params = array_merge($params, $optParams); 844 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse"); 845 } 846 /** 847 * Retrieves the status of a datafeed from your Merchant Center account. 848 * (datafeedstatuses.get) 849 * 850 * @param string $merchantId 851 * 852 * @param string $datafeedId 853 * 854 * @param array $optParams Optional parameters. 855 * @return Google_Service_ShoppingContent_DatafeedStatus 856 */ 857 public function get($merchantId, $datafeedId, $optParams = array()) 858 { 859 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 860 $params = array_merge($params, $optParams); 861 return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus"); 862 } 863 /** 864 * Lists the statuses of the datafeeds in your Merchant Center account. 865 * (datafeedstatuses.listDatafeedstatuses) 866 * 867 * @param string $merchantId 868 * 869 * @param array $optParams Optional parameters. 870 * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse 871 */ 872 public function listDatafeedstatuses($merchantId, $optParams = array()) 873 { 874 $params = array('merchantId' => $merchantId); 875 $params = array_merge($params, $optParams); 876 return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse"); 877 } 878 } 879 880 /** 881 * The "inventory" collection of methods. 882 * Typical usage is: 883 * <code> 884 * $contentService = new Google_Service_ShoppingContent(...); 885 * $inventory = $contentService->inventory; 886 * </code> 887 */ 888 class Google_Service_ShoppingContent_Inventory_Resource extends Google_Service_Resource 889 { 890 891 /** 892 * Updates price and availability for multiple products or stores in a single 893 * request. (inventory.custombatch) 894 * 895 * @param Google_InventoryCustomBatchRequest $postBody 896 * @param array $optParams Optional parameters. 897 * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse 898 */ 899 public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array()) 900 { 901 $params = array('postBody' => $postBody); 902 $params = array_merge($params, $optParams); 903 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse"); 904 } 905 /** 906 * Updates price and availability of a product in your Merchant Center account. 907 * (inventory.set) 908 * 909 * @param string $merchantId 910 * The ID of the managing account. 911 * @param string $storeCode 912 * The code of the store for which to update price and availability. Use online to update price and 913 * availability of an online product. 914 * @param string $productId 915 * The ID of the product for which to update price and availability. 916 * @param Google_InventorySetRequest $postBody 917 * @param array $optParams Optional parameters. 918 * @return Google_Service_ShoppingContent_InventorySetResponse 919 */ 920 public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array()) 921 { 922 $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody); 923 $params = array_merge($params, $optParams); 924 return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse"); 925 } 926 } 927 928 /** 929 * The "products" collection of methods. 930 * Typical usage is: 931 * <code> 932 * $contentService = new Google_Service_ShoppingContent(...); 933 * $products = $contentService->products; 934 * </code> 935 */ 936 class Google_Service_ShoppingContent_Products_Resource extends Google_Service_Resource 937 { 938 939 /** 940 * Retrieves, inserts, and deletes multiple products in a single request. 941 * (products.custombatch) 942 * 943 * @param Google_ProductsCustomBatchRequest $postBody 944 * @param array $optParams Optional parameters. 945 * 946 * @opt_param bool dryRun 947 * Flag to run the request in dry-run mode. 948 * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse 949 */ 950 public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array()) 951 { 952 $params = array('postBody' => $postBody); 953 $params = array_merge($params, $optParams); 954 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse"); 955 } 956 /** 957 * Deletes a product from your Merchant Center account. (products.delete) 958 * 959 * @param string $merchantId 960 * The ID of the managing account. 961 * @param string $productId 962 * The ID of the product. 963 * @param array $optParams Optional parameters. 964 * 965 * @opt_param bool dryRun 966 * Flag to run the request in dry-run mode. 967 */ 968 public function delete($merchantId, $productId, $optParams = array()) 969 { 970 $params = array('merchantId' => $merchantId, 'productId' => $productId); 971 $params = array_merge($params, $optParams); 972 return $this->call('delete', array($params)); 973 } 974 /** 975 * Retrieves a product from your Merchant Center account. (products.get) 976 * 977 * @param string $merchantId 978 * The ID of the managing account. 979 * @param string $productId 980 * The ID of the product. 981 * @param array $optParams Optional parameters. 982 * @return Google_Service_ShoppingContent_Product 983 */ 984 public function get($merchantId, $productId, $optParams = array()) 985 { 986 $params = array('merchantId' => $merchantId, 'productId' => $productId); 987 $params = array_merge($params, $optParams); 988 return $this->call('get', array($params), "Google_Service_ShoppingContent_Product"); 989 } 990 /** 991 * Uploads a product to your Merchant Center account. (products.insert) 992 * 993 * @param string $merchantId 994 * The ID of the managing account. 995 * @param Google_Product $postBody 996 * @param array $optParams Optional parameters. 997 * 998 * @opt_param bool dryRun 999 * Flag to run the request in dry-run mode. 1000 * @return Google_Service_ShoppingContent_Product 1001 */ 1002 public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array()) 1003 { 1004 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 1005 $params = array_merge($params, $optParams); 1006 return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product"); 1007 } 1008 /** 1009 * Lists the products in your Merchant Center account. (products.listProducts) 1010 * 1011 * @param string $merchantId 1012 * The ID of the managing account. 1013 * @param array $optParams Optional parameters. 1014 * 1015 * @opt_param string pageToken 1016 * The token returned by the previous request. 1017 * @opt_param string maxResults 1018 * The maximum number of products to return in the response, used for paging. 1019 * @return Google_Service_ShoppingContent_ProductsListResponse 1020 */ 1021 public function listProducts($merchantId, $optParams = array()) 1022 { 1023 $params = array('merchantId' => $merchantId); 1024 $params = array_merge($params, $optParams); 1025 return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse"); 1026 } 1027 } 1028 1029 /** 1030 * The "productstatuses" collection of methods. 1031 * Typical usage is: 1032 * <code> 1033 * $contentService = new Google_Service_ShoppingContent(...); 1034 * $productstatuses = $contentService->productstatuses; 1035 * </code> 1036 */ 1037 class Google_Service_ShoppingContent_Productstatuses_Resource extends Google_Service_Resource 1038 { 1039 1040 /** 1041 * Gets the statuses of multiple products in a single request. 1042 * (productstatuses.custombatch) 1043 * 1044 * @param Google_ProductstatusesCustomBatchRequest $postBody 1045 * @param array $optParams Optional parameters. 1046 * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse 1047 */ 1048 public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array()) 1049 { 1050 $params = array('postBody' => $postBody); 1051 $params = array_merge($params, $optParams); 1052 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse"); 1053 } 1054 /** 1055 * Gets the status of a product from your Merchant Center account. 1056 * (productstatuses.get) 1057 * 1058 * @param string $merchantId 1059 * The ID of the managing account. 1060 * @param string $productId 1061 * The ID of the product. 1062 * @param array $optParams Optional parameters. 1063 * @return Google_Service_ShoppingContent_ProductStatus 1064 */ 1065 public function get($merchantId, $productId, $optParams = array()) 1066 { 1067 $params = array('merchantId' => $merchantId, 'productId' => $productId); 1068 $params = array_merge($params, $optParams); 1069 return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus"); 1070 } 1071 /** 1072 * Lists the statuses of the products in your Merchant Center account. 1073 * (productstatuses.listProductstatuses) 1074 * 1075 * @param string $merchantId 1076 * The ID of the managing account. 1077 * @param array $optParams Optional parameters. 1078 * 1079 * @opt_param string pageToken 1080 * The token returned by the previous request. 1081 * @opt_param string maxResults 1082 * The maximum number of product statuses to return in the response, used for paging. 1083 * @return Google_Service_ShoppingContent_ProductstatusesListResponse 1084 */ 1085 public function listProductstatuses($merchantId, $optParams = array()) 1086 { 1087 $params = array('merchantId' => $merchantId); 1088 $params = array_merge($params, $optParams); 1089 return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse"); 1090 } 1091 } 1092 1093 1094 1095 1096 class Google_Service_ShoppingContent_Account extends Google_Collection 1097 { 1098 protected $collection_key = 'users'; 1099 public $adultContent; 1100 protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink'; 1101 protected $adwordsLinksDataType = 'array'; 1102 public $id; 1103 public $kind; 1104 public $name; 1105 public $reviewsUrl; 1106 public $sellerId; 1107 protected $usersType = 'Google_Service_ShoppingContent_AccountUser'; 1108 protected $usersDataType = 'array'; 1109 public $websiteUrl; 1110 1111 public function setAdultContent($adultContent) 1112 { 1113 $this->adultContent = $adultContent; 1114 } 1115 1116 public function getAdultContent() 1117 { 1118 return $this->adultContent; 1119 } 1120 1121 public function setAdwordsLinks($adwordsLinks) 1122 { 1123 $this->adwordsLinks = $adwordsLinks; 1124 } 1125 1126 public function getAdwordsLinks() 1127 { 1128 return $this->adwordsLinks; 1129 } 1130 1131 public function setId($id) 1132 { 1133 $this->id = $id; 1134 } 1135 1136 public function getId() 1137 { 1138 return $this->id; 1139 } 1140 1141 public function setKind($kind) 1142 { 1143 $this->kind = $kind; 1144 } 1145 1146 public function getKind() 1147 { 1148 return $this->kind; 1149 } 1150 1151 public function setName($name) 1152 { 1153 $this->name = $name; 1154 } 1155 1156 public function getName() 1157 { 1158 return $this->name; 1159 } 1160 1161 public function setReviewsUrl($reviewsUrl) 1162 { 1163 $this->reviewsUrl = $reviewsUrl; 1164 } 1165 1166 public function getReviewsUrl() 1167 { 1168 return $this->reviewsUrl; 1169 } 1170 1171 public function setSellerId($sellerId) 1172 { 1173 $this->sellerId = $sellerId; 1174 } 1175 1176 public function getSellerId() 1177 { 1178 return $this->sellerId; 1179 } 1180 1181 public function setUsers($users) 1182 { 1183 $this->users = $users; 1184 } 1185 1186 public function getUsers() 1187 { 1188 return $this->users; 1189 } 1190 1191 public function setWebsiteUrl($websiteUrl) 1192 { 1193 $this->websiteUrl = $websiteUrl; 1194 } 1195 1196 public function getWebsiteUrl() 1197 { 1198 return $this->websiteUrl; 1199 } 1200 } 1201 1202 class Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model 1203 { 1204 public $adwordsId; 1205 public $status; 1206 1207 public function setAdwordsId($adwordsId) 1208 { 1209 $this->adwordsId = $adwordsId; 1210 } 1211 1212 public function getAdwordsId() 1213 { 1214 return $this->adwordsId; 1215 } 1216 1217 public function setStatus($status) 1218 { 1219 $this->status = $status; 1220 } 1221 1222 public function getStatus() 1223 { 1224 return $this->status; 1225 } 1226 } 1227 1228 class Google_Service_ShoppingContent_AccountStatus extends Google_Collection 1229 { 1230 protected $collection_key = 'dataQualityIssues'; 1231 public $accountId; 1232 protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue'; 1233 protected $dataQualityIssuesDataType = 'array'; 1234 public $kind; 1235 1236 public function setAccountId($accountId) 1237 { 1238 $this->accountId = $accountId; 1239 } 1240 1241 public function getAccountId() 1242 { 1243 return $this->accountId; 1244 } 1245 1246 public function setDataQualityIssues($dataQualityIssues) 1247 { 1248 $this->dataQualityIssues = $dataQualityIssues; 1249 } 1250 1251 public function getDataQualityIssues() 1252 { 1253 return $this->dataQualityIssues; 1254 } 1255 1256 public function setKind($kind) 1257 { 1258 $this->kind = $kind; 1259 } 1260 1261 public function getKind() 1262 { 1263 return $this->kind; 1264 } 1265 } 1266 1267 class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection 1268 { 1269 protected $collection_key = 'exampleItems'; 1270 public $country; 1271 public $displayedValue; 1272 protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem'; 1273 protected $exampleItemsDataType = 'array'; 1274 public $id; 1275 public $lastChecked; 1276 public $numItems; 1277 public $severity; 1278 public $submittedValue; 1279 1280 public function setCountry($country) 1281 { 1282 $this->country = $country; 1283 } 1284 1285 public function getCountry() 1286 { 1287 return $this->country; 1288 } 1289 1290 public function setDisplayedValue($displayedValue) 1291 { 1292 $this->displayedValue = $displayedValue; 1293 } 1294 1295 public function getDisplayedValue() 1296 { 1297 return $this->displayedValue; 1298 } 1299 1300 public function setExampleItems($exampleItems) 1301 { 1302 $this->exampleItems = $exampleItems; 1303 } 1304 1305 public function getExampleItems() 1306 { 1307 return $this->exampleItems; 1308 } 1309 1310 public function setId($id) 1311 { 1312 $this->id = $id; 1313 } 1314 1315 public function getId() 1316 { 1317 return $this->id; 1318 } 1319 1320 public function setLastChecked($lastChecked) 1321 { 1322 $this->lastChecked = $lastChecked; 1323 } 1324 1325 public function getLastChecked() 1326 { 1327 return $this->lastChecked; 1328 } 1329 1330 public function setNumItems($numItems) 1331 { 1332 $this->numItems = $numItems; 1333 } 1334 1335 public function getNumItems() 1336 { 1337 return $this->numItems; 1338 } 1339 1340 public function setSeverity($severity) 1341 { 1342 $this->severity = $severity; 1343 } 1344 1345 public function getSeverity() 1346 { 1347 return $this->severity; 1348 } 1349 1350 public function setSubmittedValue($submittedValue) 1351 { 1352 $this->submittedValue = $submittedValue; 1353 } 1354 1355 public function getSubmittedValue() 1356 { 1357 return $this->submittedValue; 1358 } 1359 } 1360 1361 class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model 1362 { 1363 public $itemId; 1364 public $link; 1365 public $submittedValue; 1366 public $title; 1367 public $valueOnLandingPage; 1368 1369 public function setItemId($itemId) 1370 { 1371 $this->itemId = $itemId; 1372 } 1373 1374 public function getItemId() 1375 { 1376 return $this->itemId; 1377 } 1378 1379 public function setLink($link) 1380 { 1381 $this->link = $link; 1382 } 1383 1384 public function getLink() 1385 { 1386 return $this->link; 1387 } 1388 1389 public function setSubmittedValue($submittedValue) 1390 { 1391 $this->submittedValue = $submittedValue; 1392 } 1393 1394 public function getSubmittedValue() 1395 { 1396 return $this->submittedValue; 1397 } 1398 1399 public function setTitle($title) 1400 { 1401 $this->title = $title; 1402 } 1403 1404 public function getTitle() 1405 { 1406 return $this->title; 1407 } 1408 1409 public function setValueOnLandingPage($valueOnLandingPage) 1410 { 1411 $this->valueOnLandingPage = $valueOnLandingPage; 1412 } 1413 1414 public function getValueOnLandingPage() 1415 { 1416 return $this->valueOnLandingPage; 1417 } 1418 } 1419 1420 class Google_Service_ShoppingContent_AccountUser extends Google_Model 1421 { 1422 public $admin; 1423 public $emailAddress; 1424 1425 public function setAdmin($admin) 1426 { 1427 $this->admin = $admin; 1428 } 1429 1430 public function getAdmin() 1431 { 1432 return $this->admin; 1433 } 1434 1435 public function setEmailAddress($emailAddress) 1436 { 1437 $this->emailAddress = $emailAddress; 1438 } 1439 1440 public function getEmailAddress() 1441 { 1442 return $this->emailAddress; 1443 } 1444 } 1445 1446 class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection 1447 { 1448 protected $collection_key = 'entries'; 1449 protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry'; 1450 protected $entriesDataType = 'array'; 1451 1452 public function setEntries($entries) 1453 { 1454 $this->entries = $entries; 1455 } 1456 1457 public function getEntries() 1458 { 1459 return $this->entries; 1460 } 1461 } 1462 1463 class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model 1464 { 1465 protected $accountType = 'Google_Service_ShoppingContent_Account'; 1466 protected $accountDataType = ''; 1467 public $accountId; 1468 public $batchId; 1469 public $merchantId; 1470 public $method; 1471 1472 public function setAccount(Google_Service_ShoppingContent_Account $account) 1473 { 1474 $this->account = $account; 1475 } 1476 1477 public function getAccount() 1478 { 1479 return $this->account; 1480 } 1481 1482 public function setAccountId($accountId) 1483 { 1484 $this->accountId = $accountId; 1485 } 1486 1487 public function getAccountId() 1488 { 1489 return $this->accountId; 1490 } 1491 1492 public function setBatchId($batchId) 1493 { 1494 $this->batchId = $batchId; 1495 } 1496 1497 public function getBatchId() 1498 { 1499 return $this->batchId; 1500 } 1501 1502 public function setMerchantId($merchantId) 1503 { 1504 $this->merchantId = $merchantId; 1505 } 1506 1507 public function getMerchantId() 1508 { 1509 return $this->merchantId; 1510 } 1511 1512 public function setMethod($method) 1513 { 1514 $this->method = $method; 1515 } 1516 1517 public function getMethod() 1518 { 1519 return $this->method; 1520 } 1521 } 1522 1523 class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection 1524 { 1525 protected $collection_key = 'entries'; 1526 protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry'; 1527 protected $entriesDataType = 'array'; 1528 public $kind; 1529 1530 public function setEntries($entries) 1531 { 1532 $this->entries = $entries; 1533 } 1534 1535 public function getEntries() 1536 { 1537 return $this->entries; 1538 } 1539 1540 public function setKind($kind) 1541 { 1542 $this->kind = $kind; 1543 } 1544 1545 public function getKind() 1546 { 1547 return $this->kind; 1548 } 1549 } 1550 1551 class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model 1552 { 1553 protected $accountType = 'Google_Service_ShoppingContent_Account'; 1554 protected $accountDataType = ''; 1555 public $batchId; 1556 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 1557 protected $errorsDataType = ''; 1558 public $kind; 1559 1560 public function setAccount(Google_Service_ShoppingContent_Account $account) 1561 { 1562 $this->account = $account; 1563 } 1564 1565 public function getAccount() 1566 { 1567 return $this->account; 1568 } 1569 1570 public function setBatchId($batchId) 1571 { 1572 $this->batchId = $batchId; 1573 } 1574 1575 public function getBatchId() 1576 { 1577 return $this->batchId; 1578 } 1579 1580 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 1581 { 1582 $this->errors = $errors; 1583 } 1584 1585 public function getErrors() 1586 { 1587 return $this->errors; 1588 } 1589 1590 public function setKind($kind) 1591 { 1592 $this->kind = $kind; 1593 } 1594 1595 public function getKind() 1596 { 1597 return $this->kind; 1598 } 1599 } 1600 1601 class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection 1602 { 1603 protected $collection_key = 'resources'; 1604 public $kind; 1605 public $nextPageToken; 1606 protected $resourcesType = 'Google_Service_ShoppingContent_Account'; 1607 protected $resourcesDataType = 'array'; 1608 1609 public function setKind($kind) 1610 { 1611 $this->kind = $kind; 1612 } 1613 1614 public function getKind() 1615 { 1616 return $this->kind; 1617 } 1618 1619 public function setNextPageToken($nextPageToken) 1620 { 1621 $this->nextPageToken = $nextPageToken; 1622 } 1623 1624 public function getNextPageToken() 1625 { 1626 return $this->nextPageToken; 1627 } 1628 1629 public function setResources($resources) 1630 { 1631 $this->resources = $resources; 1632 } 1633 1634 public function getResources() 1635 { 1636 return $this->resources; 1637 } 1638 } 1639 1640 class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection 1641 { 1642 protected $collection_key = 'entries'; 1643 protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry'; 1644 protected $entriesDataType = 'array'; 1645 1646 public function setEntries($entries) 1647 { 1648 $this->entries = $entries; 1649 } 1650 1651 public function getEntries() 1652 { 1653 return $this->entries; 1654 } 1655 } 1656 1657 class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model 1658 { 1659 public $accountId; 1660 public $batchId; 1661 public $merchantId; 1662 public $method; 1663 1664 public function setAccountId($accountId) 1665 { 1666 $this->accountId = $accountId; 1667 } 1668 1669 public function getAccountId() 1670 { 1671 return $this->accountId; 1672 } 1673 1674 public function setBatchId($batchId) 1675 { 1676 $this->batchId = $batchId; 1677 } 1678 1679 public function getBatchId() 1680 { 1681 return $this->batchId; 1682 } 1683 1684 public function setMerchantId($merchantId) 1685 { 1686 $this->merchantId = $merchantId; 1687 } 1688 1689 public function getMerchantId() 1690 { 1691 return $this->merchantId; 1692 } 1693 1694 public function setMethod($method) 1695 { 1696 $this->method = $method; 1697 } 1698 1699 public function getMethod() 1700 { 1701 return $this->method; 1702 } 1703 } 1704 1705 class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection 1706 { 1707 protected $collection_key = 'entries'; 1708 protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry'; 1709 protected $entriesDataType = 'array'; 1710 public $kind; 1711 1712 public function setEntries($entries) 1713 { 1714 $this->entries = $entries; 1715 } 1716 1717 public function getEntries() 1718 { 1719 return $this->entries; 1720 } 1721 1722 public function setKind($kind) 1723 { 1724 $this->kind = $kind; 1725 } 1726 1727 public function getKind() 1728 { 1729 return $this->kind; 1730 } 1731 } 1732 1733 class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model 1734 { 1735 protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus'; 1736 protected $accountStatusDataType = ''; 1737 public $batchId; 1738 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 1739 protected $errorsDataType = ''; 1740 1741 public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus) 1742 { 1743 $this->accountStatus = $accountStatus; 1744 } 1745 1746 public function getAccountStatus() 1747 { 1748 return $this->accountStatus; 1749 } 1750 1751 public function setBatchId($batchId) 1752 { 1753 $this->batchId = $batchId; 1754 } 1755 1756 public function getBatchId() 1757 { 1758 return $this->batchId; 1759 } 1760 1761 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 1762 { 1763 $this->errors = $errors; 1764 } 1765 1766 public function getErrors() 1767 { 1768 return $this->errors; 1769 } 1770 } 1771 1772 class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection 1773 { 1774 protected $collection_key = 'resources'; 1775 public $kind; 1776 public $nextPageToken; 1777 protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus'; 1778 protected $resourcesDataType = 'array'; 1779 1780 public function setKind($kind) 1781 { 1782 $this->kind = $kind; 1783 } 1784 1785 public function getKind() 1786 { 1787 return $this->kind; 1788 } 1789 1790 public function setNextPageToken($nextPageToken) 1791 { 1792 $this->nextPageToken = $nextPageToken; 1793 } 1794 1795 public function getNextPageToken() 1796 { 1797 return $this->nextPageToken; 1798 } 1799 1800 public function setResources($resources) 1801 { 1802 $this->resources = $resources; 1803 } 1804 1805 public function getResources() 1806 { 1807 return $this->resources; 1808 } 1809 } 1810 1811 class Google_Service_ShoppingContent_Datafeed extends Google_Collection 1812 { 1813 protected $collection_key = 'intendedDestinations'; 1814 public $attributeLanguage; 1815 public $contentLanguage; 1816 public $contentType; 1817 protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule'; 1818 protected $fetchScheduleDataType = ''; 1819 public $fileName; 1820 protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat'; 1821 protected $formatDataType = ''; 1822 public $id; 1823 public $intendedDestinations; 1824 public $kind; 1825 public $name; 1826 public $targetCountry; 1827 1828 public function setAttributeLanguage($attributeLanguage) 1829 { 1830 $this->attributeLanguage = $attributeLanguage; 1831 } 1832 1833 public function getAttributeLanguage() 1834 { 1835 return $this->attributeLanguage; 1836 } 1837 1838 public function setContentLanguage($contentLanguage) 1839 { 1840 $this->contentLanguage = $contentLanguage; 1841 } 1842 1843 public function getContentLanguage() 1844 { 1845 return $this->contentLanguage; 1846 } 1847 1848 public function setContentType($contentType) 1849 { 1850 $this->contentType = $contentType; 1851 } 1852 1853 public function getContentType() 1854 { 1855 return $this->contentType; 1856 } 1857 1858 public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule) 1859 { 1860 $this->fetchSchedule = $fetchSchedule; 1861 } 1862 1863 public function getFetchSchedule() 1864 { 1865 return $this->fetchSchedule; 1866 } 1867 1868 public function setFileName($fileName) 1869 { 1870 $this->fileName = $fileName; 1871 } 1872 1873 public function getFileName() 1874 { 1875 return $this->fileName; 1876 } 1877 1878 public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format) 1879 { 1880 $this->format = $format; 1881 } 1882 1883 public function getFormat() 1884 { 1885 return $this->format; 1886 } 1887 1888 public function setId($id) 1889 { 1890 $this->id = $id; 1891 } 1892 1893 public function getId() 1894 { 1895 return $this->id; 1896 } 1897 1898 public function setIntendedDestinations($intendedDestinations) 1899 { 1900 $this->intendedDestinations = $intendedDestinations; 1901 } 1902 1903 public function getIntendedDestinations() 1904 { 1905 return $this->intendedDestinations; 1906 } 1907 1908 public function setKind($kind) 1909 { 1910 $this->kind = $kind; 1911 } 1912 1913 public function getKind() 1914 { 1915 return $this->kind; 1916 } 1917 1918 public function setName($name) 1919 { 1920 $this->name = $name; 1921 } 1922 1923 public function getName() 1924 { 1925 return $this->name; 1926 } 1927 1928 public function setTargetCountry($targetCountry) 1929 { 1930 $this->targetCountry = $targetCountry; 1931 } 1932 1933 public function getTargetCountry() 1934 { 1935 return $this->targetCountry; 1936 } 1937 } 1938 1939 class Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model 1940 { 1941 public $dayOfMonth; 1942 public $fetchUrl; 1943 public $hour; 1944 public $password; 1945 public $timeZone; 1946 public $username; 1947 public $weekday; 1948 1949 public function setDayOfMonth($dayOfMonth) 1950 { 1951 $this->dayOfMonth = $dayOfMonth; 1952 } 1953 1954 public function getDayOfMonth() 1955 { 1956 return $this->dayOfMonth; 1957 } 1958 1959 public function setFetchUrl($fetchUrl) 1960 { 1961 $this->fetchUrl = $fetchUrl; 1962 } 1963 1964 public function getFetchUrl() 1965 { 1966 return $this->fetchUrl; 1967 } 1968 1969 public function setHour($hour) 1970 { 1971 $this->hour = $hour; 1972 } 1973 1974 public function getHour() 1975 { 1976 return $this->hour; 1977 } 1978 1979 public function setPassword($password) 1980 { 1981 $this->password = $password; 1982 } 1983 1984 public function getPassword() 1985 { 1986 return $this->password; 1987 } 1988 1989 public function setTimeZone($timeZone) 1990 { 1991 $this->timeZone = $timeZone; 1992 } 1993 1994 public function getTimeZone() 1995 { 1996 return $this->timeZone; 1997 } 1998 1999 public function setUsername($username) 2000 { 2001 $this->username = $username; 2002 } 2003 2004 public function getUsername() 2005 { 2006 return $this->username; 2007 } 2008 2009 public function setWeekday($weekday) 2010 { 2011 $this->weekday = $weekday; 2012 } 2013 2014 public function getWeekday() 2015 { 2016 return $this->weekday; 2017 } 2018 } 2019 2020 class Google_Service_ShoppingContent_DatafeedFormat extends Google_Model 2021 { 2022 public $columnDelimiter; 2023 public $fileEncoding; 2024 public $quotingMode; 2025 2026 public function setColumnDelimiter($columnDelimiter) 2027 { 2028 $this->columnDelimiter = $columnDelimiter; 2029 } 2030 2031 public function getColumnDelimiter() 2032 { 2033 return $this->columnDelimiter; 2034 } 2035 2036 public function setFileEncoding($fileEncoding) 2037 { 2038 $this->fileEncoding = $fileEncoding; 2039 } 2040 2041 public function getFileEncoding() 2042 { 2043 return $this->fileEncoding; 2044 } 2045 2046 public function setQuotingMode($quotingMode) 2047 { 2048 $this->quotingMode = $quotingMode; 2049 } 2050 2051 public function getQuotingMode() 2052 { 2053 return $this->quotingMode; 2054 } 2055 } 2056 2057 class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection 2058 { 2059 protected $collection_key = 'warnings'; 2060 public $datafeedId; 2061 protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError'; 2062 protected $errorsDataType = 'array'; 2063 public $itemsTotal; 2064 public $itemsValid; 2065 public $kind; 2066 public $processingStatus; 2067 protected $warningsType = 'Google_Service_ShoppingContent_DatafeedStatusError'; 2068 protected $warningsDataType = 'array'; 2069 2070 public function setDatafeedId($datafeedId) 2071 { 2072 $this->datafeedId = $datafeedId; 2073 } 2074 2075 public function getDatafeedId() 2076 { 2077 return $this->datafeedId; 2078 } 2079 2080 public function setErrors($errors) 2081 { 2082 $this->errors = $errors; 2083 } 2084 2085 public function getErrors() 2086 { 2087 return $this->errors; 2088 } 2089 2090 public function setItemsTotal($itemsTotal) 2091 { 2092 $this->itemsTotal = $itemsTotal; 2093 } 2094 2095 public function getItemsTotal() 2096 { 2097 return $this->itemsTotal; 2098 } 2099 2100 public function setItemsValid($itemsValid) 2101 { 2102 $this->itemsValid = $itemsValid; 2103 } 2104 2105 public function getItemsValid() 2106 { 2107 return $this->itemsValid; 2108 } 2109 2110 public function setKind($kind) 2111 { 2112 $this->kind = $kind; 2113 } 2114 2115 public function getKind() 2116 { 2117 return $this->kind; 2118 } 2119 2120 public function setProcessingStatus($processingStatus) 2121 { 2122 $this->processingStatus = $processingStatus; 2123 } 2124 2125 public function getProcessingStatus() 2126 { 2127 return $this->processingStatus; 2128 } 2129 2130 public function setWarnings($warnings) 2131 { 2132 $this->warnings = $warnings; 2133 } 2134 2135 public function getWarnings() 2136 { 2137 return $this->warnings; 2138 } 2139 } 2140 2141 class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection 2142 { 2143 protected $collection_key = 'examples'; 2144 public $code; 2145 public $count; 2146 protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample'; 2147 protected $examplesDataType = 'array'; 2148 public $message; 2149 2150 public function setCode($code) 2151 { 2152 $this->code = $code; 2153 } 2154 2155 public function getCode() 2156 { 2157 return $this->code; 2158 } 2159 2160 public function setCount($count) 2161 { 2162 $this->count = $count; 2163 } 2164 2165 public function getCount() 2166 { 2167 return $this->count; 2168 } 2169 2170 public function setExamples($examples) 2171 { 2172 $this->examples = $examples; 2173 } 2174 2175 public function getExamples() 2176 { 2177 return $this->examples; 2178 } 2179 2180 public function setMessage($message) 2181 { 2182 $this->message = $message; 2183 } 2184 2185 public function getMessage() 2186 { 2187 return $this->message; 2188 } 2189 } 2190 2191 class Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model 2192 { 2193 public $itemId; 2194 public $lineNumber; 2195 public $value; 2196 2197 public function setItemId($itemId) 2198 { 2199 $this->itemId = $itemId; 2200 } 2201 2202 public function getItemId() 2203 { 2204 return $this->itemId; 2205 } 2206 2207 public function setLineNumber($lineNumber) 2208 { 2209 $this->lineNumber = $lineNumber; 2210 } 2211 2212 public function getLineNumber() 2213 { 2214 return $this->lineNumber; 2215 } 2216 2217 public function setValue($value) 2218 { 2219 $this->value = $value; 2220 } 2221 2222 public function getValue() 2223 { 2224 return $this->value; 2225 } 2226 } 2227 2228 class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection 2229 { 2230 protected $collection_key = 'entries'; 2231 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry'; 2232 protected $entriesDataType = 'array'; 2233 2234 public function setEntries($entries) 2235 { 2236 $this->entries = $entries; 2237 } 2238 2239 public function getEntries() 2240 { 2241 return $this->entries; 2242 } 2243 } 2244 2245 class Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model 2246 { 2247 public $batchId; 2248 protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed'; 2249 protected $datafeedDataType = ''; 2250 public $datafeedId; 2251 public $merchantId; 2252 public $method; 2253 2254 public function setBatchId($batchId) 2255 { 2256 $this->batchId = $batchId; 2257 } 2258 2259 public function getBatchId() 2260 { 2261 return $this->batchId; 2262 } 2263 2264 public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) 2265 { 2266 $this->datafeed = $datafeed; 2267 } 2268 2269 public function getDatafeed() 2270 { 2271 return $this->datafeed; 2272 } 2273 2274 public function setDatafeedId($datafeedId) 2275 { 2276 $this->datafeedId = $datafeedId; 2277 } 2278 2279 public function getDatafeedId() 2280 { 2281 return $this->datafeedId; 2282 } 2283 2284 public function setMerchantId($merchantId) 2285 { 2286 $this->merchantId = $merchantId; 2287 } 2288 2289 public function getMerchantId() 2290 { 2291 return $this->merchantId; 2292 } 2293 2294 public function setMethod($method) 2295 { 2296 $this->method = $method; 2297 } 2298 2299 public function getMethod() 2300 { 2301 return $this->method; 2302 } 2303 } 2304 2305 class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection 2306 { 2307 protected $collection_key = 'entries'; 2308 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry'; 2309 protected $entriesDataType = 'array'; 2310 public $kind; 2311 2312 public function setEntries($entries) 2313 { 2314 $this->entries = $entries; 2315 } 2316 2317 public function getEntries() 2318 { 2319 return $this->entries; 2320 } 2321 2322 public function setKind($kind) 2323 { 2324 $this->kind = $kind; 2325 } 2326 2327 public function getKind() 2328 { 2329 return $this->kind; 2330 } 2331 } 2332 2333 class Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model 2334 { 2335 public $batchId; 2336 protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed'; 2337 protected $datafeedDataType = ''; 2338 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 2339 protected $errorsDataType = ''; 2340 2341 public function setBatchId($batchId) 2342 { 2343 $this->batchId = $batchId; 2344 } 2345 2346 public function getBatchId() 2347 { 2348 return $this->batchId; 2349 } 2350 2351 public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) 2352 { 2353 $this->datafeed = $datafeed; 2354 } 2355 2356 public function getDatafeed() 2357 { 2358 return $this->datafeed; 2359 } 2360 2361 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 2362 { 2363 $this->errors = $errors; 2364 } 2365 2366 public function getErrors() 2367 { 2368 return $this->errors; 2369 } 2370 } 2371 2372 class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection 2373 { 2374 protected $collection_key = 'resources'; 2375 public $kind; 2376 protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed'; 2377 protected $resourcesDataType = 'array'; 2378 2379 public function setKind($kind) 2380 { 2381 $this->kind = $kind; 2382 } 2383 2384 public function getKind() 2385 { 2386 return $this->kind; 2387 } 2388 2389 public function setResources($resources) 2390 { 2391 $this->resources = $resources; 2392 } 2393 2394 public function getResources() 2395 { 2396 return $this->resources; 2397 } 2398 } 2399 2400 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection 2401 { 2402 protected $collection_key = 'entries'; 2403 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry'; 2404 protected $entriesDataType = 'array'; 2405 2406 public function setEntries($entries) 2407 { 2408 $this->entries = $entries; 2409 } 2410 2411 public function getEntries() 2412 { 2413 return $this->entries; 2414 } 2415 } 2416 2417 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model 2418 { 2419 public $batchId; 2420 public $datafeedId; 2421 public $merchantId; 2422 public $method; 2423 2424 public function setBatchId($batchId) 2425 { 2426 $this->batchId = $batchId; 2427 } 2428 2429 public function getBatchId() 2430 { 2431 return $this->batchId; 2432 } 2433 2434 public function setDatafeedId($datafeedId) 2435 { 2436 $this->datafeedId = $datafeedId; 2437 } 2438 2439 public function getDatafeedId() 2440 { 2441 return $this->datafeedId; 2442 } 2443 2444 public function setMerchantId($merchantId) 2445 { 2446 $this->merchantId = $merchantId; 2447 } 2448 2449 public function getMerchantId() 2450 { 2451 return $this->merchantId; 2452 } 2453 2454 public function setMethod($method) 2455 { 2456 $this->method = $method; 2457 } 2458 2459 public function getMethod() 2460 { 2461 return $this->method; 2462 } 2463 } 2464 2465 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection 2466 { 2467 protected $collection_key = 'entries'; 2468 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry'; 2469 protected $entriesDataType = 'array'; 2470 public $kind; 2471 2472 public function setEntries($entries) 2473 { 2474 $this->entries = $entries; 2475 } 2476 2477 public function getEntries() 2478 { 2479 return $this->entries; 2480 } 2481 2482 public function setKind($kind) 2483 { 2484 $this->kind = $kind; 2485 } 2486 2487 public function getKind() 2488 { 2489 return $this->kind; 2490 } 2491 } 2492 2493 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model 2494 { 2495 public $batchId; 2496 protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus'; 2497 protected $datafeedStatusDataType = ''; 2498 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 2499 protected $errorsDataType = ''; 2500 2501 public function setBatchId($batchId) 2502 { 2503 $this->batchId = $batchId; 2504 } 2505 2506 public function getBatchId() 2507 { 2508 return $this->batchId; 2509 } 2510 2511 public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus) 2512 { 2513 $this->datafeedStatus = $datafeedStatus; 2514 } 2515 2516 public function getDatafeedStatus() 2517 { 2518 return $this->datafeedStatus; 2519 } 2520 2521 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 2522 { 2523 $this->errors = $errors; 2524 } 2525 2526 public function getErrors() 2527 { 2528 return $this->errors; 2529 } 2530 } 2531 2532 class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection 2533 { 2534 protected $collection_key = 'resources'; 2535 public $kind; 2536 protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus'; 2537 protected $resourcesDataType = 'array'; 2538 2539 public function setKind($kind) 2540 { 2541 $this->kind = $kind; 2542 } 2543 2544 public function getKind() 2545 { 2546 return $this->kind; 2547 } 2548 2549 public function setResources($resources) 2550 { 2551 $this->resources = $resources; 2552 } 2553 2554 public function getResources() 2555 { 2556 return $this->resources; 2557 } 2558 } 2559 2560 class Google_Service_ShoppingContent_Error extends Google_Model 2561 { 2562 public $domain; 2563 public $message; 2564 public $reason; 2565 2566 public function setDomain($domain) 2567 { 2568 $this->domain = $domain; 2569 } 2570 2571 public function getDomain() 2572 { 2573 return $this->domain; 2574 } 2575 2576 public function setMessage($message) 2577 { 2578 $this->message = $message; 2579 } 2580 2581 public function getMessage() 2582 { 2583 return $this->message; 2584 } 2585 2586 public function setReason($reason) 2587 { 2588 $this->reason = $reason; 2589 } 2590 2591 public function getReason() 2592 { 2593 return $this->reason; 2594 } 2595 } 2596 2597 class Google_Service_ShoppingContent_Errors extends Google_Collection 2598 { 2599 protected $collection_key = 'errors'; 2600 public $code; 2601 protected $errorsType = 'Google_Service_ShoppingContent_Error'; 2602 protected $errorsDataType = 'array'; 2603 public $message; 2604 2605 public function setCode($code) 2606 { 2607 $this->code = $code; 2608 } 2609 2610 public function getCode() 2611 { 2612 return $this->code; 2613 } 2614 2615 public function setErrors($errors) 2616 { 2617 $this->errors = $errors; 2618 } 2619 2620 public function getErrors() 2621 { 2622 return $this->errors; 2623 } 2624 2625 public function setMessage($message) 2626 { 2627 $this->message = $message; 2628 } 2629 2630 public function getMessage() 2631 { 2632 return $this->message; 2633 } 2634 } 2635 2636 class Google_Service_ShoppingContent_Inventory extends Google_Model 2637 { 2638 public $availability; 2639 public $kind; 2640 protected $priceType = 'Google_Service_ShoppingContent_Price'; 2641 protected $priceDataType = ''; 2642 public $quantity; 2643 protected $salePriceType = 'Google_Service_ShoppingContent_Price'; 2644 protected $salePriceDataType = ''; 2645 public $salePriceEffectiveDate; 2646 2647 public function setAvailability($availability) 2648 { 2649 $this->availability = $availability; 2650 } 2651 2652 public function getAvailability() 2653 { 2654 return $this->availability; 2655 } 2656 2657 public function setKind($kind) 2658 { 2659 $this->kind = $kind; 2660 } 2661 2662 public function getKind() 2663 { 2664 return $this->kind; 2665 } 2666 2667 public function setPrice(Google_Service_ShoppingContent_Price $price) 2668 { 2669 $this->price = $price; 2670 } 2671 2672 public function getPrice() 2673 { 2674 return $this->price; 2675 } 2676 2677 public function setQuantity($quantity) 2678 { 2679 $this->quantity = $quantity; 2680 } 2681 2682 public function getQuantity() 2683 { 2684 return $this->quantity; 2685 } 2686 2687 public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) 2688 { 2689 $this->salePrice = $salePrice; 2690 } 2691 2692 public function getSalePrice() 2693 { 2694 return $this->salePrice; 2695 } 2696 2697 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 2698 { 2699 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 2700 } 2701 2702 public function getSalePriceEffectiveDate() 2703 { 2704 return $this->salePriceEffectiveDate; 2705 } 2706 } 2707 2708 class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection 2709 { 2710 protected $collection_key = 'entries'; 2711 protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry'; 2712 protected $entriesDataType = 'array'; 2713 2714 public function setEntries($entries) 2715 { 2716 $this->entries = $entries; 2717 } 2718 2719 public function getEntries() 2720 { 2721 return $this->entries; 2722 } 2723 } 2724 2725 class Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model 2726 { 2727 public $batchId; 2728 protected $inventoryType = 'Google_Service_ShoppingContent_Inventory'; 2729 protected $inventoryDataType = ''; 2730 public $merchantId; 2731 public $productId; 2732 public $storeCode; 2733 2734 public function setBatchId($batchId) 2735 { 2736 $this->batchId = $batchId; 2737 } 2738 2739 public function getBatchId() 2740 { 2741 return $this->batchId; 2742 } 2743 2744 public function setInventory(Google_Service_ShoppingContent_Inventory $inventory) 2745 { 2746 $this->inventory = $inventory; 2747 } 2748 2749 public function getInventory() 2750 { 2751 return $this->inventory; 2752 } 2753 2754 public function setMerchantId($merchantId) 2755 { 2756 $this->merchantId = $merchantId; 2757 } 2758 2759 public function getMerchantId() 2760 { 2761 return $this->merchantId; 2762 } 2763 2764 public function setProductId($productId) 2765 { 2766 $this->productId = $productId; 2767 } 2768 2769 public function getProductId() 2770 { 2771 return $this->productId; 2772 } 2773 2774 public function setStoreCode($storeCode) 2775 { 2776 $this->storeCode = $storeCode; 2777 } 2778 2779 public function getStoreCode() 2780 { 2781 return $this->storeCode; 2782 } 2783 } 2784 2785 class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection 2786 { 2787 protected $collection_key = 'entries'; 2788 protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry'; 2789 protected $entriesDataType = 'array'; 2790 public $kind; 2791 2792 public function setEntries($entries) 2793 { 2794 $this->entries = $entries; 2795 } 2796 2797 public function getEntries() 2798 { 2799 return $this->entries; 2800 } 2801 2802 public function setKind($kind) 2803 { 2804 $this->kind = $kind; 2805 } 2806 2807 public function getKind() 2808 { 2809 return $this->kind; 2810 } 2811 } 2812 2813 class Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model 2814 { 2815 public $batchId; 2816 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 2817 protected $errorsDataType = ''; 2818 public $kind; 2819 2820 public function setBatchId($batchId) 2821 { 2822 $this->batchId = $batchId; 2823 } 2824 2825 public function getBatchId() 2826 { 2827 return $this->batchId; 2828 } 2829 2830 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 2831 { 2832 $this->errors = $errors; 2833 } 2834 2835 public function getErrors() 2836 { 2837 return $this->errors; 2838 } 2839 2840 public function setKind($kind) 2841 { 2842 $this->kind = $kind; 2843 } 2844 2845 public function getKind() 2846 { 2847 return $this->kind; 2848 } 2849 } 2850 2851 class Google_Service_ShoppingContent_InventorySetRequest extends Google_Model 2852 { 2853 public $availability; 2854 protected $priceType = 'Google_Service_ShoppingContent_Price'; 2855 protected $priceDataType = ''; 2856 public $quantity; 2857 protected $salePriceType = 'Google_Service_ShoppingContent_Price'; 2858 protected $salePriceDataType = ''; 2859 public $salePriceEffectiveDate; 2860 2861 public function setAvailability($availability) 2862 { 2863 $this->availability = $availability; 2864 } 2865 2866 public function getAvailability() 2867 { 2868 return $this->availability; 2869 } 2870 2871 public function setPrice(Google_Service_ShoppingContent_Price $price) 2872 { 2873 $this->price = $price; 2874 } 2875 2876 public function getPrice() 2877 { 2878 return $this->price; 2879 } 2880 2881 public function setQuantity($quantity) 2882 { 2883 $this->quantity = $quantity; 2884 } 2885 2886 public function getQuantity() 2887 { 2888 return $this->quantity; 2889 } 2890 2891 public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) 2892 { 2893 $this->salePrice = $salePrice; 2894 } 2895 2896 public function getSalePrice() 2897 { 2898 return $this->salePrice; 2899 } 2900 2901 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 2902 { 2903 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 2904 } 2905 2906 public function getSalePriceEffectiveDate() 2907 { 2908 return $this->salePriceEffectiveDate; 2909 } 2910 } 2911 2912 class Google_Service_ShoppingContent_InventorySetResponse extends Google_Model 2913 { 2914 public $kind; 2915 2916 public function setKind($kind) 2917 { 2918 $this->kind = $kind; 2919 } 2920 2921 public function getKind() 2922 { 2923 return $this->kind; 2924 } 2925 } 2926 2927 class Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model 2928 { 2929 public $name; 2930 public $pointsValue; 2931 public $ratio; 2932 2933 public function setName($name) 2934 { 2935 $this->name = $name; 2936 } 2937 2938 public function getName() 2939 { 2940 return $this->name; 2941 } 2942 2943 public function setPointsValue($pointsValue) 2944 { 2945 $this->pointsValue = $pointsValue; 2946 } 2947 2948 public function getPointsValue() 2949 { 2950 return $this->pointsValue; 2951 } 2952 2953 public function setRatio($ratio) 2954 { 2955 $this->ratio = $ratio; 2956 } 2957 2958 public function getRatio() 2959 { 2960 return $this->ratio; 2961 } 2962 } 2963 2964 class Google_Service_ShoppingContent_Price extends Google_Model 2965 { 2966 public $currency; 2967 public $value; 2968 2969 public function setCurrency($currency) 2970 { 2971 $this->currency = $currency; 2972 } 2973 2974 public function getCurrency() 2975 { 2976 return $this->currency; 2977 } 2978 2979 public function setValue($value) 2980 { 2981 $this->value = $value; 2982 } 2983 2984 public function getValue() 2985 { 2986 return $this->value; 2987 } 2988 } 2989 2990 class Google_Service_ShoppingContent_Product extends Google_Collection 2991 { 2992 protected $collection_key = 'warnings'; 2993 public $additionalImageLinks; 2994 public $adult; 2995 public $adwordsGrouping; 2996 public $adwordsLabels; 2997 public $adwordsRedirect; 2998 public $ageGroup; 2999 public $availability; 3000 public $availabilityDate; 3001 public $brand; 3002 public $channel; 3003 public $color; 3004 public $condition; 3005 public $contentLanguage; 3006 protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute'; 3007 protected $customAttributesDataType = 'array'; 3008 protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup'; 3009 protected $customGroupsDataType = 'array'; 3010 public $customLabel0; 3011 public $customLabel1; 3012 public $customLabel2; 3013 public $customLabel3; 3014 public $customLabel4; 3015 public $description; 3016 protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination'; 3017 protected $destinationsDataType = 'array'; 3018 public $energyEfficiencyClass; 3019 public $expirationDate; 3020 public $gender; 3021 public $googleProductCategory; 3022 public $gtin; 3023 public $id; 3024 public $identifierExists; 3025 public $imageLink; 3026 protected $installmentType = 'Google_Service_ShoppingContent_ProductInstallment'; 3027 protected $installmentDataType = ''; 3028 public $isBundle; 3029 public $itemGroupId; 3030 public $kind; 3031 public $link; 3032 protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints'; 3033 protected $loyaltyPointsDataType = ''; 3034 public $material; 3035 public $mobileLink; 3036 public $mpn; 3037 public $multipack; 3038 public $offerId; 3039 public $onlineOnly; 3040 public $pattern; 3041 protected $priceType = 'Google_Service_ShoppingContent_Price'; 3042 protected $priceDataType = ''; 3043 public $productType; 3044 protected $salePriceType = 'Google_Service_ShoppingContent_Price'; 3045 protected $salePriceDataType = ''; 3046 public $salePriceEffectiveDate; 3047 protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping'; 3048 protected $shippingDataType = 'array'; 3049 public $shippingLabel; 3050 protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight'; 3051 protected $shippingWeightDataType = ''; 3052 public $sizeSystem; 3053 public $sizeType; 3054 public $sizes; 3055 public $targetCountry; 3056 protected $taxesType = 'Google_Service_ShoppingContent_ProductTax'; 3057 protected $taxesDataType = 'array'; 3058 public $title; 3059 protected $unitPricingBaseMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure'; 3060 protected $unitPricingBaseMeasureDataType = ''; 3061 protected $unitPricingMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingMeasure'; 3062 protected $unitPricingMeasureDataType = ''; 3063 public $validatedDestinations; 3064 protected $warningsType = 'Google_Service_ShoppingContent_Error'; 3065 protected $warningsDataType = 'array'; 3066 3067 public function setAdditionalImageLinks($additionalImageLinks) 3068 { 3069 $this->additionalImageLinks = $additionalImageLinks; 3070 } 3071 3072 public function getAdditionalImageLinks() 3073 { 3074 return $this->additionalImageLinks; 3075 } 3076 3077 public function setAdult($adult) 3078 { 3079 $this->adult = $adult; 3080 } 3081 3082 public function getAdult() 3083 { 3084 return $this->adult; 3085 } 3086 3087 public function setAdwordsGrouping($adwordsGrouping) 3088 { 3089 $this->adwordsGrouping = $adwordsGrouping; 3090 } 3091 3092 public function getAdwordsGrouping() 3093 { 3094 return $this->adwordsGrouping; 3095 } 3096 3097 public function setAdwordsLabels($adwordsLabels) 3098 { 3099 $this->adwordsLabels = $adwordsLabels; 3100 } 3101 3102 public function getAdwordsLabels() 3103 { 3104 return $this->adwordsLabels; 3105 } 3106 3107 public function setAdwordsRedirect($adwordsRedirect) 3108 { 3109 $this->adwordsRedirect = $adwordsRedirect; 3110 } 3111 3112 public function getAdwordsRedirect() 3113 { 3114 return $this->adwordsRedirect; 3115 } 3116 3117 public function setAgeGroup($ageGroup) 3118 { 3119 $this->ageGroup = $ageGroup; 3120 } 3121 3122 public function getAgeGroup() 3123 { 3124 return $this->ageGroup; 3125 } 3126 3127 public function setAvailability($availability) 3128 { 3129 $this->availability = $availability; 3130 } 3131 3132 public function getAvailability() 3133 { 3134 return $this->availability; 3135 } 3136 3137 public function setAvailabilityDate($availabilityDate) 3138 { 3139 $this->availabilityDate = $availabilityDate; 3140 } 3141 3142 public function getAvailabilityDate() 3143 { 3144 return $this->availabilityDate; 3145 } 3146 3147 public function setBrand($brand) 3148 { 3149 $this->brand = $brand; 3150 } 3151 3152 public function getBrand() 3153 { 3154 return $this->brand; 3155 } 3156 3157 public function setChannel($channel) 3158 { 3159 $this->channel = $channel; 3160 } 3161 3162 public function getChannel() 3163 { 3164 return $this->channel; 3165 } 3166 3167 public function setColor($color) 3168 { 3169 $this->color = $color; 3170 } 3171 3172 public function getColor() 3173 { 3174 return $this->color; 3175 } 3176 3177 public function setCondition($condition) 3178 { 3179 $this->condition = $condition; 3180 } 3181 3182 public function getCondition() 3183 { 3184 return $this->condition; 3185 } 3186 3187 public function setContentLanguage($contentLanguage) 3188 { 3189 $this->contentLanguage = $contentLanguage; 3190 } 3191 3192 public function getContentLanguage() 3193 { 3194 return $this->contentLanguage; 3195 } 3196 3197 public function setCustomAttributes($customAttributes) 3198 { 3199 $this->customAttributes = $customAttributes; 3200 } 3201 3202 public function getCustomAttributes() 3203 { 3204 return $this->customAttributes; 3205 } 3206 3207 public function setCustomGroups($customGroups) 3208 { 3209 $this->customGroups = $customGroups; 3210 } 3211 3212 public function getCustomGroups() 3213 { 3214 return $this->customGroups; 3215 } 3216 3217 public function setCustomLabel0($customLabel0) 3218 { 3219 $this->customLabel0 = $customLabel0; 3220 } 3221 3222 public function getCustomLabel0() 3223 { 3224 return $this->customLabel0; 3225 } 3226 3227 public function setCustomLabel1($customLabel1) 3228 { 3229 $this->customLabel1 = $customLabel1; 3230 } 3231 3232 public function getCustomLabel1() 3233 { 3234 return $this->customLabel1; 3235 } 3236 3237 public function setCustomLabel2($customLabel2) 3238 { 3239 $this->customLabel2 = $customLabel2; 3240 } 3241 3242 public function getCustomLabel2() 3243 { 3244 return $this->customLabel2; 3245 } 3246 3247 public function setCustomLabel3($customLabel3) 3248 { 3249 $this->customLabel3 = $customLabel3; 3250 } 3251 3252 public function getCustomLabel3() 3253 { 3254 return $this->customLabel3; 3255 } 3256 3257 public function setCustomLabel4($customLabel4) 3258 { 3259 $this->customLabel4 = $customLabel4; 3260 } 3261 3262 public function getCustomLabel4() 3263 { 3264 return $this->customLabel4; 3265 } 3266 3267 public function setDescription($description) 3268 { 3269 $this->description = $description; 3270 } 3271 3272 public function getDescription() 3273 { 3274 return $this->description; 3275 } 3276 3277 public function setDestinations($destinations) 3278 { 3279 $this->destinations = $destinations; 3280 } 3281 3282 public function getDestinations() 3283 { 3284 return $this->destinations; 3285 } 3286 3287 public function setEnergyEfficiencyClass($energyEfficiencyClass) 3288 { 3289 $this->energyEfficiencyClass = $energyEfficiencyClass; 3290 } 3291 3292 public function getEnergyEfficiencyClass() 3293 { 3294 return $this->energyEfficiencyClass; 3295 } 3296 3297 public function setExpirationDate($expirationDate) 3298 { 3299 $this->expirationDate = $expirationDate; 3300 } 3301 3302 public function getExpirationDate() 3303 { 3304 return $this->expirationDate; 3305 } 3306 3307 public function setGender($gender) 3308 { 3309 $this->gender = $gender; 3310 } 3311 3312 public function getGender() 3313 { 3314 return $this->gender; 3315 } 3316 3317 public function setGoogleProductCategory($googleProductCategory) 3318 { 3319 $this->googleProductCategory = $googleProductCategory; 3320 } 3321 3322 public function getGoogleProductCategory() 3323 { 3324 return $this->googleProductCategory; 3325 } 3326 3327 public function setGtin($gtin) 3328 { 3329 $this->gtin = $gtin; 3330 } 3331 3332 public function getGtin() 3333 { 3334 return $this->gtin; 3335 } 3336 3337 public function setId($id) 3338 { 3339 $this->id = $id; 3340 } 3341 3342 public function getId() 3343 { 3344 return $this->id; 3345 } 3346 3347 public function setIdentifierExists($identifierExists) 3348 { 3349 $this->identifierExists = $identifierExists; 3350 } 3351 3352 public function getIdentifierExists() 3353 { 3354 return $this->identifierExists; 3355 } 3356 3357 public function setImageLink($imageLink) 3358 { 3359 $this->imageLink = $imageLink; 3360 } 3361 3362 public function getImageLink() 3363 { 3364 return $this->imageLink; 3365 } 3366 3367 public function setInstallment(Google_Service_ShoppingContent_ProductInstallment $installment) 3368 { 3369 $this->installment = $installment; 3370 } 3371 3372 public function getInstallment() 3373 { 3374 return $this->installment; 3375 } 3376 3377 public function setIsBundle($isBundle) 3378 { 3379 $this->isBundle = $isBundle; 3380 } 3381 3382 public function getIsBundle() 3383 { 3384 return $this->isBundle; 3385 } 3386 3387 public function setItemGroupId($itemGroupId) 3388 { 3389 $this->itemGroupId = $itemGroupId; 3390 } 3391 3392 public function getItemGroupId() 3393 { 3394 return $this->itemGroupId; 3395 } 3396 3397 public function setKind($kind) 3398 { 3399 $this->kind = $kind; 3400 } 3401 3402 public function getKind() 3403 { 3404 return $this->kind; 3405 } 3406 3407 public function setLink($link) 3408 { 3409 $this->link = $link; 3410 } 3411 3412 public function getLink() 3413 { 3414 return $this->link; 3415 } 3416 3417 public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints) 3418 { 3419 $this->loyaltyPoints = $loyaltyPoints; 3420 } 3421 3422 public function getLoyaltyPoints() 3423 { 3424 return $this->loyaltyPoints; 3425 } 3426 3427 public function setMaterial($material) 3428 { 3429 $this->material = $material; 3430 } 3431 3432 public function getMaterial() 3433 { 3434 return $this->material; 3435 } 3436 3437 public function setMobileLink($mobileLink) 3438 { 3439 $this->mobileLink = $mobileLink; 3440 } 3441 3442 public function getMobileLink() 3443 { 3444 return $this->mobileLink; 3445 } 3446 3447 public function setMpn($mpn) 3448 { 3449 $this->mpn = $mpn; 3450 } 3451 3452 public function getMpn() 3453 { 3454 return $this->mpn; 3455 } 3456 3457 public function setMultipack($multipack) 3458 { 3459 $this->multipack = $multipack; 3460 } 3461 3462 public function getMultipack() 3463 { 3464 return $this->multipack; 3465 } 3466 3467 public function setOfferId($offerId) 3468 { 3469 $this->offerId = $offerId; 3470 } 3471 3472 public function getOfferId() 3473 { 3474 return $this->offerId; 3475 } 3476 3477 public function setOnlineOnly($onlineOnly) 3478 { 3479 $this->onlineOnly = $onlineOnly; 3480 } 3481 3482 public function getOnlineOnly() 3483 { 3484 return $this->onlineOnly; 3485 } 3486 3487 public function setPattern($pattern) 3488 { 3489 $this->pattern = $pattern; 3490 } 3491 3492 public function getPattern() 3493 { 3494 return $this->pattern; 3495 } 3496 3497 public function setPrice(Google_Service_ShoppingContent_Price $price) 3498 { 3499 $this->price = $price; 3500 } 3501 3502 public function getPrice() 3503 { 3504 return $this->price; 3505 } 3506 3507 public function setProductType($productType) 3508 { 3509 $this->productType = $productType; 3510 } 3511 3512 public function getProductType() 3513 { 3514 return $this->productType; 3515 } 3516 3517 public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) 3518 { 3519 $this->salePrice = $salePrice; 3520 } 3521 3522 public function getSalePrice() 3523 { 3524 return $this->salePrice; 3525 } 3526 3527 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 3528 { 3529 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 3530 } 3531 3532 public function getSalePriceEffectiveDate() 3533 { 3534 return $this->salePriceEffectiveDate; 3535 } 3536 3537 public function setShipping($shipping) 3538 { 3539 $this->shipping = $shipping; 3540 } 3541 3542 public function getShipping() 3543 { 3544 return $this->shipping; 3545 } 3546 3547 public function setShippingLabel($shippingLabel) 3548 { 3549 $this->shippingLabel = $shippingLabel; 3550 } 3551 3552 public function getShippingLabel() 3553 { 3554 return $this->shippingLabel; 3555 } 3556 3557 public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight) 3558 { 3559 $this->shippingWeight = $shippingWeight; 3560 } 3561 3562 public function getShippingWeight() 3563 { 3564 return $this->shippingWeight; 3565 } 3566 3567 public function setSizeSystem($sizeSystem) 3568 { 3569 $this->sizeSystem = $sizeSystem; 3570 } 3571 3572 public function getSizeSystem() 3573 { 3574 return $this->sizeSystem; 3575 } 3576 3577 public function setSizeType($sizeType) 3578 { 3579 $this->sizeType = $sizeType; 3580 } 3581 3582 public function getSizeType() 3583 { 3584 return $this->sizeType; 3585 } 3586 3587 public function setSizes($sizes) 3588 { 3589 $this->sizes = $sizes; 3590 } 3591 3592 public function getSizes() 3593 { 3594 return $this->sizes; 3595 } 3596 3597 public function setTargetCountry($targetCountry) 3598 { 3599 $this->targetCountry = $targetCountry; 3600 } 3601 3602 public function getTargetCountry() 3603 { 3604 return $this->targetCountry; 3605 } 3606 3607 public function setTaxes($taxes) 3608 { 3609 $this->taxes = $taxes; 3610 } 3611 3612 public function getTaxes() 3613 { 3614 return $this->taxes; 3615 } 3616 3617 public function setTitle($title) 3618 { 3619 $this->title = $title; 3620 } 3621 3622 public function getTitle() 3623 { 3624 return $this->title; 3625 } 3626 3627 public function setUnitPricingBaseMeasure(Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure) 3628 { 3629 $this->unitPricingBaseMeasure = $unitPricingBaseMeasure; 3630 } 3631 3632 public function getUnitPricingBaseMeasure() 3633 { 3634 return $this->unitPricingBaseMeasure; 3635 } 3636 3637 public function setUnitPricingMeasure(Google_Service_ShoppingContent_ProductUnitPricingMeasure $unitPricingMeasure) 3638 { 3639 $this->unitPricingMeasure = $unitPricingMeasure; 3640 } 3641 3642 public function getUnitPricingMeasure() 3643 { 3644 return $this->unitPricingMeasure; 3645 } 3646 3647 public function setValidatedDestinations($validatedDestinations) 3648 { 3649 $this->validatedDestinations = $validatedDestinations; 3650 } 3651 3652 public function getValidatedDestinations() 3653 { 3654 return $this->validatedDestinations; 3655 } 3656 3657 public function setWarnings($warnings) 3658 { 3659 $this->warnings = $warnings; 3660 } 3661 3662 public function getWarnings() 3663 { 3664 return $this->warnings; 3665 } 3666 } 3667 3668 class Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model 3669 { 3670 public $name; 3671 public $type; 3672 public $unit; 3673 public $value; 3674 3675 public function setName($name) 3676 { 3677 $this->name = $name; 3678 } 3679 3680 public function getName() 3681 { 3682 return $this->name; 3683 } 3684 3685 public function setType($type) 3686 { 3687 $this->type = $type; 3688 } 3689 3690 public function getType() 3691 { 3692 return $this->type; 3693 } 3694 3695 public function setUnit($unit) 3696 { 3697 $this->unit = $unit; 3698 } 3699 3700 public function getUnit() 3701 { 3702 return $this->unit; 3703 } 3704 3705 public function setValue($value) 3706 { 3707 $this->value = $value; 3708 } 3709 3710 public function getValue() 3711 { 3712 return $this->value; 3713 } 3714 } 3715 3716 class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection 3717 { 3718 protected $collection_key = 'attributes'; 3719 protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute'; 3720 protected $attributesDataType = 'array'; 3721 public $name; 3722 3723 public function setAttributes($attributes) 3724 { 3725 $this->attributes = $attributes; 3726 } 3727 3728 public function getAttributes() 3729 { 3730 return $this->attributes; 3731 } 3732 3733 public function setName($name) 3734 { 3735 $this->name = $name; 3736 } 3737 3738 public function getName() 3739 { 3740 return $this->name; 3741 } 3742 } 3743 3744 class Google_Service_ShoppingContent_ProductDestination extends Google_Model 3745 { 3746 public $destinationName; 3747 public $intention; 3748 3749 public function setDestinationName($destinationName) 3750 { 3751 $this->destinationName = $destinationName; 3752 } 3753 3754 public function getDestinationName() 3755 { 3756 return $this->destinationName; 3757 } 3758 3759 public function setIntention($intention) 3760 { 3761 $this->intention = $intention; 3762 } 3763 3764 public function getIntention() 3765 { 3766 return $this->intention; 3767 } 3768 } 3769 3770 class Google_Service_ShoppingContent_ProductInstallment extends Google_Model 3771 { 3772 protected $amountType = 'Google_Service_ShoppingContent_Price'; 3773 protected $amountDataType = ''; 3774 public $months; 3775 3776 public function setAmount(Google_Service_ShoppingContent_Price $amount) 3777 { 3778 $this->amount = $amount; 3779 } 3780 3781 public function getAmount() 3782 { 3783 return $this->amount; 3784 } 3785 3786 public function setMonths($months) 3787 { 3788 $this->months = $months; 3789 } 3790 3791 public function getMonths() 3792 { 3793 return $this->months; 3794 } 3795 } 3796 3797 class Google_Service_ShoppingContent_ProductShipping extends Google_Model 3798 { 3799 public $country; 3800 public $locationGroupName; 3801 public $locationId; 3802 public $postalCode; 3803 protected $priceType = 'Google_Service_ShoppingContent_Price'; 3804 protected $priceDataType = ''; 3805 public $region; 3806 public $service; 3807 3808 public function setCountry($country) 3809 { 3810 $this->country = $country; 3811 } 3812 3813 public function getCountry() 3814 { 3815 return $this->country; 3816 } 3817 3818 public function setLocationGroupName($locationGroupName) 3819 { 3820 $this->locationGroupName = $locationGroupName; 3821 } 3822 3823 public function getLocationGroupName() 3824 { 3825 return $this->locationGroupName; 3826 } 3827 3828 public function setLocationId($locationId) 3829 { 3830 $this->locationId = $locationId; 3831 } 3832 3833 public function getLocationId() 3834 { 3835 return $this->locationId; 3836 } 3837 3838 public function setPostalCode($postalCode) 3839 { 3840 $this->postalCode = $postalCode; 3841 } 3842 3843 public function getPostalCode() 3844 { 3845 return $this->postalCode; 3846 } 3847 3848 public function setPrice(Google_Service_ShoppingContent_Price $price) 3849 { 3850 $this->price = $price; 3851 } 3852 3853 public function getPrice() 3854 { 3855 return $this->price; 3856 } 3857 3858 public function setRegion($region) 3859 { 3860 $this->region = $region; 3861 } 3862 3863 public function getRegion() 3864 { 3865 return $this->region; 3866 } 3867 3868 public function setService($service) 3869 { 3870 $this->service = $service; 3871 } 3872 3873 public function getService() 3874 { 3875 return $this->service; 3876 } 3877 } 3878 3879 class Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model 3880 { 3881 public $unit; 3882 public $value; 3883 3884 public function setUnit($unit) 3885 { 3886 $this->unit = $unit; 3887 } 3888 3889 public function getUnit() 3890 { 3891 return $this->unit; 3892 } 3893 3894 public function setValue($value) 3895 { 3896 $this->value = $value; 3897 } 3898 3899 public function getValue() 3900 { 3901 return $this->value; 3902 } 3903 } 3904 3905 class Google_Service_ShoppingContent_ProductStatus extends Google_Collection 3906 { 3907 protected $collection_key = 'destinationStatuses'; 3908 protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue'; 3909 protected $dataQualityIssuesDataType = 'array'; 3910 protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus'; 3911 protected $destinationStatusesDataType = 'array'; 3912 public $kind; 3913 public $link; 3914 public $productId; 3915 public $title; 3916 3917 public function setDataQualityIssues($dataQualityIssues) 3918 { 3919 $this->dataQualityIssues = $dataQualityIssues; 3920 } 3921 3922 public function getDataQualityIssues() 3923 { 3924 return $this->dataQualityIssues; 3925 } 3926 3927 public function setDestinationStatuses($destinationStatuses) 3928 { 3929 $this->destinationStatuses = $destinationStatuses; 3930 } 3931 3932 public function getDestinationStatuses() 3933 { 3934 return $this->destinationStatuses; 3935 } 3936 3937 public function setKind($kind) 3938 { 3939 $this->kind = $kind; 3940 } 3941 3942 public function getKind() 3943 { 3944 return $this->kind; 3945 } 3946 3947 public function setLink($link) 3948 { 3949 $this->link = $link; 3950 } 3951 3952 public function getLink() 3953 { 3954 return $this->link; 3955 } 3956 3957 public function setProductId($productId) 3958 { 3959 $this->productId = $productId; 3960 } 3961 3962 public function getProductId() 3963 { 3964 return $this->productId; 3965 } 3966 3967 public function setTitle($title) 3968 { 3969 $this->title = $title; 3970 } 3971 3972 public function getTitle() 3973 { 3974 return $this->title; 3975 } 3976 } 3977 3978 class Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model 3979 { 3980 public $detail; 3981 public $fetchStatus; 3982 public $id; 3983 public $location; 3984 public $timestamp; 3985 public $valueOnLandingPage; 3986 public $valueProvided; 3987 3988 public function setDetail($detail) 3989 { 3990 $this->detail = $detail; 3991 } 3992 3993 public function getDetail() 3994 { 3995 return $this->detail; 3996 } 3997 3998 public function setFetchStatus($fetchStatus) 3999 { 4000 $this->fetchStatus = $fetchStatus; 4001 } 4002 4003 public function getFetchStatus() 4004 { 4005 return $this->fetchStatus; 4006 } 4007 4008 public function setId($id) 4009 { 4010 $this->id = $id; 4011 } 4012 4013 public function getId() 4014 { 4015 return $this->id; 4016 } 4017 4018 public function setLocation($location) 4019 { 4020 $this->location = $location; 4021 } 4022 4023 public function getLocation() 4024 { 4025 return $this->location; 4026 } 4027 4028 public function setTimestamp($timestamp) 4029 { 4030 $this->timestamp = $timestamp; 4031 } 4032 4033 public function getTimestamp() 4034 { 4035 return $this->timestamp; 4036 } 4037 4038 public function setValueOnLandingPage($valueOnLandingPage) 4039 { 4040 $this->valueOnLandingPage = $valueOnLandingPage; 4041 } 4042 4043 public function getValueOnLandingPage() 4044 { 4045 return $this->valueOnLandingPage; 4046 } 4047 4048 public function setValueProvided($valueProvided) 4049 { 4050 $this->valueProvided = $valueProvided; 4051 } 4052 4053 public function getValueProvided() 4054 { 4055 return $this->valueProvided; 4056 } 4057 } 4058 4059 class Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model 4060 { 4061 public $approvalStatus; 4062 public $destination; 4063 public $intention; 4064 4065 public function setApprovalStatus($approvalStatus) 4066 { 4067 $this->approvalStatus = $approvalStatus; 4068 } 4069 4070 public function getApprovalStatus() 4071 { 4072 return $this->approvalStatus; 4073 } 4074 4075 public function setDestination($destination) 4076 { 4077 $this->destination = $destination; 4078 } 4079 4080 public function getDestination() 4081 { 4082 return $this->destination; 4083 } 4084 4085 public function setIntention($intention) 4086 { 4087 $this->intention = $intention; 4088 } 4089 4090 public function getIntention() 4091 { 4092 return $this->intention; 4093 } 4094 } 4095 4096 class Google_Service_ShoppingContent_ProductTax extends Google_Model 4097 { 4098 public $country; 4099 public $locationId; 4100 public $postalCode; 4101 public $rate; 4102 public $region; 4103 public $taxShip; 4104 4105 public function setCountry($country) 4106 { 4107 $this->country = $country; 4108 } 4109 4110 public function getCountry() 4111 { 4112 return $this->country; 4113 } 4114 4115 public function setLocationId($locationId) 4116 { 4117 $this->locationId = $locationId; 4118 } 4119 4120 public function getLocationId() 4121 { 4122 return $this->locationId; 4123 } 4124 4125 public function setPostalCode($postalCode) 4126 { 4127 $this->postalCode = $postalCode; 4128 } 4129 4130 public function getPostalCode() 4131 { 4132 return $this->postalCode; 4133 } 4134 4135 public function setRate($rate) 4136 { 4137 $this->rate = $rate; 4138 } 4139 4140 public function getRate() 4141 { 4142 return $this->rate; 4143 } 4144 4145 public function setRegion($region) 4146 { 4147 $this->region = $region; 4148 } 4149 4150 public function getRegion() 4151 { 4152 return $this->region; 4153 } 4154 4155 public function setTaxShip($taxShip) 4156 { 4157 $this->taxShip = $taxShip; 4158 } 4159 4160 public function getTaxShip() 4161 { 4162 return $this->taxShip; 4163 } 4164 } 4165 4166 class Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure extends Google_Model 4167 { 4168 public $unit; 4169 public $value; 4170 4171 public function setUnit($unit) 4172 { 4173 $this->unit = $unit; 4174 } 4175 4176 public function getUnit() 4177 { 4178 return $this->unit; 4179 } 4180 4181 public function setValue($value) 4182 { 4183 $this->value = $value; 4184 } 4185 4186 public function getValue() 4187 { 4188 return $this->value; 4189 } 4190 } 4191 4192 class Google_Service_ShoppingContent_ProductUnitPricingMeasure extends Google_Model 4193 { 4194 public $unit; 4195 public $value; 4196 4197 public function setUnit($unit) 4198 { 4199 $this->unit = $unit; 4200 } 4201 4202 public function getUnit() 4203 { 4204 return $this->unit; 4205 } 4206 4207 public function setValue($value) 4208 { 4209 $this->value = $value; 4210 } 4211 4212 public function getValue() 4213 { 4214 return $this->value; 4215 } 4216 } 4217 4218 class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection 4219 { 4220 protected $collection_key = 'entries'; 4221 protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry'; 4222 protected $entriesDataType = 'array'; 4223 4224 public function setEntries($entries) 4225 { 4226 $this->entries = $entries; 4227 } 4228 4229 public function getEntries() 4230 { 4231 return $this->entries; 4232 } 4233 } 4234 4235 class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model 4236 { 4237 public $batchId; 4238 public $merchantId; 4239 public $method; 4240 protected $productType = 'Google_Service_ShoppingContent_Product'; 4241 protected $productDataType = ''; 4242 public $productId; 4243 4244 public function setBatchId($batchId) 4245 { 4246 $this->batchId = $batchId; 4247 } 4248 4249 public function getBatchId() 4250 { 4251 return $this->batchId; 4252 } 4253 4254 public function setMerchantId($merchantId) 4255 { 4256 $this->merchantId = $merchantId; 4257 } 4258 4259 public function getMerchantId() 4260 { 4261 return $this->merchantId; 4262 } 4263 4264 public function setMethod($method) 4265 { 4266 $this->method = $method; 4267 } 4268 4269 public function getMethod() 4270 { 4271 return $this->method; 4272 } 4273 4274 public function setProduct(Google_Service_ShoppingContent_Product $product) 4275 { 4276 $this->product = $product; 4277 } 4278 4279 public function getProduct() 4280 { 4281 return $this->product; 4282 } 4283 4284 public function setProductId($productId) 4285 { 4286 $this->productId = $productId; 4287 } 4288 4289 public function getProductId() 4290 { 4291 return $this->productId; 4292 } 4293 } 4294 4295 class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection 4296 { 4297 protected $collection_key = 'entries'; 4298 protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry'; 4299 protected $entriesDataType = 'array'; 4300 public $kind; 4301 4302 public function setEntries($entries) 4303 { 4304 $this->entries = $entries; 4305 } 4306 4307 public function getEntries() 4308 { 4309 return $this->entries; 4310 } 4311 4312 public function setKind($kind) 4313 { 4314 $this->kind = $kind; 4315 } 4316 4317 public function getKind() 4318 { 4319 return $this->kind; 4320 } 4321 } 4322 4323 class Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model 4324 { 4325 public $batchId; 4326 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 4327 protected $errorsDataType = ''; 4328 public $kind; 4329 protected $productType = 'Google_Service_ShoppingContent_Product'; 4330 protected $productDataType = ''; 4331 4332 public function setBatchId($batchId) 4333 { 4334 $this->batchId = $batchId; 4335 } 4336 4337 public function getBatchId() 4338 { 4339 return $this->batchId; 4340 } 4341 4342 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 4343 { 4344 $this->errors = $errors; 4345 } 4346 4347 public function getErrors() 4348 { 4349 return $this->errors; 4350 } 4351 4352 public function setKind($kind) 4353 { 4354 $this->kind = $kind; 4355 } 4356 4357 public function getKind() 4358 { 4359 return $this->kind; 4360 } 4361 4362 public function setProduct(Google_Service_ShoppingContent_Product $product) 4363 { 4364 $this->product = $product; 4365 } 4366 4367 public function getProduct() 4368 { 4369 return $this->product; 4370 } 4371 } 4372 4373 class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection 4374 { 4375 protected $collection_key = 'resources'; 4376 public $kind; 4377 public $nextPageToken; 4378 protected $resourcesType = 'Google_Service_ShoppingContent_Product'; 4379 protected $resourcesDataType = 'array'; 4380 4381 public function setKind($kind) 4382 { 4383 $this->kind = $kind; 4384 } 4385 4386 public function getKind() 4387 { 4388 return $this->kind; 4389 } 4390 4391 public function setNextPageToken($nextPageToken) 4392 { 4393 $this->nextPageToken = $nextPageToken; 4394 } 4395 4396 public function getNextPageToken() 4397 { 4398 return $this->nextPageToken; 4399 } 4400 4401 public function setResources($resources) 4402 { 4403 $this->resources = $resources; 4404 } 4405 4406 public function getResources() 4407 { 4408 return $this->resources; 4409 } 4410 } 4411 4412 class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection 4413 { 4414 protected $collection_key = 'entries'; 4415 protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry'; 4416 protected $entriesDataType = 'array'; 4417 4418 public function setEntries($entries) 4419 { 4420 $this->entries = $entries; 4421 } 4422 4423 public function getEntries() 4424 { 4425 return $this->entries; 4426 } 4427 } 4428 4429 class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model 4430 { 4431 public $batchId; 4432 public $merchantId; 4433 public $method; 4434 public $productId; 4435 4436 public function setBatchId($batchId) 4437 { 4438 $this->batchId = $batchId; 4439 } 4440 4441 public function getBatchId() 4442 { 4443 return $this->batchId; 4444 } 4445 4446 public function setMerchantId($merchantId) 4447 { 4448 $this->merchantId = $merchantId; 4449 } 4450 4451 public function getMerchantId() 4452 { 4453 return $this->merchantId; 4454 } 4455 4456 public function setMethod($method) 4457 { 4458 $this->method = $method; 4459 } 4460 4461 public function getMethod() 4462 { 4463 return $this->method; 4464 } 4465 4466 public function setProductId($productId) 4467 { 4468 $this->productId = $productId; 4469 } 4470 4471 public function getProductId() 4472 { 4473 return $this->productId; 4474 } 4475 } 4476 4477 class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection 4478 { 4479 protected $collection_key = 'entries'; 4480 protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry'; 4481 protected $entriesDataType = 'array'; 4482 public $kind; 4483 4484 public function setEntries($entries) 4485 { 4486 $this->entries = $entries; 4487 } 4488 4489 public function getEntries() 4490 { 4491 return $this->entries; 4492 } 4493 4494 public function setKind($kind) 4495 { 4496 $this->kind = $kind; 4497 } 4498 4499 public function getKind() 4500 { 4501 return $this->kind; 4502 } 4503 } 4504 4505 class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model 4506 { 4507 public $batchId; 4508 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 4509 protected $errorsDataType = ''; 4510 public $kind; 4511 protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus'; 4512 protected $productStatusDataType = ''; 4513 4514 public function setBatchId($batchId) 4515 { 4516 $this->batchId = $batchId; 4517 } 4518 4519 public function getBatchId() 4520 { 4521 return $this->batchId; 4522 } 4523 4524 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 4525 { 4526 $this->errors = $errors; 4527 } 4528 4529 public function getErrors() 4530 { 4531 return $this->errors; 4532 } 4533 4534 public function setKind($kind) 4535 { 4536 $this->kind = $kind; 4537 } 4538 4539 public function getKind() 4540 { 4541 return $this->kind; 4542 } 4543 4544 public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus) 4545 { 4546 $this->productStatus = $productStatus; 4547 } 4548 4549 public function getProductStatus() 4550 { 4551 return $this->productStatus; 4552 } 4553 } 4554 4555 class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection 4556 { 4557 protected $collection_key = 'resources'; 4558 public $kind; 4559 public $nextPageToken; 4560 protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus'; 4561 protected $resourcesDataType = 'array'; 4562 4563 public function setKind($kind) 4564 { 4565 $this->kind = $kind; 4566 } 4567 4568 public function getKind() 4569 { 4570 return $this->kind; 4571 } 4572 4573 public function setNextPageToken($nextPageToken) 4574 { 4575 $this->nextPageToken = $nextPageToken; 4576 } 4577 4578 public function getNextPageToken() 4579 { 4580 return $this->nextPageToken; 4581 } 4582 4583 public function setResources($resources) 4584 { 4585 $this->resources = $resources; 4586 } 4587 4588 public function getResources() 4589 { 4590 return $this->resources; 4591 } 4592 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:29:05 2014 | Cross-referenced by PHPXref 0.7.1 |