Differences Between: [Versions 311 and 402] [Versions 311 and 403]
1 <?php 2 /* 3 * Copyright 2010 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18 /** 19 * Service definition for ShoppingContent (v2). 20 * 21 * <p> 22 * Manage product items, inventory, and Merchant Center accounts for Google 23 * Shopping.</p> 24 * 25 * <p> 26 * For more information about this service, see the API 27 * <a href="https://developers.google.com/shopping-content" 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 = 36 "https://www.googleapis.com/auth/content"; 37 38 public $accounts; 39 public $accountshipping; 40 public $accountstatuses; 41 public $accounttax; 42 public $datafeeds; 43 public $datafeedstatuses; 44 public $inventory; 45 public $orders; 46 public $products; 47 public $productstatuses; 48 49 50 /** 51 * Constructs the internal representation of the ShoppingContent service. 52 * 53 * @param Google_Client $client 54 */ 55 public function __construct(Google_Client $client) 56 { 57 parent::__construct($client); 58 $this->rootUrl = 'https://www.googleapis.com/'; 59 $this->servicePath = 'content/v2/'; 60 $this->version = 'v2'; 61 $this->serviceName = 'content'; 62 63 $this->accounts = new Google_Service_ShoppingContent_Accounts_Resource( 64 $this, 65 $this->serviceName, 66 'accounts', 67 array( 68 'methods' => array( 69 'authinfo' => array( 70 'path' => 'accounts/authinfo', 71 'httpMethod' => 'GET', 72 'parameters' => array(), 73 ),'custombatch' => array( 74 'path' => 'accounts/batch', 75 'httpMethod' => 'POST', 76 'parameters' => array( 77 'dryRun' => array( 78 'location' => 'query', 79 'type' => 'boolean', 80 ), 81 ), 82 ),'delete' => array( 83 'path' => '{merchantId}/accounts/{accountId}', 84 'httpMethod' => 'DELETE', 85 'parameters' => array( 86 'merchantId' => array( 87 'location' => 'path', 88 'type' => 'string', 89 'required' => true, 90 ), 91 'accountId' => array( 92 'location' => 'path', 93 'type' => 'string', 94 'required' => true, 95 ), 96 'dryRun' => array( 97 'location' => 'query', 98 'type' => 'boolean', 99 ), 100 ), 101 ),'get' => array( 102 'path' => '{merchantId}/accounts/{accountId}', 103 'httpMethod' => 'GET', 104 'parameters' => array( 105 'merchantId' => array( 106 'location' => 'path', 107 'type' => 'string', 108 'required' => true, 109 ), 110 'accountId' => array( 111 'location' => 'path', 112 'type' => 'string', 113 'required' => true, 114 ), 115 ), 116 ),'insert' => array( 117 'path' => '{merchantId}/accounts', 118 'httpMethod' => 'POST', 119 'parameters' => array( 120 'merchantId' => array( 121 'location' => 'path', 122 'type' => 'string', 123 'required' => true, 124 ), 125 'dryRun' => array( 126 'location' => 'query', 127 'type' => 'boolean', 128 ), 129 ), 130 ),'list' => array( 131 'path' => '{merchantId}/accounts', 132 'httpMethod' => 'GET', 133 'parameters' => array( 134 'merchantId' => array( 135 'location' => 'path', 136 'type' => 'string', 137 'required' => true, 138 ), 139 'pageToken' => array( 140 'location' => 'query', 141 'type' => 'string', 142 ), 143 'maxResults' => array( 144 'location' => 'query', 145 'type' => 'integer', 146 ), 147 ), 148 ),'patch' => array( 149 'path' => '{merchantId}/accounts/{accountId}', 150 'httpMethod' => 'PATCH', 151 'parameters' => array( 152 'merchantId' => array( 153 'location' => 'path', 154 'type' => 'string', 155 'required' => true, 156 ), 157 'accountId' => array( 158 'location' => 'path', 159 'type' => 'string', 160 'required' => true, 161 ), 162 'dryRun' => array( 163 'location' => 'query', 164 'type' => 'boolean', 165 ), 166 ), 167 ),'update' => array( 168 'path' => '{merchantId}/accounts/{accountId}', 169 'httpMethod' => 'PUT', 170 'parameters' => array( 171 'merchantId' => array( 172 'location' => 'path', 173 'type' => 'string', 174 'required' => true, 175 ), 176 'accountId' => array( 177 'location' => 'path', 178 'type' => 'string', 179 'required' => true, 180 ), 181 'dryRun' => array( 182 'location' => 'query', 183 'type' => 'boolean', 184 ), 185 ), 186 ), 187 ) 188 ) 189 ); 190 $this->accountshipping = new Google_Service_ShoppingContent_Accountshipping_Resource( 191 $this, 192 $this->serviceName, 193 'accountshipping', 194 array( 195 'methods' => array( 196 'custombatch' => array( 197 'path' => 'accountshipping/batch', 198 'httpMethod' => 'POST', 199 'parameters' => array( 200 'dryRun' => array( 201 'location' => 'query', 202 'type' => 'boolean', 203 ), 204 ), 205 ),'get' => array( 206 'path' => '{merchantId}/accountshipping/{accountId}', 207 'httpMethod' => 'GET', 208 'parameters' => array( 209 'merchantId' => array( 210 'location' => 'path', 211 'type' => 'string', 212 'required' => true, 213 ), 214 'accountId' => array( 215 'location' => 'path', 216 'type' => 'string', 217 'required' => true, 218 ), 219 ), 220 ),'list' => array( 221 'path' => '{merchantId}/accountshipping', 222 'httpMethod' => 'GET', 223 'parameters' => array( 224 'merchantId' => array( 225 'location' => 'path', 226 'type' => 'string', 227 'required' => true, 228 ), 229 'pageToken' => array( 230 'location' => 'query', 231 'type' => 'string', 232 ), 233 'maxResults' => array( 234 'location' => 'query', 235 'type' => 'integer', 236 ), 237 ), 238 ),'patch' => array( 239 'path' => '{merchantId}/accountshipping/{accountId}', 240 'httpMethod' => 'PATCH', 241 'parameters' => array( 242 'merchantId' => array( 243 'location' => 'path', 244 'type' => 'string', 245 'required' => true, 246 ), 247 'accountId' => array( 248 'location' => 'path', 249 'type' => 'string', 250 'required' => true, 251 ), 252 'dryRun' => array( 253 'location' => 'query', 254 'type' => 'boolean', 255 ), 256 ), 257 ),'update' => array( 258 'path' => '{merchantId}/accountshipping/{accountId}', 259 'httpMethod' => 'PUT', 260 'parameters' => array( 261 'merchantId' => array( 262 'location' => 'path', 263 'type' => 'string', 264 'required' => true, 265 ), 266 'accountId' => array( 267 'location' => 'path', 268 'type' => 'string', 269 'required' => true, 270 ), 271 'dryRun' => array( 272 'location' => 'query', 273 'type' => 'boolean', 274 ), 275 ), 276 ), 277 ) 278 ) 279 ); 280 $this->accountstatuses = new Google_Service_ShoppingContent_Accountstatuses_Resource( 281 $this, 282 $this->serviceName, 283 'accountstatuses', 284 array( 285 'methods' => array( 286 'custombatch' => array( 287 'path' => 'accountstatuses/batch', 288 'httpMethod' => 'POST', 289 'parameters' => array(), 290 ),'get' => array( 291 'path' => '{merchantId}/accountstatuses/{accountId}', 292 'httpMethod' => 'GET', 293 'parameters' => array( 294 'merchantId' => array( 295 'location' => 'path', 296 'type' => 'string', 297 'required' => true, 298 ), 299 'accountId' => array( 300 'location' => 'path', 301 'type' => 'string', 302 'required' => true, 303 ), 304 ), 305 ),'list' => array( 306 'path' => '{merchantId}/accountstatuses', 307 'httpMethod' => 'GET', 308 'parameters' => array( 309 'merchantId' => array( 310 'location' => 'path', 311 'type' => 'string', 312 'required' => true, 313 ), 314 'pageToken' => array( 315 'location' => 'query', 316 'type' => 'string', 317 ), 318 'maxResults' => array( 319 'location' => 'query', 320 'type' => 'integer', 321 ), 322 ), 323 ), 324 ) 325 ) 326 ); 327 $this->accounttax = new Google_Service_ShoppingContent_Accounttax_Resource( 328 $this, 329 $this->serviceName, 330 'accounttax', 331 array( 332 'methods' => array( 333 'custombatch' => array( 334 'path' => 'accounttax/batch', 335 'httpMethod' => 'POST', 336 'parameters' => array( 337 'dryRun' => array( 338 'location' => 'query', 339 'type' => 'boolean', 340 ), 341 ), 342 ),'get' => array( 343 'path' => '{merchantId}/accounttax/{accountId}', 344 'httpMethod' => 'GET', 345 'parameters' => array( 346 'merchantId' => array( 347 'location' => 'path', 348 'type' => 'string', 349 'required' => true, 350 ), 351 'accountId' => array( 352 'location' => 'path', 353 'type' => 'string', 354 'required' => true, 355 ), 356 ), 357 ),'list' => array( 358 'path' => '{merchantId}/accounttax', 359 'httpMethod' => 'GET', 360 'parameters' => array( 361 'merchantId' => array( 362 'location' => 'path', 363 'type' => 'string', 364 'required' => true, 365 ), 366 'pageToken' => array( 367 'location' => 'query', 368 'type' => 'string', 369 ), 370 'maxResults' => array( 371 'location' => 'query', 372 'type' => 'integer', 373 ), 374 ), 375 ),'patch' => array( 376 'path' => '{merchantId}/accounttax/{accountId}', 377 'httpMethod' => 'PATCH', 378 'parameters' => array( 379 'merchantId' => array( 380 'location' => 'path', 381 'type' => 'string', 382 'required' => true, 383 ), 384 'accountId' => array( 385 'location' => 'path', 386 'type' => 'string', 387 'required' => true, 388 ), 389 'dryRun' => array( 390 'location' => 'query', 391 'type' => 'boolean', 392 ), 393 ), 394 ),'update' => array( 395 'path' => '{merchantId}/accounttax/{accountId}', 396 'httpMethod' => 'PUT', 397 'parameters' => array( 398 'merchantId' => array( 399 'location' => 'path', 400 'type' => 'string', 401 'required' => true, 402 ), 403 'accountId' => array( 404 'location' => 'path', 405 'type' => 'string', 406 'required' => true, 407 ), 408 'dryRun' => array( 409 'location' => 'query', 410 'type' => 'boolean', 411 ), 412 ), 413 ), 414 ) 415 ) 416 ); 417 $this->datafeeds = new Google_Service_ShoppingContent_Datafeeds_Resource( 418 $this, 419 $this->serviceName, 420 'datafeeds', 421 array( 422 'methods' => array( 423 'custombatch' => array( 424 'path' => 'datafeeds/batch', 425 'httpMethod' => 'POST', 426 'parameters' => array( 427 'dryRun' => array( 428 'location' => 'query', 429 'type' => 'boolean', 430 ), 431 ), 432 ),'delete' => array( 433 'path' => '{merchantId}/datafeeds/{datafeedId}', 434 'httpMethod' => 'DELETE', 435 'parameters' => array( 436 'merchantId' => array( 437 'location' => 'path', 438 'type' => 'string', 439 'required' => true, 440 ), 441 'datafeedId' => array( 442 'location' => 'path', 443 'type' => 'string', 444 'required' => true, 445 ), 446 'dryRun' => array( 447 'location' => 'query', 448 'type' => 'boolean', 449 ), 450 ), 451 ),'get' => array( 452 'path' => '{merchantId}/datafeeds/{datafeedId}', 453 'httpMethod' => 'GET', 454 'parameters' => array( 455 'merchantId' => array( 456 'location' => 'path', 457 'type' => 'string', 458 'required' => true, 459 ), 460 'datafeedId' => array( 461 'location' => 'path', 462 'type' => 'string', 463 'required' => true, 464 ), 465 ), 466 ),'insert' => array( 467 'path' => '{merchantId}/datafeeds', 468 'httpMethod' => 'POST', 469 'parameters' => array( 470 'merchantId' => array( 471 'location' => 'path', 472 'type' => 'string', 473 'required' => true, 474 ), 475 'dryRun' => array( 476 'location' => 'query', 477 'type' => 'boolean', 478 ), 479 ), 480 ),'list' => array( 481 'path' => '{merchantId}/datafeeds', 482 'httpMethod' => 'GET', 483 'parameters' => array( 484 'merchantId' => array( 485 'location' => 'path', 486 'type' => 'string', 487 'required' => true, 488 ), 489 'pageToken' => array( 490 'location' => 'query', 491 'type' => 'string', 492 ), 493 'maxResults' => array( 494 'location' => 'query', 495 'type' => 'integer', 496 ), 497 ), 498 ),'patch' => array( 499 'path' => '{merchantId}/datafeeds/{datafeedId}', 500 'httpMethod' => 'PATCH', 501 'parameters' => array( 502 'merchantId' => array( 503 'location' => 'path', 504 'type' => 'string', 505 'required' => true, 506 ), 507 'datafeedId' => array( 508 'location' => 'path', 509 'type' => 'string', 510 'required' => true, 511 ), 512 'dryRun' => array( 513 'location' => 'query', 514 'type' => 'boolean', 515 ), 516 ), 517 ),'update' => array( 518 'path' => '{merchantId}/datafeeds/{datafeedId}', 519 'httpMethod' => 'PUT', 520 'parameters' => array( 521 'merchantId' => array( 522 'location' => 'path', 523 'type' => 'string', 524 'required' => true, 525 ), 526 'datafeedId' => array( 527 'location' => 'path', 528 'type' => 'string', 529 'required' => true, 530 ), 531 'dryRun' => array( 532 'location' => 'query', 533 'type' => 'boolean', 534 ), 535 ), 536 ), 537 ) 538 ) 539 ); 540 $this->datafeedstatuses = new Google_Service_ShoppingContent_Datafeedstatuses_Resource( 541 $this, 542 $this->serviceName, 543 'datafeedstatuses', 544 array( 545 'methods' => array( 546 'custombatch' => array( 547 'path' => 'datafeedstatuses/batch', 548 'httpMethod' => 'POST', 549 'parameters' => array(), 550 ),'get' => array( 551 'path' => '{merchantId}/datafeedstatuses/{datafeedId}', 552 'httpMethod' => 'GET', 553 'parameters' => array( 554 'merchantId' => array( 555 'location' => 'path', 556 'type' => 'string', 557 'required' => true, 558 ), 559 'datafeedId' => array( 560 'location' => 'path', 561 'type' => 'string', 562 'required' => true, 563 ), 564 ), 565 ),'list' => array( 566 'path' => '{merchantId}/datafeedstatuses', 567 'httpMethod' => 'GET', 568 'parameters' => array( 569 'merchantId' => array( 570 'location' => 'path', 571 'type' => 'string', 572 'required' => true, 573 ), 574 'pageToken' => array( 575 'location' => 'query', 576 'type' => 'string', 577 ), 578 'maxResults' => array( 579 'location' => 'query', 580 'type' => 'integer', 581 ), 582 ), 583 ), 584 ) 585 ) 586 ); 587 $this->inventory = new Google_Service_ShoppingContent_Inventory_Resource( 588 $this, 589 $this->serviceName, 590 'inventory', 591 array( 592 'methods' => array( 593 'custombatch' => array( 594 'path' => 'inventory/batch', 595 'httpMethod' => 'POST', 596 'parameters' => array( 597 'dryRun' => array( 598 'location' => 'query', 599 'type' => 'boolean', 600 ), 601 ), 602 ),'set' => array( 603 'path' => '{merchantId}/inventory/{storeCode}/products/{productId}', 604 'httpMethod' => 'POST', 605 'parameters' => array( 606 'merchantId' => array( 607 'location' => 'path', 608 'type' => 'string', 609 'required' => true, 610 ), 611 'storeCode' => array( 612 'location' => 'path', 613 'type' => 'string', 614 'required' => true, 615 ), 616 'productId' => array( 617 'location' => 'path', 618 'type' => 'string', 619 'required' => true, 620 ), 621 'dryRun' => array( 622 'location' => 'query', 623 'type' => 'boolean', 624 ), 625 ), 626 ), 627 ) 628 ) 629 ); 630 $this->orders = new Google_Service_ShoppingContent_Orders_Resource( 631 $this, 632 $this->serviceName, 633 'orders', 634 array( 635 'methods' => array( 636 'acknowledge' => array( 637 'path' => '{merchantId}/orders/{orderId}/acknowledge', 638 'httpMethod' => 'POST', 639 'parameters' => array( 640 'merchantId' => array( 641 'location' => 'path', 642 'type' => 'string', 643 'required' => true, 644 ), 645 'orderId' => array( 646 'location' => 'path', 647 'type' => 'string', 648 'required' => true, 649 ), 650 ), 651 ),'advancetestorder' => array( 652 'path' => '{merchantId}/testorders/{orderId}/advance', 653 'httpMethod' => 'POST', 654 'parameters' => array( 655 'merchantId' => array( 656 'location' => 'path', 657 'type' => 'string', 658 'required' => true, 659 ), 660 'orderId' => array( 661 'location' => 'path', 662 'type' => 'string', 663 'required' => true, 664 ), 665 ), 666 ),'cancel' => array( 667 'path' => '{merchantId}/orders/{orderId}/cancel', 668 'httpMethod' => 'POST', 669 'parameters' => array( 670 'merchantId' => array( 671 'location' => 'path', 672 'type' => 'string', 673 'required' => true, 674 ), 675 'orderId' => array( 676 'location' => 'path', 677 'type' => 'string', 678 'required' => true, 679 ), 680 ), 681 ),'cancellineitem' => array( 682 'path' => '{merchantId}/orders/{orderId}/cancelLineItem', 683 'httpMethod' => 'POST', 684 'parameters' => array( 685 'merchantId' => array( 686 'location' => 'path', 687 'type' => 'string', 688 'required' => true, 689 ), 690 'orderId' => array( 691 'location' => 'path', 692 'type' => 'string', 693 'required' => true, 694 ), 695 ), 696 ),'createtestorder' => array( 697 'path' => '{merchantId}/testorders', 698 'httpMethod' => 'POST', 699 'parameters' => array( 700 'merchantId' => array( 701 'location' => 'path', 702 'type' => 'string', 703 'required' => true, 704 ), 705 ), 706 ),'custombatch' => array( 707 'path' => 'orders/batch', 708 'httpMethod' => 'POST', 709 'parameters' => array(), 710 ),'get' => array( 711 'path' => '{merchantId}/orders/{orderId}', 712 'httpMethod' => 'GET', 713 'parameters' => array( 714 'merchantId' => array( 715 'location' => 'path', 716 'type' => 'string', 717 'required' => true, 718 ), 719 'orderId' => array( 720 'location' => 'path', 721 'type' => 'string', 722 'required' => true, 723 ), 724 ), 725 ),'getbymerchantorderid' => array( 726 'path' => '{merchantId}/ordersbymerchantid/{merchantOrderId}', 727 'httpMethod' => 'GET', 728 'parameters' => array( 729 'merchantId' => array( 730 'location' => 'path', 731 'type' => 'string', 732 'required' => true, 733 ), 734 'merchantOrderId' => array( 735 'location' => 'path', 736 'type' => 'string', 737 'required' => true, 738 ), 739 ), 740 ),'gettestordertemplate' => array( 741 'path' => '{merchantId}/testordertemplates/{templateName}', 742 'httpMethod' => 'GET', 743 'parameters' => array( 744 'merchantId' => array( 745 'location' => 'path', 746 'type' => 'string', 747 'required' => true, 748 ), 749 'templateName' => array( 750 'location' => 'path', 751 'type' => 'string', 752 'required' => true, 753 ), 754 ), 755 ),'list' => array( 756 'path' => '{merchantId}/orders', 757 'httpMethod' => 'GET', 758 'parameters' => array( 759 'merchantId' => array( 760 'location' => 'path', 761 'type' => 'string', 762 'required' => true, 763 ), 764 'orderBy' => array( 765 'location' => 'query', 766 'type' => 'string', 767 ), 768 'placedDateEnd' => array( 769 'location' => 'query', 770 'type' => 'string', 771 ), 772 'acknowledged' => array( 773 'location' => 'query', 774 'type' => 'boolean', 775 ), 776 'maxResults' => array( 777 'location' => 'query', 778 'type' => 'integer', 779 ), 780 'pageToken' => array( 781 'location' => 'query', 782 'type' => 'string', 783 ), 784 'placedDateStart' => array( 785 'location' => 'query', 786 'type' => 'string', 787 ), 788 'statuses' => array( 789 'location' => 'query', 790 'type' => 'string', 791 'repeated' => true, 792 ), 793 ), 794 ),'refund' => array( 795 'path' => '{merchantId}/orders/{orderId}/refund', 796 'httpMethod' => 'POST', 797 'parameters' => array( 798 'merchantId' => array( 799 'location' => 'path', 800 'type' => 'string', 801 'required' => true, 802 ), 803 'orderId' => array( 804 'location' => 'path', 805 'type' => 'string', 806 'required' => true, 807 ), 808 ), 809 ),'returnlineitem' => array( 810 'path' => '{merchantId}/orders/{orderId}/returnLineItem', 811 'httpMethod' => 'POST', 812 'parameters' => array( 813 'merchantId' => array( 814 'location' => 'path', 815 'type' => 'string', 816 'required' => true, 817 ), 818 'orderId' => array( 819 'location' => 'path', 820 'type' => 'string', 821 'required' => true, 822 ), 823 ), 824 ),'shiplineitems' => array( 825 'path' => '{merchantId}/orders/{orderId}/shipLineItems', 826 'httpMethod' => 'POST', 827 'parameters' => array( 828 'merchantId' => array( 829 'location' => 'path', 830 'type' => 'string', 831 'required' => true, 832 ), 833 'orderId' => array( 834 'location' => 'path', 835 'type' => 'string', 836 'required' => true, 837 ), 838 ), 839 ),'updatemerchantorderid' => array( 840 'path' => '{merchantId}/orders/{orderId}/updateMerchantOrderId', 841 'httpMethod' => 'POST', 842 'parameters' => array( 843 'merchantId' => array( 844 'location' => 'path', 845 'type' => 'string', 846 'required' => true, 847 ), 848 'orderId' => array( 849 'location' => 'path', 850 'type' => 'string', 851 'required' => true, 852 ), 853 ), 854 ),'updateshipment' => array( 855 'path' => '{merchantId}/orders/{orderId}/updateShipment', 856 'httpMethod' => 'POST', 857 'parameters' => array( 858 'merchantId' => array( 859 'location' => 'path', 860 'type' => 'string', 861 'required' => true, 862 ), 863 'orderId' => array( 864 'location' => 'path', 865 'type' => 'string', 866 'required' => true, 867 ), 868 ), 869 ), 870 ) 871 ) 872 ); 873 $this->products = new Google_Service_ShoppingContent_Products_Resource( 874 $this, 875 $this->serviceName, 876 'products', 877 array( 878 'methods' => array( 879 'custombatch' => array( 880 'path' => 'products/batch', 881 'httpMethod' => 'POST', 882 'parameters' => array( 883 'dryRun' => array( 884 'location' => 'query', 885 'type' => 'boolean', 886 ), 887 ), 888 ),'delete' => array( 889 'path' => '{merchantId}/products/{productId}', 890 'httpMethod' => 'DELETE', 891 'parameters' => array( 892 'merchantId' => array( 893 'location' => 'path', 894 'type' => 'string', 895 'required' => true, 896 ), 897 'productId' => array( 898 'location' => 'path', 899 'type' => 'string', 900 'required' => true, 901 ), 902 'dryRun' => array( 903 'location' => 'query', 904 'type' => 'boolean', 905 ), 906 ), 907 ),'get' => array( 908 'path' => '{merchantId}/products/{productId}', 909 'httpMethod' => 'GET', 910 'parameters' => array( 911 'merchantId' => array( 912 'location' => 'path', 913 'type' => 'string', 914 'required' => true, 915 ), 916 'productId' => array( 917 'location' => 'path', 918 'type' => 'string', 919 'required' => true, 920 ), 921 ), 922 ),'insert' => array( 923 'path' => '{merchantId}/products', 924 'httpMethod' => 'POST', 925 'parameters' => array( 926 'merchantId' => array( 927 'location' => 'path', 928 'type' => 'string', 929 'required' => true, 930 ), 931 'dryRun' => array( 932 'location' => 'query', 933 'type' => 'boolean', 934 ), 935 ), 936 ),'list' => array( 937 'path' => '{merchantId}/products', 938 'httpMethod' => 'GET', 939 'parameters' => array( 940 'merchantId' => array( 941 'location' => 'path', 942 'type' => 'string', 943 'required' => true, 944 ), 945 'pageToken' => array( 946 'location' => 'query', 947 'type' => 'string', 948 ), 949 'maxResults' => array( 950 'location' => 'query', 951 'type' => 'integer', 952 ), 953 ), 954 ), 955 ) 956 ) 957 ); 958 $this->productstatuses = new Google_Service_ShoppingContent_Productstatuses_Resource( 959 $this, 960 $this->serviceName, 961 'productstatuses', 962 array( 963 'methods' => array( 964 'custombatch' => array( 965 'path' => 'productstatuses/batch', 966 'httpMethod' => 'POST', 967 'parameters' => array(), 968 ),'get' => array( 969 'path' => '{merchantId}/productstatuses/{productId}', 970 'httpMethod' => 'GET', 971 'parameters' => array( 972 'merchantId' => array( 973 'location' => 'path', 974 'type' => 'string', 975 'required' => true, 976 ), 977 'productId' => array( 978 'location' => 'path', 979 'type' => 'string', 980 'required' => true, 981 ), 982 ), 983 ),'list' => array( 984 'path' => '{merchantId}/productstatuses', 985 'httpMethod' => 'GET', 986 'parameters' => array( 987 'merchantId' => array( 988 'location' => 'path', 989 'type' => 'string', 990 'required' => true, 991 ), 992 'pageToken' => array( 993 'location' => 'query', 994 'type' => 'string', 995 ), 996 'maxResults' => array( 997 'location' => 'query', 998 'type' => 'integer', 999 ), 1000 ), 1001 ), 1002 ) 1003 ) 1004 ); 1005 } 1006 } 1007 1008 1009 /** 1010 * The "accounts" collection of methods. 1011 * Typical usage is: 1012 * <code> 1013 * $contentService = new Google_Service_ShoppingContent(...); 1014 * $accounts = $contentService->accounts; 1015 * </code> 1016 */ 1017 class Google_Service_ShoppingContent_Accounts_Resource extends Google_Service_Resource 1018 { 1019 1020 /** 1021 * Returns information about the authenticated user. (accounts.authinfo) 1022 * 1023 * @param array $optParams Optional parameters. 1024 * @return Google_Service_ShoppingContent_AccountsAuthInfoResponse 1025 */ 1026 public function authinfo($optParams = array()) 1027 { 1028 $params = array(); 1029 $params = array_merge($params, $optParams); 1030 return $this->call('authinfo', array($params), "Google_Service_ShoppingContent_AccountsAuthInfoResponse"); 1031 } 1032 1033 /** 1034 * Retrieves, inserts, updates, and deletes multiple Merchant Center 1035 * (sub-)accounts in a single request. (accounts.custombatch) 1036 * 1037 * @param Google_AccountsCustomBatchRequest $postBody 1038 * @param array $optParams Optional parameters. 1039 * 1040 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1041 * @return Google_Service_ShoppingContent_AccountsCustomBatchResponse 1042 */ 1043 public function custombatch(Google_Service_ShoppingContent_AccountsCustomBatchRequest $postBody, $optParams = array()) 1044 { 1045 $params = array('postBody' => $postBody); 1046 $params = array_merge($params, $optParams); 1047 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountsCustomBatchResponse"); 1048 } 1049 1050 /** 1051 * Deletes a Merchant Center sub-account. (accounts.delete) 1052 * 1053 * @param string $merchantId The ID of the managing account. 1054 * @param string $accountId The ID of the account. 1055 * @param array $optParams Optional parameters. 1056 * 1057 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1058 */ 1059 public function delete($merchantId, $accountId, $optParams = array()) 1060 { 1061 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 1062 $params = array_merge($params, $optParams); 1063 return $this->call('delete', array($params)); 1064 } 1065 1066 /** 1067 * Retrieves a Merchant Center account. (accounts.get) 1068 * 1069 * @param string $merchantId The ID of the managing account. 1070 * @param string $accountId The ID of the account. 1071 * @param array $optParams Optional parameters. 1072 * @return Google_Service_ShoppingContent_Account 1073 */ 1074 public function get($merchantId, $accountId, $optParams = array()) 1075 { 1076 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 1077 $params = array_merge($params, $optParams); 1078 return $this->call('get', array($params), "Google_Service_ShoppingContent_Account"); 1079 } 1080 1081 /** 1082 * Creates a Merchant Center sub-account. (accounts.insert) 1083 * 1084 * @param string $merchantId The ID of the managing account. 1085 * @param Google_Account $postBody 1086 * @param array $optParams Optional parameters. 1087 * 1088 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1089 * @return Google_Service_ShoppingContent_Account 1090 */ 1091 public function insert($merchantId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) 1092 { 1093 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 1094 $params = array_merge($params, $optParams); 1095 return $this->call('insert', array($params), "Google_Service_ShoppingContent_Account"); 1096 } 1097 1098 /** 1099 * Lists the sub-accounts in your Merchant Center account. 1100 * (accounts.listAccounts) 1101 * 1102 * @param string $merchantId The ID of the managing account. 1103 * @param array $optParams Optional parameters. 1104 * 1105 * @opt_param string pageToken The token returned by the previous request. 1106 * @opt_param string maxResults The maximum number of accounts to return in the 1107 * response, used for paging. 1108 * @return Google_Service_ShoppingContent_AccountsListResponse 1109 */ 1110 public function listAccounts($merchantId, $optParams = array()) 1111 { 1112 $params = array('merchantId' => $merchantId); 1113 $params = array_merge($params, $optParams); 1114 return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountsListResponse"); 1115 } 1116 1117 /** 1118 * Updates a Merchant Center account. This method supports patch semantics. 1119 * (accounts.patch) 1120 * 1121 * @param string $merchantId The ID of the managing account. 1122 * @param string $accountId The ID of the account. 1123 * @param Google_Account $postBody 1124 * @param array $optParams Optional parameters. 1125 * 1126 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1127 * @return Google_Service_ShoppingContent_Account 1128 */ 1129 public function patch($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) 1130 { 1131 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 1132 $params = array_merge($params, $optParams); 1133 return $this->call('patch', array($params), "Google_Service_ShoppingContent_Account"); 1134 } 1135 1136 /** 1137 * Updates a Merchant Center account. (accounts.update) 1138 * 1139 * @param string $merchantId The ID of the managing account. 1140 * @param string $accountId The ID of the account. 1141 * @param Google_Account $postBody 1142 * @param array $optParams Optional parameters. 1143 * 1144 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1145 * @return Google_Service_ShoppingContent_Account 1146 */ 1147 public function update($merchantId, $accountId, Google_Service_ShoppingContent_Account $postBody, $optParams = array()) 1148 { 1149 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 1150 $params = array_merge($params, $optParams); 1151 return $this->call('update', array($params), "Google_Service_ShoppingContent_Account"); 1152 } 1153 } 1154 1155 /** 1156 * The "accountshipping" collection of methods. 1157 * Typical usage is: 1158 * <code> 1159 * $contentService = new Google_Service_ShoppingContent(...); 1160 * $accountshipping = $contentService->accountshipping; 1161 * </code> 1162 */ 1163 class Google_Service_ShoppingContent_Accountshipping_Resource extends Google_Service_Resource 1164 { 1165 1166 /** 1167 * Retrieves and updates the shipping settings of multiple accounts in a single 1168 * request. (accountshipping.custombatch) 1169 * 1170 * @param Google_AccountshippingCustomBatchRequest $postBody 1171 * @param array $optParams Optional parameters. 1172 * 1173 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1174 * @return Google_Service_ShoppingContent_AccountshippingCustomBatchResponse 1175 */ 1176 public function custombatch(Google_Service_ShoppingContent_AccountshippingCustomBatchRequest $postBody, $optParams = array()) 1177 { 1178 $params = array('postBody' => $postBody); 1179 $params = array_merge($params, $optParams); 1180 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountshippingCustomBatchResponse"); 1181 } 1182 1183 /** 1184 * Retrieves the shipping settings of the account. (accountshipping.get) 1185 * 1186 * @param string $merchantId The ID of the managing account. 1187 * @param string $accountId The ID of the account for which to get/update 1188 * account shipping settings. 1189 * @param array $optParams Optional parameters. 1190 * @return Google_Service_ShoppingContent_AccountShipping 1191 */ 1192 public function get($merchantId, $accountId, $optParams = array()) 1193 { 1194 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 1195 $params = array_merge($params, $optParams); 1196 return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountShipping"); 1197 } 1198 1199 /** 1200 * Lists the shipping settings of the sub-accounts in your Merchant Center 1201 * account. (accountshipping.listAccountshipping) 1202 * 1203 * @param string $merchantId The ID of the managing account. 1204 * @param array $optParams Optional parameters. 1205 * 1206 * @opt_param string pageToken The token returned by the previous request. 1207 * @opt_param string maxResults The maximum number of shipping settings to 1208 * return in the response, used for paging. 1209 * @return Google_Service_ShoppingContent_AccountshippingListResponse 1210 */ 1211 public function listAccountshipping($merchantId, $optParams = array()) 1212 { 1213 $params = array('merchantId' => $merchantId); 1214 $params = array_merge($params, $optParams); 1215 return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountshippingListResponse"); 1216 } 1217 1218 /** 1219 * Updates the shipping settings of the account. This method supports patch 1220 * semantics. (accountshipping.patch) 1221 * 1222 * @param string $merchantId The ID of the managing account. 1223 * @param string $accountId The ID of the account for which to get/update 1224 * account shipping settings. 1225 * @param Google_AccountShipping $postBody 1226 * @param array $optParams Optional parameters. 1227 * 1228 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1229 * @return Google_Service_ShoppingContent_AccountShipping 1230 */ 1231 public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array()) 1232 { 1233 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 1234 $params = array_merge($params, $optParams); 1235 return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountShipping"); 1236 } 1237 1238 /** 1239 * Updates the shipping settings of the account. (accountshipping.update) 1240 * 1241 * @param string $merchantId The ID of the managing account. 1242 * @param string $accountId The ID of the account for which to get/update 1243 * account shipping settings. 1244 * @param Google_AccountShipping $postBody 1245 * @param array $optParams Optional parameters. 1246 * 1247 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1248 * @return Google_Service_ShoppingContent_AccountShipping 1249 */ 1250 public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountShipping $postBody, $optParams = array()) 1251 { 1252 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 1253 $params = array_merge($params, $optParams); 1254 return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountShipping"); 1255 } 1256 } 1257 1258 /** 1259 * The "accountstatuses" collection of methods. 1260 * Typical usage is: 1261 * <code> 1262 * $contentService = new Google_Service_ShoppingContent(...); 1263 * $accountstatuses = $contentService->accountstatuses; 1264 * </code> 1265 */ 1266 class Google_Service_ShoppingContent_Accountstatuses_Resource extends Google_Service_Resource 1267 { 1268 1269 /** 1270 * (accountstatuses.custombatch) 1271 * 1272 * @param Google_AccountstatusesCustomBatchRequest $postBody 1273 * @param array $optParams Optional parameters. 1274 * @return Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse 1275 */ 1276 public function custombatch(Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest $postBody, $optParams = array()) 1277 { 1278 $params = array('postBody' => $postBody); 1279 $params = array_merge($params, $optParams); 1280 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse"); 1281 } 1282 1283 /** 1284 * Retrieves the status of a Merchant Center account. (accountstatuses.get) 1285 * 1286 * @param string $merchantId The ID of the managing account. 1287 * @param string $accountId The ID of the account. 1288 * @param array $optParams Optional parameters. 1289 * @return Google_Service_ShoppingContent_AccountStatus 1290 */ 1291 public function get($merchantId, $accountId, $optParams = array()) 1292 { 1293 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 1294 $params = array_merge($params, $optParams); 1295 return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountStatus"); 1296 } 1297 1298 /** 1299 * Lists the statuses of the sub-accounts in your Merchant Center account. 1300 * (accountstatuses.listAccountstatuses) 1301 * 1302 * @param string $merchantId The ID of the managing account. 1303 * @param array $optParams Optional parameters. 1304 * 1305 * @opt_param string pageToken The token returned by the previous request. 1306 * @opt_param string maxResults The maximum number of account statuses to return 1307 * in the response, used for paging. 1308 * @return Google_Service_ShoppingContent_AccountstatusesListResponse 1309 */ 1310 public function listAccountstatuses($merchantId, $optParams = array()) 1311 { 1312 $params = array('merchantId' => $merchantId); 1313 $params = array_merge($params, $optParams); 1314 return $this->call('list', array($params), "Google_Service_ShoppingContent_AccountstatusesListResponse"); 1315 } 1316 } 1317 1318 /** 1319 * The "accounttax" collection of methods. 1320 * Typical usage is: 1321 * <code> 1322 * $contentService = new Google_Service_ShoppingContent(...); 1323 * $accounttax = $contentService->accounttax; 1324 * </code> 1325 */ 1326 class Google_Service_ShoppingContent_Accounttax_Resource extends Google_Service_Resource 1327 { 1328 1329 /** 1330 * Retrieves and updates tax settings of multiple accounts in a single request. 1331 * (accounttax.custombatch) 1332 * 1333 * @param Google_AccounttaxCustomBatchRequest $postBody 1334 * @param array $optParams Optional parameters. 1335 * 1336 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1337 * @return Google_Service_ShoppingContent_AccounttaxCustomBatchResponse 1338 */ 1339 public function custombatch(Google_Service_ShoppingContent_AccounttaxCustomBatchRequest $postBody, $optParams = array()) 1340 { 1341 $params = array('postBody' => $postBody); 1342 $params = array_merge($params, $optParams); 1343 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_AccounttaxCustomBatchResponse"); 1344 } 1345 1346 /** 1347 * Retrieves the tax settings of the account. (accounttax.get) 1348 * 1349 * @param string $merchantId The ID of the managing account. 1350 * @param string $accountId The ID of the account for which to get/update 1351 * account tax settings. 1352 * @param array $optParams Optional parameters. 1353 * @return Google_Service_ShoppingContent_AccountTax 1354 */ 1355 public function get($merchantId, $accountId, $optParams = array()) 1356 { 1357 $params = array('merchantId' => $merchantId, 'accountId' => $accountId); 1358 $params = array_merge($params, $optParams); 1359 return $this->call('get', array($params), "Google_Service_ShoppingContent_AccountTax"); 1360 } 1361 1362 /** 1363 * Lists the tax settings of the sub-accounts in your Merchant Center account. 1364 * (accounttax.listAccounttax) 1365 * 1366 * @param string $merchantId The ID of the managing account. 1367 * @param array $optParams Optional parameters. 1368 * 1369 * @opt_param string pageToken The token returned by the previous request. 1370 * @opt_param string maxResults The maximum number of tax settings to return in 1371 * the response, used for paging. 1372 * @return Google_Service_ShoppingContent_AccounttaxListResponse 1373 */ 1374 public function listAccounttax($merchantId, $optParams = array()) 1375 { 1376 $params = array('merchantId' => $merchantId); 1377 $params = array_merge($params, $optParams); 1378 return $this->call('list', array($params), "Google_Service_ShoppingContent_AccounttaxListResponse"); 1379 } 1380 1381 /** 1382 * Updates the tax settings of the account. This method supports patch 1383 * semantics. (accounttax.patch) 1384 * 1385 * @param string $merchantId The ID of the managing account. 1386 * @param string $accountId The ID of the account for which to get/update 1387 * account tax settings. 1388 * @param Google_AccountTax $postBody 1389 * @param array $optParams Optional parameters. 1390 * 1391 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1392 * @return Google_Service_ShoppingContent_AccountTax 1393 */ 1394 public function patch($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array()) 1395 { 1396 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 1397 $params = array_merge($params, $optParams); 1398 return $this->call('patch', array($params), "Google_Service_ShoppingContent_AccountTax"); 1399 } 1400 1401 /** 1402 * Updates the tax settings of the account. (accounttax.update) 1403 * 1404 * @param string $merchantId The ID of the managing account. 1405 * @param string $accountId The ID of the account for which to get/update 1406 * account tax settings. 1407 * @param Google_AccountTax $postBody 1408 * @param array $optParams Optional parameters. 1409 * 1410 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1411 * @return Google_Service_ShoppingContent_AccountTax 1412 */ 1413 public function update($merchantId, $accountId, Google_Service_ShoppingContent_AccountTax $postBody, $optParams = array()) 1414 { 1415 $params = array('merchantId' => $merchantId, 'accountId' => $accountId, 'postBody' => $postBody); 1416 $params = array_merge($params, $optParams); 1417 return $this->call('update', array($params), "Google_Service_ShoppingContent_AccountTax"); 1418 } 1419 } 1420 1421 /** 1422 * The "datafeeds" collection of methods. 1423 * Typical usage is: 1424 * <code> 1425 * $contentService = new Google_Service_ShoppingContent(...); 1426 * $datafeeds = $contentService->datafeeds; 1427 * </code> 1428 */ 1429 class Google_Service_ShoppingContent_Datafeeds_Resource extends Google_Service_Resource 1430 { 1431 1432 /** 1433 * (datafeeds.custombatch) 1434 * 1435 * @param Google_DatafeedsCustomBatchRequest $postBody 1436 * @param array $optParams Optional parameters. 1437 * 1438 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1439 * @return Google_Service_ShoppingContent_DatafeedsCustomBatchResponse 1440 */ 1441 public function custombatch(Google_Service_ShoppingContent_DatafeedsCustomBatchRequest $postBody, $optParams = array()) 1442 { 1443 $params = array('postBody' => $postBody); 1444 $params = array_merge($params, $optParams); 1445 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedsCustomBatchResponse"); 1446 } 1447 1448 /** 1449 * Deletes a datafeed from your Merchant Center account. (datafeeds.delete) 1450 * 1451 * @param string $merchantId 1452 * @param string $datafeedId 1453 * @param array $optParams Optional parameters. 1454 * 1455 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1456 */ 1457 public function delete($merchantId, $datafeedId, $optParams = array()) 1458 { 1459 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 1460 $params = array_merge($params, $optParams); 1461 return $this->call('delete', array($params)); 1462 } 1463 1464 /** 1465 * Retrieves a datafeed from your Merchant Center account. (datafeeds.get) 1466 * 1467 * @param string $merchantId 1468 * @param string $datafeedId 1469 * @param array $optParams Optional parameters. 1470 * @return Google_Service_ShoppingContent_Datafeed 1471 */ 1472 public function get($merchantId, $datafeedId, $optParams = array()) 1473 { 1474 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 1475 $params = array_merge($params, $optParams); 1476 return $this->call('get', array($params), "Google_Service_ShoppingContent_Datafeed"); 1477 } 1478 1479 /** 1480 * Registers a datafeed with your Merchant Center account. (datafeeds.insert) 1481 * 1482 * @param string $merchantId 1483 * @param Google_Datafeed $postBody 1484 * @param array $optParams Optional parameters. 1485 * 1486 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1487 * @return Google_Service_ShoppingContent_Datafeed 1488 */ 1489 public function insert($merchantId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) 1490 { 1491 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 1492 $params = array_merge($params, $optParams); 1493 return $this->call('insert', array($params), "Google_Service_ShoppingContent_Datafeed"); 1494 } 1495 1496 /** 1497 * Lists the datafeeds in your Merchant Center account. 1498 * (datafeeds.listDatafeeds) 1499 * 1500 * @param string $merchantId The ID of the managing account. 1501 * @param array $optParams Optional parameters. 1502 * 1503 * @opt_param string pageToken The token returned by the previous request. 1504 * @opt_param string maxResults The maximum number of products to return in the 1505 * response, used for paging. 1506 * @return Google_Service_ShoppingContent_DatafeedsListResponse 1507 */ 1508 public function listDatafeeds($merchantId, $optParams = array()) 1509 { 1510 $params = array('merchantId' => $merchantId); 1511 $params = array_merge($params, $optParams); 1512 return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedsListResponse"); 1513 } 1514 1515 /** 1516 * Updates a datafeed of your Merchant Center account. This method supports 1517 * patch semantics. (datafeeds.patch) 1518 * 1519 * @param string $merchantId 1520 * @param string $datafeedId 1521 * @param Google_Datafeed $postBody 1522 * @param array $optParams Optional parameters. 1523 * 1524 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1525 * @return Google_Service_ShoppingContent_Datafeed 1526 */ 1527 public function patch($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) 1528 { 1529 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); 1530 $params = array_merge($params, $optParams); 1531 return $this->call('patch', array($params), "Google_Service_ShoppingContent_Datafeed"); 1532 } 1533 1534 /** 1535 * Updates a datafeed of your Merchant Center account. (datafeeds.update) 1536 * 1537 * @param string $merchantId 1538 * @param string $datafeedId 1539 * @param Google_Datafeed $postBody 1540 * @param array $optParams Optional parameters. 1541 * 1542 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1543 * @return Google_Service_ShoppingContent_Datafeed 1544 */ 1545 public function update($merchantId, $datafeedId, Google_Service_ShoppingContent_Datafeed $postBody, $optParams = array()) 1546 { 1547 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId, 'postBody' => $postBody); 1548 $params = array_merge($params, $optParams); 1549 return $this->call('update', array($params), "Google_Service_ShoppingContent_Datafeed"); 1550 } 1551 } 1552 1553 /** 1554 * The "datafeedstatuses" collection of methods. 1555 * Typical usage is: 1556 * <code> 1557 * $contentService = new Google_Service_ShoppingContent(...); 1558 * $datafeedstatuses = $contentService->datafeedstatuses; 1559 * </code> 1560 */ 1561 class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource 1562 { 1563 1564 /** 1565 * (datafeedstatuses.custombatch) 1566 * 1567 * @param Google_DatafeedstatusesCustomBatchRequest $postBody 1568 * @param array $optParams Optional parameters. 1569 * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse 1570 */ 1571 public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array()) 1572 { 1573 $params = array('postBody' => $postBody); 1574 $params = array_merge($params, $optParams); 1575 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse"); 1576 } 1577 1578 /** 1579 * Retrieves the status of a datafeed from your Merchant Center account. 1580 * (datafeedstatuses.get) 1581 * 1582 * @param string $merchantId 1583 * @param string $datafeedId 1584 * @param array $optParams Optional parameters. 1585 * @return Google_Service_ShoppingContent_DatafeedStatus 1586 */ 1587 public function get($merchantId, $datafeedId, $optParams = array()) 1588 { 1589 $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 1590 $params = array_merge($params, $optParams); 1591 return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus"); 1592 } 1593 1594 /** 1595 * Lists the statuses of the datafeeds in your Merchant Center account. 1596 * (datafeedstatuses.listDatafeedstatuses) 1597 * 1598 * @param string $merchantId The ID of the managing account. 1599 * @param array $optParams Optional parameters. 1600 * 1601 * @opt_param string pageToken The token returned by the previous request. 1602 * @opt_param string maxResults The maximum number of products to return in the 1603 * response, used for paging. 1604 * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse 1605 */ 1606 public function listDatafeedstatuses($merchantId, $optParams = array()) 1607 { 1608 $params = array('merchantId' => $merchantId); 1609 $params = array_merge($params, $optParams); 1610 return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse"); 1611 } 1612 } 1613 1614 /** 1615 * The "inventory" collection of methods. 1616 * Typical usage is: 1617 * <code> 1618 * $contentService = new Google_Service_ShoppingContent(...); 1619 * $inventory = $contentService->inventory; 1620 * </code> 1621 */ 1622 class Google_Service_ShoppingContent_Inventory_Resource extends Google_Service_Resource 1623 { 1624 1625 /** 1626 * Updates price and availability for multiple products or stores in a single 1627 * request. This operation does not update the expiration date of the products. 1628 * (inventory.custombatch) 1629 * 1630 * @param Google_InventoryCustomBatchRequest $postBody 1631 * @param array $optParams Optional parameters. 1632 * 1633 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1634 * @return Google_Service_ShoppingContent_InventoryCustomBatchResponse 1635 */ 1636 public function custombatch(Google_Service_ShoppingContent_InventoryCustomBatchRequest $postBody, $optParams = array()) 1637 { 1638 $params = array('postBody' => $postBody); 1639 $params = array_merge($params, $optParams); 1640 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_InventoryCustomBatchResponse"); 1641 } 1642 1643 /** 1644 * Updates price and availability of a product in your Merchant Center account. 1645 * This operation does not update the expiration date of the product. 1646 * (inventory.set) 1647 * 1648 * @param string $merchantId The ID of the managing account. 1649 * @param string $storeCode The code of the store for which to update price and 1650 * availability. Use online to update price and availability of an online 1651 * product. 1652 * @param string $productId The ID of the product for which to update price and 1653 * availability. 1654 * @param Google_InventorySetRequest $postBody 1655 * @param array $optParams Optional parameters. 1656 * 1657 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1658 * @return Google_Service_ShoppingContent_InventorySetResponse 1659 */ 1660 public function set($merchantId, $storeCode, $productId, Google_Service_ShoppingContent_InventorySetRequest $postBody, $optParams = array()) 1661 { 1662 $params = array('merchantId' => $merchantId, 'storeCode' => $storeCode, 'productId' => $productId, 'postBody' => $postBody); 1663 $params = array_merge($params, $optParams); 1664 return $this->call('set', array($params), "Google_Service_ShoppingContent_InventorySetResponse"); 1665 } 1666 } 1667 1668 /** 1669 * The "orders" collection of methods. 1670 * Typical usage is: 1671 * <code> 1672 * $contentService = new Google_Service_ShoppingContent(...); 1673 * $orders = $contentService->orders; 1674 * </code> 1675 */ 1676 class Google_Service_ShoppingContent_Orders_Resource extends Google_Service_Resource 1677 { 1678 1679 /** 1680 * Marks an order as acknowledged. (orders.acknowledge) 1681 * 1682 * @param string $merchantId The ID of the managing account. 1683 * @param string $orderId The ID of the order. 1684 * @param Google_OrdersAcknowledgeRequest $postBody 1685 * @param array $optParams Optional parameters. 1686 * @return Google_Service_ShoppingContent_OrdersAcknowledgeResponse 1687 */ 1688 public function acknowledge($merchantId, $orderId, Google_Service_ShoppingContent_OrdersAcknowledgeRequest $postBody, $optParams = array()) 1689 { 1690 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1691 $params = array_merge($params, $optParams); 1692 return $this->call('acknowledge', array($params), "Google_Service_ShoppingContent_OrdersAcknowledgeResponse"); 1693 } 1694 1695 /** 1696 * Sandbox only. Moves a test order from state "inProgress" to state 1697 * "pendingShipment". (orders.advancetestorder) 1698 * 1699 * @param string $merchantId The ID of the managing account. 1700 * @param string $orderId The ID of the test order to modify. 1701 * @param array $optParams Optional parameters. 1702 * @return Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse 1703 */ 1704 public function advancetestorder($merchantId, $orderId, $optParams = array()) 1705 { 1706 $params = array('merchantId' => $merchantId, 'orderId' => $orderId); 1707 $params = array_merge($params, $optParams); 1708 return $this->call('advancetestorder', array($params), "Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse"); 1709 } 1710 1711 /** 1712 * Cancels all line items in an order. (orders.cancel) 1713 * 1714 * @param string $merchantId The ID of the managing account. 1715 * @param string $orderId The ID of the order to cancel. 1716 * @param Google_OrdersCancelRequest $postBody 1717 * @param array $optParams Optional parameters. 1718 * @return Google_Service_ShoppingContent_OrdersCancelResponse 1719 */ 1720 public function cancel($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelRequest $postBody, $optParams = array()) 1721 { 1722 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1723 $params = array_merge($params, $optParams); 1724 return $this->call('cancel', array($params), "Google_Service_ShoppingContent_OrdersCancelResponse"); 1725 } 1726 1727 /** 1728 * Cancels a line item. (orders.cancellineitem) 1729 * 1730 * @param string $merchantId The ID of the managing account. 1731 * @param string $orderId The ID of the order. 1732 * @param Google_OrdersCancelLineItemRequest $postBody 1733 * @param array $optParams Optional parameters. 1734 * @return Google_Service_ShoppingContent_OrdersCancelLineItemResponse 1735 */ 1736 public function cancellineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersCancelLineItemRequest $postBody, $optParams = array()) 1737 { 1738 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1739 $params = array_merge($params, $optParams); 1740 return $this->call('cancellineitem', array($params), "Google_Service_ShoppingContent_OrdersCancelLineItemResponse"); 1741 } 1742 1743 /** 1744 * Sandbox only. Creates a test order. (orders.createtestorder) 1745 * 1746 * @param string $merchantId The ID of the managing account. 1747 * @param Google_OrdersCreateTestOrderRequest $postBody 1748 * @param array $optParams Optional parameters. 1749 * @return Google_Service_ShoppingContent_OrdersCreateTestOrderResponse 1750 */ 1751 public function createtestorder($merchantId, Google_Service_ShoppingContent_OrdersCreateTestOrderRequest $postBody, $optParams = array()) 1752 { 1753 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 1754 $params = array_merge($params, $optParams); 1755 return $this->call('createtestorder', array($params), "Google_Service_ShoppingContent_OrdersCreateTestOrderResponse"); 1756 } 1757 1758 /** 1759 * Retrieves or modifies multiple orders in a single request. 1760 * (orders.custombatch) 1761 * 1762 * @param Google_OrdersCustomBatchRequest $postBody 1763 * @param array $optParams Optional parameters. 1764 * @return Google_Service_ShoppingContent_OrdersCustomBatchResponse 1765 */ 1766 public function custombatch(Google_Service_ShoppingContent_OrdersCustomBatchRequest $postBody, $optParams = array()) 1767 { 1768 $params = array('postBody' => $postBody); 1769 $params = array_merge($params, $optParams); 1770 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_OrdersCustomBatchResponse"); 1771 } 1772 1773 /** 1774 * Retrieves an order from your Merchant Center account. (orders.get) 1775 * 1776 * @param string $merchantId The ID of the managing account. 1777 * @param string $orderId The ID of the order. 1778 * @param array $optParams Optional parameters. 1779 * @return Google_Service_ShoppingContent_Order 1780 */ 1781 public function get($merchantId, $orderId, $optParams = array()) 1782 { 1783 $params = array('merchantId' => $merchantId, 'orderId' => $orderId); 1784 $params = array_merge($params, $optParams); 1785 return $this->call('get', array($params), "Google_Service_ShoppingContent_Order"); 1786 } 1787 1788 /** 1789 * Retrieves an order using merchant order id. (orders.getbymerchantorderid) 1790 * 1791 * @param string $merchantId The ID of the managing account. 1792 * @param string $merchantOrderId The merchant order id to be looked for. 1793 * @param array $optParams Optional parameters. 1794 * @return Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse 1795 */ 1796 public function getbymerchantorderid($merchantId, $merchantOrderId, $optParams = array()) 1797 { 1798 $params = array('merchantId' => $merchantId, 'merchantOrderId' => $merchantOrderId); 1799 $params = array_merge($params, $optParams); 1800 return $this->call('getbymerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse"); 1801 } 1802 1803 /** 1804 * Sandbox only. Retrieves an order template that can be used to quickly create 1805 * a new order in sandbox. (orders.gettestordertemplate) 1806 * 1807 * @param string $merchantId The ID of the managing account. 1808 * @param string $templateName The name of the template to retrieve. 1809 * @param array $optParams Optional parameters. 1810 * @return Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse 1811 */ 1812 public function gettestordertemplate($merchantId, $templateName, $optParams = array()) 1813 { 1814 $params = array('merchantId' => $merchantId, 'templateName' => $templateName); 1815 $params = array_merge($params, $optParams); 1816 return $this->call('gettestordertemplate', array($params), "Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse"); 1817 } 1818 1819 /** 1820 * Lists the orders in your Merchant Center account. (orders.listOrders) 1821 * 1822 * @param string $merchantId The ID of the managing account. 1823 * @param array $optParams Optional parameters. 1824 * 1825 * @opt_param string orderBy The ordering of the returned list. The only 1826 * supported value are placedDate desc and placedDate asc for now, which returns 1827 * orders sorted by placement date. "placedDate desc" stands for listing orders 1828 * by placement date, from oldest to most recent. "placedDate asc" stands for 1829 * listing orders by placement date, from most recent to oldest. In future 1830 * releases we'll support other sorting criteria. 1831 * @opt_param string placedDateEnd Obtains orders placed before this date 1832 * (exclusively), in ISO 8601 format. 1833 * @opt_param bool acknowledged Obtains orders that match the acknowledgement 1834 * status. When set to true, obtains orders that have been acknowledged. When 1835 * false, obtains orders that have not been acknowledged. We recommend using 1836 * this filter set to false, in conjunction with the acknowledge call, such that 1837 * only un-acknowledged orders are returned. 1838 * @opt_param string maxResults The maximum number of orders to return in the 1839 * response, used for paging. The default value is 25 orders per page, and the 1840 * maximum allowed value is 250 orders per page. Known issue: All List calls 1841 * will return all Orders without limit regardless of the value of this field. 1842 * @opt_param string pageToken The token returned by the previous request. 1843 * @opt_param string placedDateStart Obtains orders placed after this date 1844 * (inclusively), in ISO 8601 format. 1845 * @opt_param string statuses Obtains orders that match any of the specified 1846 * statuses. Multiple values can be specified with comma separation. 1847 * Additionally, please note that active is a shortcut for pendingShipment and 1848 * partiallyShipped, and completed is a shortcut for shipped , 1849 * partiallyDelivered, delivered, partiallyReturned, returned, and canceled. 1850 * @return Google_Service_ShoppingContent_OrdersListResponse 1851 */ 1852 public function listOrders($merchantId, $optParams = array()) 1853 { 1854 $params = array('merchantId' => $merchantId); 1855 $params = array_merge($params, $optParams); 1856 return $this->call('list', array($params), "Google_Service_ShoppingContent_OrdersListResponse"); 1857 } 1858 1859 /** 1860 * Refund a portion of the order, up to the full amount paid. (orders.refund) 1861 * 1862 * @param string $merchantId The ID of the managing account. 1863 * @param string $orderId The ID of the order to refund. 1864 * @param Google_OrdersRefundRequest $postBody 1865 * @param array $optParams Optional parameters. 1866 * @return Google_Service_ShoppingContent_OrdersRefundResponse 1867 */ 1868 public function refund($merchantId, $orderId, Google_Service_ShoppingContent_OrdersRefundRequest $postBody, $optParams = array()) 1869 { 1870 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1871 $params = array_merge($params, $optParams); 1872 return $this->call('refund', array($params), "Google_Service_ShoppingContent_OrdersRefundResponse"); 1873 } 1874 1875 /** 1876 * Returns a line item. (orders.returnlineitem) 1877 * 1878 * @param string $merchantId The ID of the managing account. 1879 * @param string $orderId The ID of the order. 1880 * @param Google_OrdersReturnLineItemRequest $postBody 1881 * @param array $optParams Optional parameters. 1882 * @return Google_Service_ShoppingContent_OrdersReturnLineItemResponse 1883 */ 1884 public function returnlineitem($merchantId, $orderId, Google_Service_ShoppingContent_OrdersReturnLineItemRequest $postBody, $optParams = array()) 1885 { 1886 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1887 $params = array_merge($params, $optParams); 1888 return $this->call('returnlineitem', array($params), "Google_Service_ShoppingContent_OrdersReturnLineItemResponse"); 1889 } 1890 1891 /** 1892 * Marks line item(s) as shipped. (orders.shiplineitems) 1893 * 1894 * @param string $merchantId The ID of the managing account. 1895 * @param string $orderId The ID of the order. 1896 * @param Google_OrdersShipLineItemsRequest $postBody 1897 * @param array $optParams Optional parameters. 1898 * @return Google_Service_ShoppingContent_OrdersShipLineItemsResponse 1899 */ 1900 public function shiplineitems($merchantId, $orderId, Google_Service_ShoppingContent_OrdersShipLineItemsRequest $postBody, $optParams = array()) 1901 { 1902 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1903 $params = array_merge($params, $optParams); 1904 return $this->call('shiplineitems', array($params), "Google_Service_ShoppingContent_OrdersShipLineItemsResponse"); 1905 } 1906 1907 /** 1908 * Updates the merchant order ID for a given order. 1909 * (orders.updatemerchantorderid) 1910 * 1911 * @param string $merchantId The ID of the managing account. 1912 * @param string $orderId The ID of the order. 1913 * @param Google_OrdersUpdateMerchantOrderIdRequest $postBody 1914 * @param array $optParams Optional parameters. 1915 * @return Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse 1916 */ 1917 public function updatemerchantorderid($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest $postBody, $optParams = array()) 1918 { 1919 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1920 $params = array_merge($params, $optParams); 1921 return $this->call('updatemerchantorderid', array($params), "Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse"); 1922 } 1923 1924 /** 1925 * Updates a shipment's status, carrier, and/or tracking ID. 1926 * (orders.updateshipment) 1927 * 1928 * @param string $merchantId The ID of the managing account. 1929 * @param string $orderId The ID of the order. 1930 * @param Google_OrdersUpdateShipmentRequest $postBody 1931 * @param array $optParams Optional parameters. 1932 * @return Google_Service_ShoppingContent_OrdersUpdateShipmentResponse 1933 */ 1934 public function updateshipment($merchantId, $orderId, Google_Service_ShoppingContent_OrdersUpdateShipmentRequest $postBody, $optParams = array()) 1935 { 1936 $params = array('merchantId' => $merchantId, 'orderId' => $orderId, 'postBody' => $postBody); 1937 $params = array_merge($params, $optParams); 1938 return $this->call('updateshipment', array($params), "Google_Service_ShoppingContent_OrdersUpdateShipmentResponse"); 1939 } 1940 } 1941 1942 /** 1943 * The "products" collection of methods. 1944 * Typical usage is: 1945 * <code> 1946 * $contentService = new Google_Service_ShoppingContent(...); 1947 * $products = $contentService->products; 1948 * </code> 1949 */ 1950 class Google_Service_ShoppingContent_Products_Resource extends Google_Service_Resource 1951 { 1952 1953 /** 1954 * Retrieves, inserts, and deletes multiple products in a single request. 1955 * (products.custombatch) 1956 * 1957 * @param Google_ProductsCustomBatchRequest $postBody 1958 * @param array $optParams Optional parameters. 1959 * 1960 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1961 * @return Google_Service_ShoppingContent_ProductsCustomBatchResponse 1962 */ 1963 public function custombatch(Google_Service_ShoppingContent_ProductsCustomBatchRequest $postBody, $optParams = array()) 1964 { 1965 $params = array('postBody' => $postBody); 1966 $params = array_merge($params, $optParams); 1967 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductsCustomBatchResponse"); 1968 } 1969 1970 /** 1971 * Deletes a product from your Merchant Center account. (products.delete) 1972 * 1973 * @param string $merchantId The ID of the managing account. 1974 * @param string $productId The ID of the product. 1975 * @param array $optParams Optional parameters. 1976 * 1977 * @opt_param bool dryRun Flag to run the request in dry-run mode. 1978 */ 1979 public function delete($merchantId, $productId, $optParams = array()) 1980 { 1981 $params = array('merchantId' => $merchantId, 'productId' => $productId); 1982 $params = array_merge($params, $optParams); 1983 return $this->call('delete', array($params)); 1984 } 1985 1986 /** 1987 * Retrieves a product from your Merchant Center account. (products.get) 1988 * 1989 * @param string $merchantId The ID of the managing account. 1990 * @param string $productId The ID of the product. 1991 * @param array $optParams Optional parameters. 1992 * @return Google_Service_ShoppingContent_Product 1993 */ 1994 public function get($merchantId, $productId, $optParams = array()) 1995 { 1996 $params = array('merchantId' => $merchantId, 'productId' => $productId); 1997 $params = array_merge($params, $optParams); 1998 return $this->call('get', array($params), "Google_Service_ShoppingContent_Product"); 1999 } 2000 2001 /** 2002 * Uploads a product to your Merchant Center account. (products.insert) 2003 * 2004 * @param string $merchantId The ID of the managing account. 2005 * @param Google_Product $postBody 2006 * @param array $optParams Optional parameters. 2007 * 2008 * @opt_param bool dryRun Flag to run the request in dry-run mode. 2009 * @return Google_Service_ShoppingContent_Product 2010 */ 2011 public function insert($merchantId, Google_Service_ShoppingContent_Product $postBody, $optParams = array()) 2012 { 2013 $params = array('merchantId' => $merchantId, 'postBody' => $postBody); 2014 $params = array_merge($params, $optParams); 2015 return $this->call('insert', array($params), "Google_Service_ShoppingContent_Product"); 2016 } 2017 2018 /** 2019 * Lists the products in your Merchant Center account. (products.listProducts) 2020 * 2021 * @param string $merchantId The ID of the managing account. 2022 * @param array $optParams Optional parameters. 2023 * 2024 * @opt_param string pageToken The token returned by the previous request. 2025 * @opt_param string maxResults The maximum number of products to return in the 2026 * response, used for paging. 2027 * @return Google_Service_ShoppingContent_ProductsListResponse 2028 */ 2029 public function listProducts($merchantId, $optParams = array()) 2030 { 2031 $params = array('merchantId' => $merchantId); 2032 $params = array_merge($params, $optParams); 2033 return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductsListResponse"); 2034 } 2035 } 2036 2037 /** 2038 * The "productstatuses" collection of methods. 2039 * Typical usage is: 2040 * <code> 2041 * $contentService = new Google_Service_ShoppingContent(...); 2042 * $productstatuses = $contentService->productstatuses; 2043 * </code> 2044 */ 2045 class Google_Service_ShoppingContent_Productstatuses_Resource extends Google_Service_Resource 2046 { 2047 2048 /** 2049 * Gets the statuses of multiple products in a single request. 2050 * (productstatuses.custombatch) 2051 * 2052 * @param Google_ProductstatusesCustomBatchRequest $postBody 2053 * @param array $optParams Optional parameters. 2054 * @return Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse 2055 */ 2056 public function custombatch(Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest $postBody, $optParams = array()) 2057 { 2058 $params = array('postBody' => $postBody); 2059 $params = array_merge($params, $optParams); 2060 return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse"); 2061 } 2062 2063 /** 2064 * Gets the status of a product from your Merchant Center account. 2065 * (productstatuses.get) 2066 * 2067 * @param string $merchantId The ID of the managing account. 2068 * @param string $productId The ID of the product. 2069 * @param array $optParams Optional parameters. 2070 * @return Google_Service_ShoppingContent_ProductStatus 2071 */ 2072 public function get($merchantId, $productId, $optParams = array()) 2073 { 2074 $params = array('merchantId' => $merchantId, 'productId' => $productId); 2075 $params = array_merge($params, $optParams); 2076 return $this->call('get', array($params), "Google_Service_ShoppingContent_ProductStatus"); 2077 } 2078 2079 /** 2080 * Lists the statuses of the products in your Merchant Center account. 2081 * (productstatuses.listProductstatuses) 2082 * 2083 * @param string $merchantId The ID of the managing account. 2084 * @param array $optParams Optional parameters. 2085 * 2086 * @opt_param string pageToken The token returned by the previous request. 2087 * @opt_param string maxResults The maximum number of product statuses to return 2088 * in the response, used for paging. 2089 * @return Google_Service_ShoppingContent_ProductstatusesListResponse 2090 */ 2091 public function listProductstatuses($merchantId, $optParams = array()) 2092 { 2093 $params = array('merchantId' => $merchantId); 2094 $params = array_merge($params, $optParams); 2095 return $this->call('list', array($params), "Google_Service_ShoppingContent_ProductstatusesListResponse"); 2096 } 2097 } 2098 2099 2100 2101 2102 class Google_Service_ShoppingContent_Account extends Google_Collection 2103 { 2104 protected $collection_key = 'users'; 2105 protected $internal_gapi_mappings = array( 2106 ); 2107 public $adultContent; 2108 protected $adwordsLinksType = 'Google_Service_ShoppingContent_AccountAdwordsLink'; 2109 protected $adwordsLinksDataType = 'array'; 2110 public $id; 2111 public $kind; 2112 public $name; 2113 public $reviewsUrl; 2114 public $sellerId; 2115 protected $usersType = 'Google_Service_ShoppingContent_AccountUser'; 2116 protected $usersDataType = 'array'; 2117 public $websiteUrl; 2118 2119 2120 public function setAdultContent($adultContent) 2121 { 2122 $this->adultContent = $adultContent; 2123 } 2124 public function getAdultContent() 2125 { 2126 return $this->adultContent; 2127 } 2128 public function setAdwordsLinks($adwordsLinks) 2129 { 2130 $this->adwordsLinks = $adwordsLinks; 2131 } 2132 public function getAdwordsLinks() 2133 { 2134 return $this->adwordsLinks; 2135 } 2136 public function setId($id) 2137 { 2138 $this->id = $id; 2139 } 2140 public function getId() 2141 { 2142 return $this->id; 2143 } 2144 public function setKind($kind) 2145 { 2146 $this->kind = $kind; 2147 } 2148 public function getKind() 2149 { 2150 return $this->kind; 2151 } 2152 public function setName($name) 2153 { 2154 $this->name = $name; 2155 } 2156 public function getName() 2157 { 2158 return $this->name; 2159 } 2160 public function setReviewsUrl($reviewsUrl) 2161 { 2162 $this->reviewsUrl = $reviewsUrl; 2163 } 2164 public function getReviewsUrl() 2165 { 2166 return $this->reviewsUrl; 2167 } 2168 public function setSellerId($sellerId) 2169 { 2170 $this->sellerId = $sellerId; 2171 } 2172 public function getSellerId() 2173 { 2174 return $this->sellerId; 2175 } 2176 public function setUsers($users) 2177 { 2178 $this->users = $users; 2179 } 2180 public function getUsers() 2181 { 2182 return $this->users; 2183 } 2184 public function setWebsiteUrl($websiteUrl) 2185 { 2186 $this->websiteUrl = $websiteUrl; 2187 } 2188 public function getWebsiteUrl() 2189 { 2190 return $this->websiteUrl; 2191 } 2192 } 2193 2194 class Google_Service_ShoppingContent_AccountAdwordsLink extends Google_Model 2195 { 2196 protected $internal_gapi_mappings = array( 2197 ); 2198 public $adwordsId; 2199 public $status; 2200 2201 2202 public function setAdwordsId($adwordsId) 2203 { 2204 $this->adwordsId = $adwordsId; 2205 } 2206 public function getAdwordsId() 2207 { 2208 return $this->adwordsId; 2209 } 2210 public function setStatus($status) 2211 { 2212 $this->status = $status; 2213 } 2214 public function getStatus() 2215 { 2216 return $this->status; 2217 } 2218 } 2219 2220 class Google_Service_ShoppingContent_AccountIdentifier extends Google_Model 2221 { 2222 protected $internal_gapi_mappings = array( 2223 ); 2224 public $aggregatorId; 2225 public $merchantId; 2226 2227 2228 public function setAggregatorId($aggregatorId) 2229 { 2230 $this->aggregatorId = $aggregatorId; 2231 } 2232 public function getAggregatorId() 2233 { 2234 return $this->aggregatorId; 2235 } 2236 public function setMerchantId($merchantId) 2237 { 2238 $this->merchantId = $merchantId; 2239 } 2240 public function getMerchantId() 2241 { 2242 return $this->merchantId; 2243 } 2244 } 2245 2246 class Google_Service_ShoppingContent_AccountShipping extends Google_Collection 2247 { 2248 protected $collection_key = 'services'; 2249 protected $internal_gapi_mappings = array( 2250 ); 2251 public $accountId; 2252 protected $carrierRatesType = 'Google_Service_ShoppingContent_AccountShippingCarrierRate'; 2253 protected $carrierRatesDataType = 'array'; 2254 public $kind; 2255 protected $locationGroupsType = 'Google_Service_ShoppingContent_AccountShippingLocationGroup'; 2256 protected $locationGroupsDataType = 'array'; 2257 protected $rateTablesType = 'Google_Service_ShoppingContent_AccountShippingRateTable'; 2258 protected $rateTablesDataType = 'array'; 2259 protected $servicesType = 'Google_Service_ShoppingContent_AccountShippingShippingService'; 2260 protected $servicesDataType = 'array'; 2261 2262 2263 public function setAccountId($accountId) 2264 { 2265 $this->accountId = $accountId; 2266 } 2267 public function getAccountId() 2268 { 2269 return $this->accountId; 2270 } 2271 public function setCarrierRates($carrierRates) 2272 { 2273 $this->carrierRates = $carrierRates; 2274 } 2275 public function getCarrierRates() 2276 { 2277 return $this->carrierRates; 2278 } 2279 public function setKind($kind) 2280 { 2281 $this->kind = $kind; 2282 } 2283 public function getKind() 2284 { 2285 return $this->kind; 2286 } 2287 public function setLocationGroups($locationGroups) 2288 { 2289 $this->locationGroups = $locationGroups; 2290 } 2291 public function getLocationGroups() 2292 { 2293 return $this->locationGroups; 2294 } 2295 public function setRateTables($rateTables) 2296 { 2297 $this->rateTables = $rateTables; 2298 } 2299 public function getRateTables() 2300 { 2301 return $this->rateTables; 2302 } 2303 public function setServices($services) 2304 { 2305 $this->services = $services; 2306 } 2307 public function getServices() 2308 { 2309 return $this->services; 2310 } 2311 } 2312 2313 class Google_Service_ShoppingContent_AccountShippingCarrierRate extends Google_Model 2314 { 2315 protected $internal_gapi_mappings = array( 2316 ); 2317 public $carrier; 2318 public $carrierService; 2319 protected $modifierFlatRateType = 'Google_Service_ShoppingContent_Price'; 2320 protected $modifierFlatRateDataType = ''; 2321 public $modifierPercent; 2322 public $name; 2323 public $saleCountry; 2324 public $shippingOrigin; 2325 2326 2327 public function setCarrier($carrier) 2328 { 2329 $this->carrier = $carrier; 2330 } 2331 public function getCarrier() 2332 { 2333 return $this->carrier; 2334 } 2335 public function setCarrierService($carrierService) 2336 { 2337 $this->carrierService = $carrierService; 2338 } 2339 public function getCarrierService() 2340 { 2341 return $this->carrierService; 2342 } 2343 public function setModifierFlatRate(Google_Service_ShoppingContent_Price $modifierFlatRate) 2344 { 2345 $this->modifierFlatRate = $modifierFlatRate; 2346 } 2347 public function getModifierFlatRate() 2348 { 2349 return $this->modifierFlatRate; 2350 } 2351 public function setModifierPercent($modifierPercent) 2352 { 2353 $this->modifierPercent = $modifierPercent; 2354 } 2355 public function getModifierPercent() 2356 { 2357 return $this->modifierPercent; 2358 } 2359 public function setName($name) 2360 { 2361 $this->name = $name; 2362 } 2363 public function getName() 2364 { 2365 return $this->name; 2366 } 2367 public function setSaleCountry($saleCountry) 2368 { 2369 $this->saleCountry = $saleCountry; 2370 } 2371 public function getSaleCountry() 2372 { 2373 return $this->saleCountry; 2374 } 2375 public function setShippingOrigin($shippingOrigin) 2376 { 2377 $this->shippingOrigin = $shippingOrigin; 2378 } 2379 public function getShippingOrigin() 2380 { 2381 return $this->shippingOrigin; 2382 } 2383 } 2384 2385 class Google_Service_ShoppingContent_AccountShippingCondition extends Google_Model 2386 { 2387 protected $internal_gapi_mappings = array( 2388 ); 2389 public $deliveryLocationGroup; 2390 public $deliveryLocationId; 2391 public $deliveryPostalCode; 2392 protected $deliveryPostalCodeRangeType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange'; 2393 protected $deliveryPostalCodeRangeDataType = ''; 2394 protected $priceMaxType = 'Google_Service_ShoppingContent_Price'; 2395 protected $priceMaxDataType = ''; 2396 public $shippingLabel; 2397 protected $weightMaxType = 'Google_Service_ShoppingContent_Weight'; 2398 protected $weightMaxDataType = ''; 2399 2400 2401 public function setDeliveryLocationGroup($deliveryLocationGroup) 2402 { 2403 $this->deliveryLocationGroup = $deliveryLocationGroup; 2404 } 2405 public function getDeliveryLocationGroup() 2406 { 2407 return $this->deliveryLocationGroup; 2408 } 2409 public function setDeliveryLocationId($deliveryLocationId) 2410 { 2411 $this->deliveryLocationId = $deliveryLocationId; 2412 } 2413 public function getDeliveryLocationId() 2414 { 2415 return $this->deliveryLocationId; 2416 } 2417 public function setDeliveryPostalCode($deliveryPostalCode) 2418 { 2419 $this->deliveryPostalCode = $deliveryPostalCode; 2420 } 2421 public function getDeliveryPostalCode() 2422 { 2423 return $this->deliveryPostalCode; 2424 } 2425 public function setDeliveryPostalCodeRange(Google_Service_ShoppingContent_AccountShippingPostalCodeRange $deliveryPostalCodeRange) 2426 { 2427 $this->deliveryPostalCodeRange = $deliveryPostalCodeRange; 2428 } 2429 public function getDeliveryPostalCodeRange() 2430 { 2431 return $this->deliveryPostalCodeRange; 2432 } 2433 public function setPriceMax(Google_Service_ShoppingContent_Price $priceMax) 2434 { 2435 $this->priceMax = $priceMax; 2436 } 2437 public function getPriceMax() 2438 { 2439 return $this->priceMax; 2440 } 2441 public function setShippingLabel($shippingLabel) 2442 { 2443 $this->shippingLabel = $shippingLabel; 2444 } 2445 public function getShippingLabel() 2446 { 2447 return $this->shippingLabel; 2448 } 2449 public function setWeightMax(Google_Service_ShoppingContent_Weight $weightMax) 2450 { 2451 $this->weightMax = $weightMax; 2452 } 2453 public function getWeightMax() 2454 { 2455 return $this->weightMax; 2456 } 2457 } 2458 2459 class Google_Service_ShoppingContent_AccountShippingLocationGroup extends Google_Collection 2460 { 2461 protected $collection_key = 'postalCodes'; 2462 protected $internal_gapi_mappings = array( 2463 ); 2464 public $country; 2465 public $locationIds; 2466 public $name; 2467 protected $postalCodeRangesType = 'Google_Service_ShoppingContent_AccountShippingPostalCodeRange'; 2468 protected $postalCodeRangesDataType = 'array'; 2469 public $postalCodes; 2470 2471 2472 public function setCountry($country) 2473 { 2474 $this->country = $country; 2475 } 2476 public function getCountry() 2477 { 2478 return $this->country; 2479 } 2480 public function setLocationIds($locationIds) 2481 { 2482 $this->locationIds = $locationIds; 2483 } 2484 public function getLocationIds() 2485 { 2486 return $this->locationIds; 2487 } 2488 public function setName($name) 2489 { 2490 $this->name = $name; 2491 } 2492 public function getName() 2493 { 2494 return $this->name; 2495 } 2496 public function setPostalCodeRanges($postalCodeRanges) 2497 { 2498 $this->postalCodeRanges = $postalCodeRanges; 2499 } 2500 public function getPostalCodeRanges() 2501 { 2502 return $this->postalCodeRanges; 2503 } 2504 public function setPostalCodes($postalCodes) 2505 { 2506 $this->postalCodes = $postalCodes; 2507 } 2508 public function getPostalCodes() 2509 { 2510 return $this->postalCodes; 2511 } 2512 } 2513 2514 class Google_Service_ShoppingContent_AccountShippingPostalCodeRange extends Google_Model 2515 { 2516 protected $internal_gapi_mappings = array( 2517 ); 2518 public $end; 2519 public $start; 2520 2521 2522 public function setEnd($end) 2523 { 2524 $this->end = $end; 2525 } 2526 public function getEnd() 2527 { 2528 return $this->end; 2529 } 2530 public function setStart($start) 2531 { 2532 $this->start = $start; 2533 } 2534 public function getStart() 2535 { 2536 return $this->start; 2537 } 2538 } 2539 2540 class Google_Service_ShoppingContent_AccountShippingRateTable extends Google_Collection 2541 { 2542 protected $collection_key = 'content'; 2543 protected $internal_gapi_mappings = array( 2544 ); 2545 protected $contentType = 'Google_Service_ShoppingContent_AccountShippingRateTableCell'; 2546 protected $contentDataType = 'array'; 2547 public $name; 2548 public $saleCountry; 2549 2550 2551 public function setContent($content) 2552 { 2553 $this->content = $content; 2554 } 2555 public function getContent() 2556 { 2557 return $this->content; 2558 } 2559 public function setName($name) 2560 { 2561 $this->name = $name; 2562 } 2563 public function getName() 2564 { 2565 return $this->name; 2566 } 2567 public function setSaleCountry($saleCountry) 2568 { 2569 $this->saleCountry = $saleCountry; 2570 } 2571 public function getSaleCountry() 2572 { 2573 return $this->saleCountry; 2574 } 2575 } 2576 2577 class Google_Service_ShoppingContent_AccountShippingRateTableCell extends Google_Model 2578 { 2579 protected $internal_gapi_mappings = array( 2580 ); 2581 protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition'; 2582 protected $conditionDataType = ''; 2583 protected $rateType = 'Google_Service_ShoppingContent_Price'; 2584 protected $rateDataType = ''; 2585 2586 2587 public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition) 2588 { 2589 $this->condition = $condition; 2590 } 2591 public function getCondition() 2592 { 2593 return $this->condition; 2594 } 2595 public function setRate(Google_Service_ShoppingContent_Price $rate) 2596 { 2597 $this->rate = $rate; 2598 } 2599 public function getRate() 2600 { 2601 return $this->rate; 2602 } 2603 } 2604 2605 class Google_Service_ShoppingContent_AccountShippingShippingService extends Google_Model 2606 { 2607 protected $internal_gapi_mappings = array( 2608 ); 2609 public $active; 2610 protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod'; 2611 protected $calculationMethodDataType = ''; 2612 protected $costRuleTreeType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule'; 2613 protected $costRuleTreeDataType = ''; 2614 public $name; 2615 public $saleCountry; 2616 2617 2618 public function setActive($active) 2619 { 2620 $this->active = $active; 2621 } 2622 public function getActive() 2623 { 2624 return $this->active; 2625 } 2626 public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod) 2627 { 2628 $this->calculationMethod = $calculationMethod; 2629 } 2630 public function getCalculationMethod() 2631 { 2632 return $this->calculationMethod; 2633 } 2634 public function setCostRuleTree(Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule $costRuleTree) 2635 { 2636 $this->costRuleTree = $costRuleTree; 2637 } 2638 public function getCostRuleTree() 2639 { 2640 return $this->costRuleTree; 2641 } 2642 public function setName($name) 2643 { 2644 $this->name = $name; 2645 } 2646 public function getName() 2647 { 2648 return $this->name; 2649 } 2650 public function setSaleCountry($saleCountry) 2651 { 2652 $this->saleCountry = $saleCountry; 2653 } 2654 public function getSaleCountry() 2655 { 2656 return $this->saleCountry; 2657 } 2658 } 2659 2660 class Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod extends Google_Model 2661 { 2662 protected $internal_gapi_mappings = array( 2663 ); 2664 public $carrierRate; 2665 public $excluded; 2666 protected $flatRateType = 'Google_Service_ShoppingContent_Price'; 2667 protected $flatRateDataType = ''; 2668 public $percentageRate; 2669 public $rateTable; 2670 2671 2672 public function setCarrierRate($carrierRate) 2673 { 2674 $this->carrierRate = $carrierRate; 2675 } 2676 public function getCarrierRate() 2677 { 2678 return $this->carrierRate; 2679 } 2680 public function setExcluded($excluded) 2681 { 2682 $this->excluded = $excluded; 2683 } 2684 public function getExcluded() 2685 { 2686 return $this->excluded; 2687 } 2688 public function setFlatRate(Google_Service_ShoppingContent_Price $flatRate) 2689 { 2690 $this->flatRate = $flatRate; 2691 } 2692 public function getFlatRate() 2693 { 2694 return $this->flatRate; 2695 } 2696 public function setPercentageRate($percentageRate) 2697 { 2698 $this->percentageRate = $percentageRate; 2699 } 2700 public function getPercentageRate() 2701 { 2702 return $this->percentageRate; 2703 } 2704 public function setRateTable($rateTable) 2705 { 2706 $this->rateTable = $rateTable; 2707 } 2708 public function getRateTable() 2709 { 2710 return $this->rateTable; 2711 } 2712 } 2713 2714 class Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule extends Google_Collection 2715 { 2716 protected $collection_key = 'children'; 2717 protected $internal_gapi_mappings = array( 2718 ); 2719 protected $calculationMethodType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod'; 2720 protected $calculationMethodDataType = ''; 2721 protected $childrenType = 'Google_Service_ShoppingContent_AccountShippingShippingServiceCostRule'; 2722 protected $childrenDataType = 'array'; 2723 protected $conditionType = 'Google_Service_ShoppingContent_AccountShippingCondition'; 2724 protected $conditionDataType = ''; 2725 2726 2727 public function setCalculationMethod(Google_Service_ShoppingContent_AccountShippingShippingServiceCalculationMethod $calculationMethod) 2728 { 2729 $this->calculationMethod = $calculationMethod; 2730 } 2731 public function getCalculationMethod() 2732 { 2733 return $this->calculationMethod; 2734 } 2735 public function setChildren($children) 2736 { 2737 $this->children = $children; 2738 } 2739 public function getChildren() 2740 { 2741 return $this->children; 2742 } 2743 public function setCondition(Google_Service_ShoppingContent_AccountShippingCondition $condition) 2744 { 2745 $this->condition = $condition; 2746 } 2747 public function getCondition() 2748 { 2749 return $this->condition; 2750 } 2751 } 2752 2753 class Google_Service_ShoppingContent_AccountStatus extends Google_Collection 2754 { 2755 protected $collection_key = 'dataQualityIssues'; 2756 protected $internal_gapi_mappings = array( 2757 ); 2758 public $accountId; 2759 protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_AccountStatusDataQualityIssue'; 2760 protected $dataQualityIssuesDataType = 'array'; 2761 public $kind; 2762 2763 2764 public function setAccountId($accountId) 2765 { 2766 $this->accountId = $accountId; 2767 } 2768 public function getAccountId() 2769 { 2770 return $this->accountId; 2771 } 2772 public function setDataQualityIssues($dataQualityIssues) 2773 { 2774 $this->dataQualityIssues = $dataQualityIssues; 2775 } 2776 public function getDataQualityIssues() 2777 { 2778 return $this->dataQualityIssues; 2779 } 2780 public function setKind($kind) 2781 { 2782 $this->kind = $kind; 2783 } 2784 public function getKind() 2785 { 2786 return $this->kind; 2787 } 2788 } 2789 2790 class Google_Service_ShoppingContent_AccountStatusDataQualityIssue extends Google_Collection 2791 { 2792 protected $collection_key = 'exampleItems'; 2793 protected $internal_gapi_mappings = array( 2794 ); 2795 public $country; 2796 public $displayedValue; 2797 protected $exampleItemsType = 'Google_Service_ShoppingContent_AccountStatusExampleItem'; 2798 protected $exampleItemsDataType = 'array'; 2799 public $id; 2800 public $lastChecked; 2801 public $numItems; 2802 public $severity; 2803 public $submittedValue; 2804 2805 2806 public function setCountry($country) 2807 { 2808 $this->country = $country; 2809 } 2810 public function getCountry() 2811 { 2812 return $this->country; 2813 } 2814 public function setDisplayedValue($displayedValue) 2815 { 2816 $this->displayedValue = $displayedValue; 2817 } 2818 public function getDisplayedValue() 2819 { 2820 return $this->displayedValue; 2821 } 2822 public function setExampleItems($exampleItems) 2823 { 2824 $this->exampleItems = $exampleItems; 2825 } 2826 public function getExampleItems() 2827 { 2828 return $this->exampleItems; 2829 } 2830 public function setId($id) 2831 { 2832 $this->id = $id; 2833 } 2834 public function getId() 2835 { 2836 return $this->id; 2837 } 2838 public function setLastChecked($lastChecked) 2839 { 2840 $this->lastChecked = $lastChecked; 2841 } 2842 public function getLastChecked() 2843 { 2844 return $this->lastChecked; 2845 } 2846 public function setNumItems($numItems) 2847 { 2848 $this->numItems = $numItems; 2849 } 2850 public function getNumItems() 2851 { 2852 return $this->numItems; 2853 } 2854 public function setSeverity($severity) 2855 { 2856 $this->severity = $severity; 2857 } 2858 public function getSeverity() 2859 { 2860 return $this->severity; 2861 } 2862 public function setSubmittedValue($submittedValue) 2863 { 2864 $this->submittedValue = $submittedValue; 2865 } 2866 public function getSubmittedValue() 2867 { 2868 return $this->submittedValue; 2869 } 2870 } 2871 2872 class Google_Service_ShoppingContent_AccountStatusExampleItem extends Google_Model 2873 { 2874 protected $internal_gapi_mappings = array( 2875 ); 2876 public $itemId; 2877 public $link; 2878 public $submittedValue; 2879 public $title; 2880 public $valueOnLandingPage; 2881 2882 2883 public function setItemId($itemId) 2884 { 2885 $this->itemId = $itemId; 2886 } 2887 public function getItemId() 2888 { 2889 return $this->itemId; 2890 } 2891 public function setLink($link) 2892 { 2893 $this->link = $link; 2894 } 2895 public function getLink() 2896 { 2897 return $this->link; 2898 } 2899 public function setSubmittedValue($submittedValue) 2900 { 2901 $this->submittedValue = $submittedValue; 2902 } 2903 public function getSubmittedValue() 2904 { 2905 return $this->submittedValue; 2906 } 2907 public function setTitle($title) 2908 { 2909 $this->title = $title; 2910 } 2911 public function getTitle() 2912 { 2913 return $this->title; 2914 } 2915 public function setValueOnLandingPage($valueOnLandingPage) 2916 { 2917 $this->valueOnLandingPage = $valueOnLandingPage; 2918 } 2919 public function getValueOnLandingPage() 2920 { 2921 return $this->valueOnLandingPage; 2922 } 2923 } 2924 2925 class Google_Service_ShoppingContent_AccountTax extends Google_Collection 2926 { 2927 protected $collection_key = 'rules'; 2928 protected $internal_gapi_mappings = array( 2929 ); 2930 public $accountId; 2931 public $kind; 2932 protected $rulesType = 'Google_Service_ShoppingContent_AccountTaxTaxRule'; 2933 protected $rulesDataType = 'array'; 2934 2935 2936 public function setAccountId($accountId) 2937 { 2938 $this->accountId = $accountId; 2939 } 2940 public function getAccountId() 2941 { 2942 return $this->accountId; 2943 } 2944 public function setKind($kind) 2945 { 2946 $this->kind = $kind; 2947 } 2948 public function getKind() 2949 { 2950 return $this->kind; 2951 } 2952 public function setRules($rules) 2953 { 2954 $this->rules = $rules; 2955 } 2956 public function getRules() 2957 { 2958 return $this->rules; 2959 } 2960 } 2961 2962 class Google_Service_ShoppingContent_AccountTaxTaxRule extends Google_Model 2963 { 2964 protected $internal_gapi_mappings = array( 2965 ); 2966 public $country; 2967 public $locationId; 2968 public $ratePercent; 2969 public $shippingTaxed; 2970 public $useGlobalRate; 2971 2972 2973 public function setCountry($country) 2974 { 2975 $this->country = $country; 2976 } 2977 public function getCountry() 2978 { 2979 return $this->country; 2980 } 2981 public function setLocationId($locationId) 2982 { 2983 $this->locationId = $locationId; 2984 } 2985 public function getLocationId() 2986 { 2987 return $this->locationId; 2988 } 2989 public function setRatePercent($ratePercent) 2990 { 2991 $this->ratePercent = $ratePercent; 2992 } 2993 public function getRatePercent() 2994 { 2995 return $this->ratePercent; 2996 } 2997 public function setShippingTaxed($shippingTaxed) 2998 { 2999 $this->shippingTaxed = $shippingTaxed; 3000 } 3001 public function getShippingTaxed() 3002 { 3003 return $this->shippingTaxed; 3004 } 3005 public function setUseGlobalRate($useGlobalRate) 3006 { 3007 $this->useGlobalRate = $useGlobalRate; 3008 } 3009 public function getUseGlobalRate() 3010 { 3011 return $this->useGlobalRate; 3012 } 3013 } 3014 3015 class Google_Service_ShoppingContent_AccountUser extends Google_Model 3016 { 3017 protected $internal_gapi_mappings = array( 3018 ); 3019 public $admin; 3020 public $emailAddress; 3021 3022 3023 public function setAdmin($admin) 3024 { 3025 $this->admin = $admin; 3026 } 3027 public function getAdmin() 3028 { 3029 return $this->admin; 3030 } 3031 public function setEmailAddress($emailAddress) 3032 { 3033 $this->emailAddress = $emailAddress; 3034 } 3035 public function getEmailAddress() 3036 { 3037 return $this->emailAddress; 3038 } 3039 } 3040 3041 class Google_Service_ShoppingContent_AccountsAuthInfoResponse extends Google_Collection 3042 { 3043 protected $collection_key = 'accountIdentifiers'; 3044 protected $internal_gapi_mappings = array( 3045 ); 3046 protected $accountIdentifiersType = 'Google_Service_ShoppingContent_AccountIdentifier'; 3047 protected $accountIdentifiersDataType = 'array'; 3048 public $kind; 3049 3050 3051 public function setAccountIdentifiers($accountIdentifiers) 3052 { 3053 $this->accountIdentifiers = $accountIdentifiers; 3054 } 3055 public function getAccountIdentifiers() 3056 { 3057 return $this->accountIdentifiers; 3058 } 3059 public function setKind($kind) 3060 { 3061 $this->kind = $kind; 3062 } 3063 public function getKind() 3064 { 3065 return $this->kind; 3066 } 3067 } 3068 3069 class Google_Service_ShoppingContent_AccountsCustomBatchRequest extends Google_Collection 3070 { 3071 protected $collection_key = 'entries'; 3072 protected $internal_gapi_mappings = array( 3073 ); 3074 protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry'; 3075 protected $entriesDataType = 'array'; 3076 3077 3078 public function setEntries($entries) 3079 { 3080 $this->entries = $entries; 3081 } 3082 public function getEntries() 3083 { 3084 return $this->entries; 3085 } 3086 } 3087 3088 class Google_Service_ShoppingContent_AccountsCustomBatchRequestEntry extends Google_Model 3089 { 3090 protected $internal_gapi_mappings = array( 3091 ); 3092 protected $accountType = 'Google_Service_ShoppingContent_Account'; 3093 protected $accountDataType = ''; 3094 public $accountId; 3095 public $batchId; 3096 public $merchantId; 3097 public $method; 3098 3099 3100 public function setAccount(Google_Service_ShoppingContent_Account $account) 3101 { 3102 $this->account = $account; 3103 } 3104 public function getAccount() 3105 { 3106 return $this->account; 3107 } 3108 public function setAccountId($accountId) 3109 { 3110 $this->accountId = $accountId; 3111 } 3112 public function getAccountId() 3113 { 3114 return $this->accountId; 3115 } 3116 public function setBatchId($batchId) 3117 { 3118 $this->batchId = $batchId; 3119 } 3120 public function getBatchId() 3121 { 3122 return $this->batchId; 3123 } 3124 public function setMerchantId($merchantId) 3125 { 3126 $this->merchantId = $merchantId; 3127 } 3128 public function getMerchantId() 3129 { 3130 return $this->merchantId; 3131 } 3132 public function setMethod($method) 3133 { 3134 $this->method = $method; 3135 } 3136 public function getMethod() 3137 { 3138 return $this->method; 3139 } 3140 } 3141 3142 class Google_Service_ShoppingContent_AccountsCustomBatchResponse extends Google_Collection 3143 { 3144 protected $collection_key = 'entries'; 3145 protected $internal_gapi_mappings = array( 3146 ); 3147 protected $entriesType = 'Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry'; 3148 protected $entriesDataType = 'array'; 3149 public $kind; 3150 3151 3152 public function setEntries($entries) 3153 { 3154 $this->entries = $entries; 3155 } 3156 public function getEntries() 3157 { 3158 return $this->entries; 3159 } 3160 public function setKind($kind) 3161 { 3162 $this->kind = $kind; 3163 } 3164 public function getKind() 3165 { 3166 return $this->kind; 3167 } 3168 } 3169 3170 class Google_Service_ShoppingContent_AccountsCustomBatchResponseEntry extends Google_Model 3171 { 3172 protected $internal_gapi_mappings = array( 3173 ); 3174 protected $accountType = 'Google_Service_ShoppingContent_Account'; 3175 protected $accountDataType = ''; 3176 public $batchId; 3177 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 3178 protected $errorsDataType = ''; 3179 public $kind; 3180 3181 3182 public function setAccount(Google_Service_ShoppingContent_Account $account) 3183 { 3184 $this->account = $account; 3185 } 3186 public function getAccount() 3187 { 3188 return $this->account; 3189 } 3190 public function setBatchId($batchId) 3191 { 3192 $this->batchId = $batchId; 3193 } 3194 public function getBatchId() 3195 { 3196 return $this->batchId; 3197 } 3198 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 3199 { 3200 $this->errors = $errors; 3201 } 3202 public function getErrors() 3203 { 3204 return $this->errors; 3205 } 3206 public function setKind($kind) 3207 { 3208 $this->kind = $kind; 3209 } 3210 public function getKind() 3211 { 3212 return $this->kind; 3213 } 3214 } 3215 3216 class Google_Service_ShoppingContent_AccountsListResponse extends Google_Collection 3217 { 3218 protected $collection_key = 'resources'; 3219 protected $internal_gapi_mappings = array( 3220 ); 3221 public $kind; 3222 public $nextPageToken; 3223 protected $resourcesType = 'Google_Service_ShoppingContent_Account'; 3224 protected $resourcesDataType = 'array'; 3225 3226 3227 public function setKind($kind) 3228 { 3229 $this->kind = $kind; 3230 } 3231 public function getKind() 3232 { 3233 return $this->kind; 3234 } 3235 public function setNextPageToken($nextPageToken) 3236 { 3237 $this->nextPageToken = $nextPageToken; 3238 } 3239 public function getNextPageToken() 3240 { 3241 return $this->nextPageToken; 3242 } 3243 public function setResources($resources) 3244 { 3245 $this->resources = $resources; 3246 } 3247 public function getResources() 3248 { 3249 return $this->resources; 3250 } 3251 } 3252 3253 class Google_Service_ShoppingContent_AccountshippingCustomBatchRequest extends Google_Collection 3254 { 3255 protected $collection_key = 'entries'; 3256 protected $internal_gapi_mappings = array( 3257 ); 3258 protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry'; 3259 protected $entriesDataType = 'array'; 3260 3261 3262 public function setEntries($entries) 3263 { 3264 $this->entries = $entries; 3265 } 3266 public function getEntries() 3267 { 3268 return $this->entries; 3269 } 3270 } 3271 3272 class Google_Service_ShoppingContent_AccountshippingCustomBatchRequestEntry extends Google_Model 3273 { 3274 protected $internal_gapi_mappings = array( 3275 ); 3276 public $accountId; 3277 protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping'; 3278 protected $accountShippingDataType = ''; 3279 public $batchId; 3280 public $merchantId; 3281 public $method; 3282 3283 3284 public function setAccountId($accountId) 3285 { 3286 $this->accountId = $accountId; 3287 } 3288 public function getAccountId() 3289 { 3290 return $this->accountId; 3291 } 3292 public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping) 3293 { 3294 $this->accountShipping = $accountShipping; 3295 } 3296 public function getAccountShipping() 3297 { 3298 return $this->accountShipping; 3299 } 3300 public function setBatchId($batchId) 3301 { 3302 $this->batchId = $batchId; 3303 } 3304 public function getBatchId() 3305 { 3306 return $this->batchId; 3307 } 3308 public function setMerchantId($merchantId) 3309 { 3310 $this->merchantId = $merchantId; 3311 } 3312 public function getMerchantId() 3313 { 3314 return $this->merchantId; 3315 } 3316 public function setMethod($method) 3317 { 3318 $this->method = $method; 3319 } 3320 public function getMethod() 3321 { 3322 return $this->method; 3323 } 3324 } 3325 3326 class Google_Service_ShoppingContent_AccountshippingCustomBatchResponse extends Google_Collection 3327 { 3328 protected $collection_key = 'entries'; 3329 protected $internal_gapi_mappings = array( 3330 ); 3331 protected $entriesType = 'Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry'; 3332 protected $entriesDataType = 'array'; 3333 public $kind; 3334 3335 3336 public function setEntries($entries) 3337 { 3338 $this->entries = $entries; 3339 } 3340 public function getEntries() 3341 { 3342 return $this->entries; 3343 } 3344 public function setKind($kind) 3345 { 3346 $this->kind = $kind; 3347 } 3348 public function getKind() 3349 { 3350 return $this->kind; 3351 } 3352 } 3353 3354 class Google_Service_ShoppingContent_AccountshippingCustomBatchResponseEntry extends Google_Model 3355 { 3356 protected $internal_gapi_mappings = array( 3357 ); 3358 protected $accountShippingType = 'Google_Service_ShoppingContent_AccountShipping'; 3359 protected $accountShippingDataType = ''; 3360 public $batchId; 3361 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 3362 protected $errorsDataType = ''; 3363 public $kind; 3364 3365 3366 public function setAccountShipping(Google_Service_ShoppingContent_AccountShipping $accountShipping) 3367 { 3368 $this->accountShipping = $accountShipping; 3369 } 3370 public function getAccountShipping() 3371 { 3372 return $this->accountShipping; 3373 } 3374 public function setBatchId($batchId) 3375 { 3376 $this->batchId = $batchId; 3377 } 3378 public function getBatchId() 3379 { 3380 return $this->batchId; 3381 } 3382 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 3383 { 3384 $this->errors = $errors; 3385 } 3386 public function getErrors() 3387 { 3388 return $this->errors; 3389 } 3390 public function setKind($kind) 3391 { 3392 $this->kind = $kind; 3393 } 3394 public function getKind() 3395 { 3396 return $this->kind; 3397 } 3398 } 3399 3400 class Google_Service_ShoppingContent_AccountshippingListResponse extends Google_Collection 3401 { 3402 protected $collection_key = 'resources'; 3403 protected $internal_gapi_mappings = array( 3404 ); 3405 public $kind; 3406 public $nextPageToken; 3407 protected $resourcesType = 'Google_Service_ShoppingContent_AccountShipping'; 3408 protected $resourcesDataType = 'array'; 3409 3410 3411 public function setKind($kind) 3412 { 3413 $this->kind = $kind; 3414 } 3415 public function getKind() 3416 { 3417 return $this->kind; 3418 } 3419 public function setNextPageToken($nextPageToken) 3420 { 3421 $this->nextPageToken = $nextPageToken; 3422 } 3423 public function getNextPageToken() 3424 { 3425 return $this->nextPageToken; 3426 } 3427 public function setResources($resources) 3428 { 3429 $this->resources = $resources; 3430 } 3431 public function getResources() 3432 { 3433 return $this->resources; 3434 } 3435 } 3436 3437 class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequest extends Google_Collection 3438 { 3439 protected $collection_key = 'entries'; 3440 protected $internal_gapi_mappings = array( 3441 ); 3442 protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry'; 3443 protected $entriesDataType = 'array'; 3444 3445 3446 public function setEntries($entries) 3447 { 3448 $this->entries = $entries; 3449 } 3450 public function getEntries() 3451 { 3452 return $this->entries; 3453 } 3454 } 3455 3456 class Google_Service_ShoppingContent_AccountstatusesCustomBatchRequestEntry extends Google_Model 3457 { 3458 protected $internal_gapi_mappings = array( 3459 ); 3460 public $accountId; 3461 public $batchId; 3462 public $merchantId; 3463 public $method; 3464 3465 3466 public function setAccountId($accountId) 3467 { 3468 $this->accountId = $accountId; 3469 } 3470 public function getAccountId() 3471 { 3472 return $this->accountId; 3473 } 3474 public function setBatchId($batchId) 3475 { 3476 $this->batchId = $batchId; 3477 } 3478 public function getBatchId() 3479 { 3480 return $this->batchId; 3481 } 3482 public function setMerchantId($merchantId) 3483 { 3484 $this->merchantId = $merchantId; 3485 } 3486 public function getMerchantId() 3487 { 3488 return $this->merchantId; 3489 } 3490 public function setMethod($method) 3491 { 3492 $this->method = $method; 3493 } 3494 public function getMethod() 3495 { 3496 return $this->method; 3497 } 3498 } 3499 3500 class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponse extends Google_Collection 3501 { 3502 protected $collection_key = 'entries'; 3503 protected $internal_gapi_mappings = array( 3504 ); 3505 protected $entriesType = 'Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry'; 3506 protected $entriesDataType = 'array'; 3507 public $kind; 3508 3509 3510 public function setEntries($entries) 3511 { 3512 $this->entries = $entries; 3513 } 3514 public function getEntries() 3515 { 3516 return $this->entries; 3517 } 3518 public function setKind($kind) 3519 { 3520 $this->kind = $kind; 3521 } 3522 public function getKind() 3523 { 3524 return $this->kind; 3525 } 3526 } 3527 3528 class Google_Service_ShoppingContent_AccountstatusesCustomBatchResponseEntry extends Google_Model 3529 { 3530 protected $internal_gapi_mappings = array( 3531 ); 3532 protected $accountStatusType = 'Google_Service_ShoppingContent_AccountStatus'; 3533 protected $accountStatusDataType = ''; 3534 public $batchId; 3535 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 3536 protected $errorsDataType = ''; 3537 3538 3539 public function setAccountStatus(Google_Service_ShoppingContent_AccountStatus $accountStatus) 3540 { 3541 $this->accountStatus = $accountStatus; 3542 } 3543 public function getAccountStatus() 3544 { 3545 return $this->accountStatus; 3546 } 3547 public function setBatchId($batchId) 3548 { 3549 $this->batchId = $batchId; 3550 } 3551 public function getBatchId() 3552 { 3553 return $this->batchId; 3554 } 3555 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 3556 { 3557 $this->errors = $errors; 3558 } 3559 public function getErrors() 3560 { 3561 return $this->errors; 3562 } 3563 } 3564 3565 class Google_Service_ShoppingContent_AccountstatusesListResponse extends Google_Collection 3566 { 3567 protected $collection_key = 'resources'; 3568 protected $internal_gapi_mappings = array( 3569 ); 3570 public $kind; 3571 public $nextPageToken; 3572 protected $resourcesType = 'Google_Service_ShoppingContent_AccountStatus'; 3573 protected $resourcesDataType = 'array'; 3574 3575 3576 public function setKind($kind) 3577 { 3578 $this->kind = $kind; 3579 } 3580 public function getKind() 3581 { 3582 return $this->kind; 3583 } 3584 public function setNextPageToken($nextPageToken) 3585 { 3586 $this->nextPageToken = $nextPageToken; 3587 } 3588 public function getNextPageToken() 3589 { 3590 return $this->nextPageToken; 3591 } 3592 public function setResources($resources) 3593 { 3594 $this->resources = $resources; 3595 } 3596 public function getResources() 3597 { 3598 return $this->resources; 3599 } 3600 } 3601 3602 class Google_Service_ShoppingContent_AccounttaxCustomBatchRequest extends Google_Collection 3603 { 3604 protected $collection_key = 'entries'; 3605 protected $internal_gapi_mappings = array( 3606 ); 3607 protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry'; 3608 protected $entriesDataType = 'array'; 3609 3610 3611 public function setEntries($entries) 3612 { 3613 $this->entries = $entries; 3614 } 3615 public function getEntries() 3616 { 3617 return $this->entries; 3618 } 3619 } 3620 3621 class Google_Service_ShoppingContent_AccounttaxCustomBatchRequestEntry extends Google_Model 3622 { 3623 protected $internal_gapi_mappings = array( 3624 ); 3625 public $accountId; 3626 protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax'; 3627 protected $accountTaxDataType = ''; 3628 public $batchId; 3629 public $merchantId; 3630 public $method; 3631 3632 3633 public function setAccountId($accountId) 3634 { 3635 $this->accountId = $accountId; 3636 } 3637 public function getAccountId() 3638 { 3639 return $this->accountId; 3640 } 3641 public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax) 3642 { 3643 $this->accountTax = $accountTax; 3644 } 3645 public function getAccountTax() 3646 { 3647 return $this->accountTax; 3648 } 3649 public function setBatchId($batchId) 3650 { 3651 $this->batchId = $batchId; 3652 } 3653 public function getBatchId() 3654 { 3655 return $this->batchId; 3656 } 3657 public function setMerchantId($merchantId) 3658 { 3659 $this->merchantId = $merchantId; 3660 } 3661 public function getMerchantId() 3662 { 3663 return $this->merchantId; 3664 } 3665 public function setMethod($method) 3666 { 3667 $this->method = $method; 3668 } 3669 public function getMethod() 3670 { 3671 return $this->method; 3672 } 3673 } 3674 3675 class Google_Service_ShoppingContent_AccounttaxCustomBatchResponse extends Google_Collection 3676 { 3677 protected $collection_key = 'entries'; 3678 protected $internal_gapi_mappings = array( 3679 ); 3680 protected $entriesType = 'Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry'; 3681 protected $entriesDataType = 'array'; 3682 public $kind; 3683 3684 3685 public function setEntries($entries) 3686 { 3687 $this->entries = $entries; 3688 } 3689 public function getEntries() 3690 { 3691 return $this->entries; 3692 } 3693 public function setKind($kind) 3694 { 3695 $this->kind = $kind; 3696 } 3697 public function getKind() 3698 { 3699 return $this->kind; 3700 } 3701 } 3702 3703 class Google_Service_ShoppingContent_AccounttaxCustomBatchResponseEntry extends Google_Model 3704 { 3705 protected $internal_gapi_mappings = array( 3706 ); 3707 protected $accountTaxType = 'Google_Service_ShoppingContent_AccountTax'; 3708 protected $accountTaxDataType = ''; 3709 public $batchId; 3710 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 3711 protected $errorsDataType = ''; 3712 public $kind; 3713 3714 3715 public function setAccountTax(Google_Service_ShoppingContent_AccountTax $accountTax) 3716 { 3717 $this->accountTax = $accountTax; 3718 } 3719 public function getAccountTax() 3720 { 3721 return $this->accountTax; 3722 } 3723 public function setBatchId($batchId) 3724 { 3725 $this->batchId = $batchId; 3726 } 3727 public function getBatchId() 3728 { 3729 return $this->batchId; 3730 } 3731 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 3732 { 3733 $this->errors = $errors; 3734 } 3735 public function getErrors() 3736 { 3737 return $this->errors; 3738 } 3739 public function setKind($kind) 3740 { 3741 $this->kind = $kind; 3742 } 3743 public function getKind() 3744 { 3745 return $this->kind; 3746 } 3747 } 3748 3749 class Google_Service_ShoppingContent_AccounttaxListResponse extends Google_Collection 3750 { 3751 protected $collection_key = 'resources'; 3752 protected $internal_gapi_mappings = array( 3753 ); 3754 public $kind; 3755 public $nextPageToken; 3756 protected $resourcesType = 'Google_Service_ShoppingContent_AccountTax'; 3757 protected $resourcesDataType = 'array'; 3758 3759 3760 public function setKind($kind) 3761 { 3762 $this->kind = $kind; 3763 } 3764 public function getKind() 3765 { 3766 return $this->kind; 3767 } 3768 public function setNextPageToken($nextPageToken) 3769 { 3770 $this->nextPageToken = $nextPageToken; 3771 } 3772 public function getNextPageToken() 3773 { 3774 return $this->nextPageToken; 3775 } 3776 public function setResources($resources) 3777 { 3778 $this->resources = $resources; 3779 } 3780 public function getResources() 3781 { 3782 return $this->resources; 3783 } 3784 } 3785 3786 class Google_Service_ShoppingContent_Datafeed extends Google_Collection 3787 { 3788 protected $collection_key = 'intendedDestinations'; 3789 protected $internal_gapi_mappings = array( 3790 ); 3791 public $attributeLanguage; 3792 public $contentLanguage; 3793 public $contentType; 3794 protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule'; 3795 protected $fetchScheduleDataType = ''; 3796 public $fileName; 3797 protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat'; 3798 protected $formatDataType = ''; 3799 public $id; 3800 public $intendedDestinations; 3801 public $kind; 3802 public $name; 3803 public $targetCountry; 3804 3805 3806 public function setAttributeLanguage($attributeLanguage) 3807 { 3808 $this->attributeLanguage = $attributeLanguage; 3809 } 3810 public function getAttributeLanguage() 3811 { 3812 return $this->attributeLanguage; 3813 } 3814 public function setContentLanguage($contentLanguage) 3815 { 3816 $this->contentLanguage = $contentLanguage; 3817 } 3818 public function getContentLanguage() 3819 { 3820 return $this->contentLanguage; 3821 } 3822 public function setContentType($contentType) 3823 { 3824 $this->contentType = $contentType; 3825 } 3826 public function getContentType() 3827 { 3828 return $this->contentType; 3829 } 3830 public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule) 3831 { 3832 $this->fetchSchedule = $fetchSchedule; 3833 } 3834 public function getFetchSchedule() 3835 { 3836 return $this->fetchSchedule; 3837 } 3838 public function setFileName($fileName) 3839 { 3840 $this->fileName = $fileName; 3841 } 3842 public function getFileName() 3843 { 3844 return $this->fileName; 3845 } 3846 public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format) 3847 { 3848 $this->format = $format; 3849 } 3850 public function getFormat() 3851 { 3852 return $this->format; 3853 } 3854 public function setId($id) 3855 { 3856 $this->id = $id; 3857 } 3858 public function getId() 3859 { 3860 return $this->id; 3861 } 3862 public function setIntendedDestinations($intendedDestinations) 3863 { 3864 $this->intendedDestinations = $intendedDestinations; 3865 } 3866 public function getIntendedDestinations() 3867 { 3868 return $this->intendedDestinations; 3869 } 3870 public function setKind($kind) 3871 { 3872 $this->kind = $kind; 3873 } 3874 public function getKind() 3875 { 3876 return $this->kind; 3877 } 3878 public function setName($name) 3879 { 3880 $this->name = $name; 3881 } 3882 public function getName() 3883 { 3884 return $this->name; 3885 } 3886 public function setTargetCountry($targetCountry) 3887 { 3888 $this->targetCountry = $targetCountry; 3889 } 3890 public function getTargetCountry() 3891 { 3892 return $this->targetCountry; 3893 } 3894 } 3895 3896 class Google_Service_ShoppingContent_DatafeedFetchSchedule extends Google_Model 3897 { 3898 protected $internal_gapi_mappings = array( 3899 ); 3900 public $dayOfMonth; 3901 public $fetchUrl; 3902 public $hour; 3903 public $password; 3904 public $timeZone; 3905 public $username; 3906 public $weekday; 3907 3908 3909 public function setDayOfMonth($dayOfMonth) 3910 { 3911 $this->dayOfMonth = $dayOfMonth; 3912 } 3913 public function getDayOfMonth() 3914 { 3915 return $this->dayOfMonth; 3916 } 3917 public function setFetchUrl($fetchUrl) 3918 { 3919 $this->fetchUrl = $fetchUrl; 3920 } 3921 public function getFetchUrl() 3922 { 3923 return $this->fetchUrl; 3924 } 3925 public function setHour($hour) 3926 { 3927 $this->hour = $hour; 3928 } 3929 public function getHour() 3930 { 3931 return $this->hour; 3932 } 3933 public function setPassword($password) 3934 { 3935 $this->password = $password; 3936 } 3937 public function getPassword() 3938 { 3939 return $this->password; 3940 } 3941 public function setTimeZone($timeZone) 3942 { 3943 $this->timeZone = $timeZone; 3944 } 3945 public function getTimeZone() 3946 { 3947 return $this->timeZone; 3948 } 3949 public function setUsername($username) 3950 { 3951 $this->username = $username; 3952 } 3953 public function getUsername() 3954 { 3955 return $this->username; 3956 } 3957 public function setWeekday($weekday) 3958 { 3959 $this->weekday = $weekday; 3960 } 3961 public function getWeekday() 3962 { 3963 return $this->weekday; 3964 } 3965 } 3966 3967 class Google_Service_ShoppingContent_DatafeedFormat extends Google_Model 3968 { 3969 protected $internal_gapi_mappings = array( 3970 ); 3971 public $columnDelimiter; 3972 public $fileEncoding; 3973 public $quotingMode; 3974 3975 3976 public function setColumnDelimiter($columnDelimiter) 3977 { 3978 $this->columnDelimiter = $columnDelimiter; 3979 } 3980 public function getColumnDelimiter() 3981 { 3982 return $this->columnDelimiter; 3983 } 3984 public function setFileEncoding($fileEncoding) 3985 { 3986 $this->fileEncoding = $fileEncoding; 3987 } 3988 public function getFileEncoding() 3989 { 3990 return $this->fileEncoding; 3991 } 3992 public function setQuotingMode($quotingMode) 3993 { 3994 $this->quotingMode = $quotingMode; 3995 } 3996 public function getQuotingMode() 3997 { 3998 return $this->quotingMode; 3999 } 4000 } 4001 4002 class Google_Service_ShoppingContent_DatafeedStatus extends Google_Collection 4003 { 4004 protected $collection_key = 'warnings'; 4005 protected $internal_gapi_mappings = array( 4006 ); 4007 public $datafeedId; 4008 protected $errorsType = 'Google_Service_ShoppingContent_DatafeedStatusError'; 4009 protected $errorsDataType = 'array'; 4010 public $itemsTotal; 4011 public $itemsValid; 4012 public $kind; 4013 public $lastUploadDate; 4014 public $processingStatus; 4015 protected $warningsType = 'Google_Service_ShoppingContent_DatafeedStatusError'; 4016 protected $warningsDataType = 'array'; 4017 4018 4019 public function setDatafeedId($datafeedId) 4020 { 4021 $this->datafeedId = $datafeedId; 4022 } 4023 public function getDatafeedId() 4024 { 4025 return $this->datafeedId; 4026 } 4027 public function setErrors($errors) 4028 { 4029 $this->errors = $errors; 4030 } 4031 public function getErrors() 4032 { 4033 return $this->errors; 4034 } 4035 public function setItemsTotal($itemsTotal) 4036 { 4037 $this->itemsTotal = $itemsTotal; 4038 } 4039 public function getItemsTotal() 4040 { 4041 return $this->itemsTotal; 4042 } 4043 public function setItemsValid($itemsValid) 4044 { 4045 $this->itemsValid = $itemsValid; 4046 } 4047 public function getItemsValid() 4048 { 4049 return $this->itemsValid; 4050 } 4051 public function setKind($kind) 4052 { 4053 $this->kind = $kind; 4054 } 4055 public function getKind() 4056 { 4057 return $this->kind; 4058 } 4059 public function setLastUploadDate($lastUploadDate) 4060 { 4061 $this->lastUploadDate = $lastUploadDate; 4062 } 4063 public function getLastUploadDate() 4064 { 4065 return $this->lastUploadDate; 4066 } 4067 public function setProcessingStatus($processingStatus) 4068 { 4069 $this->processingStatus = $processingStatus; 4070 } 4071 public function getProcessingStatus() 4072 { 4073 return $this->processingStatus; 4074 } 4075 public function setWarnings($warnings) 4076 { 4077 $this->warnings = $warnings; 4078 } 4079 public function getWarnings() 4080 { 4081 return $this->warnings; 4082 } 4083 } 4084 4085 class Google_Service_ShoppingContent_DatafeedStatusError extends Google_Collection 4086 { 4087 protected $collection_key = 'examples'; 4088 protected $internal_gapi_mappings = array( 4089 ); 4090 public $code; 4091 public $count; 4092 protected $examplesType = 'Google_Service_ShoppingContent_DatafeedStatusExample'; 4093 protected $examplesDataType = 'array'; 4094 public $message; 4095 4096 4097 public function setCode($code) 4098 { 4099 $this->code = $code; 4100 } 4101 public function getCode() 4102 { 4103 return $this->code; 4104 } 4105 public function setCount($count) 4106 { 4107 $this->count = $count; 4108 } 4109 public function getCount() 4110 { 4111 return $this->count; 4112 } 4113 public function setExamples($examples) 4114 { 4115 $this->examples = $examples; 4116 } 4117 public function getExamples() 4118 { 4119 return $this->examples; 4120 } 4121 public function setMessage($message) 4122 { 4123 $this->message = $message; 4124 } 4125 public function getMessage() 4126 { 4127 return $this->message; 4128 } 4129 } 4130 4131 class Google_Service_ShoppingContent_DatafeedStatusExample extends Google_Model 4132 { 4133 protected $internal_gapi_mappings = array( 4134 ); 4135 public $itemId; 4136 public $lineNumber; 4137 public $value; 4138 4139 4140 public function setItemId($itemId) 4141 { 4142 $this->itemId = $itemId; 4143 } 4144 public function getItemId() 4145 { 4146 return $this->itemId; 4147 } 4148 public function setLineNumber($lineNumber) 4149 { 4150 $this->lineNumber = $lineNumber; 4151 } 4152 public function getLineNumber() 4153 { 4154 return $this->lineNumber; 4155 } 4156 public function setValue($value) 4157 { 4158 $this->value = $value; 4159 } 4160 public function getValue() 4161 { 4162 return $this->value; 4163 } 4164 } 4165 4166 class Google_Service_ShoppingContent_DatafeedsCustomBatchRequest extends Google_Collection 4167 { 4168 protected $collection_key = 'entries'; 4169 protected $internal_gapi_mappings = array( 4170 ); 4171 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry'; 4172 protected $entriesDataType = 'array'; 4173 4174 4175 public function setEntries($entries) 4176 { 4177 $this->entries = $entries; 4178 } 4179 public function getEntries() 4180 { 4181 return $this->entries; 4182 } 4183 } 4184 4185 class Google_Service_ShoppingContent_DatafeedsCustomBatchRequestEntry extends Google_Model 4186 { 4187 protected $internal_gapi_mappings = array( 4188 ); 4189 public $batchId; 4190 protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed'; 4191 protected $datafeedDataType = ''; 4192 public $datafeedId; 4193 public $merchantId; 4194 public $method; 4195 4196 4197 public function setBatchId($batchId) 4198 { 4199 $this->batchId = $batchId; 4200 } 4201 public function getBatchId() 4202 { 4203 return $this->batchId; 4204 } 4205 public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) 4206 { 4207 $this->datafeed = $datafeed; 4208 } 4209 public function getDatafeed() 4210 { 4211 return $this->datafeed; 4212 } 4213 public function setDatafeedId($datafeedId) 4214 { 4215 $this->datafeedId = $datafeedId; 4216 } 4217 public function getDatafeedId() 4218 { 4219 return $this->datafeedId; 4220 } 4221 public function setMerchantId($merchantId) 4222 { 4223 $this->merchantId = $merchantId; 4224 } 4225 public function getMerchantId() 4226 { 4227 return $this->merchantId; 4228 } 4229 public function setMethod($method) 4230 { 4231 $this->method = $method; 4232 } 4233 public function getMethod() 4234 { 4235 return $this->method; 4236 } 4237 } 4238 4239 class Google_Service_ShoppingContent_DatafeedsCustomBatchResponse extends Google_Collection 4240 { 4241 protected $collection_key = 'entries'; 4242 protected $internal_gapi_mappings = array( 4243 ); 4244 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry'; 4245 protected $entriesDataType = 'array'; 4246 public $kind; 4247 4248 4249 public function setEntries($entries) 4250 { 4251 $this->entries = $entries; 4252 } 4253 public function getEntries() 4254 { 4255 return $this->entries; 4256 } 4257 public function setKind($kind) 4258 { 4259 $this->kind = $kind; 4260 } 4261 public function getKind() 4262 { 4263 return $this->kind; 4264 } 4265 } 4266 4267 class Google_Service_ShoppingContent_DatafeedsCustomBatchResponseEntry extends Google_Model 4268 { 4269 protected $internal_gapi_mappings = array( 4270 ); 4271 public $batchId; 4272 protected $datafeedType = 'Google_Service_ShoppingContent_Datafeed'; 4273 protected $datafeedDataType = ''; 4274 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 4275 protected $errorsDataType = ''; 4276 4277 4278 public function setBatchId($batchId) 4279 { 4280 $this->batchId = $batchId; 4281 } 4282 public function getBatchId() 4283 { 4284 return $this->batchId; 4285 } 4286 public function setDatafeed(Google_Service_ShoppingContent_Datafeed $datafeed) 4287 { 4288 $this->datafeed = $datafeed; 4289 } 4290 public function getDatafeed() 4291 { 4292 return $this->datafeed; 4293 } 4294 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 4295 { 4296 $this->errors = $errors; 4297 } 4298 public function getErrors() 4299 { 4300 return $this->errors; 4301 } 4302 } 4303 4304 class Google_Service_ShoppingContent_DatafeedsListResponse extends Google_Collection 4305 { 4306 protected $collection_key = 'resources'; 4307 protected $internal_gapi_mappings = array( 4308 ); 4309 public $kind; 4310 public $nextPageToken; 4311 protected $resourcesType = 'Google_Service_ShoppingContent_Datafeed'; 4312 protected $resourcesDataType = 'array'; 4313 4314 4315 public function setKind($kind) 4316 { 4317 $this->kind = $kind; 4318 } 4319 public function getKind() 4320 { 4321 return $this->kind; 4322 } 4323 public function setNextPageToken($nextPageToken) 4324 { 4325 $this->nextPageToken = $nextPageToken; 4326 } 4327 public function getNextPageToken() 4328 { 4329 return $this->nextPageToken; 4330 } 4331 public function setResources($resources) 4332 { 4333 $this->resources = $resources; 4334 } 4335 public function getResources() 4336 { 4337 return $this->resources; 4338 } 4339 } 4340 4341 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest extends Google_Collection 4342 { 4343 protected $collection_key = 'entries'; 4344 protected $internal_gapi_mappings = array( 4345 ); 4346 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry'; 4347 protected $entriesDataType = 'array'; 4348 4349 4350 public function setEntries($entries) 4351 { 4352 $this->entries = $entries; 4353 } 4354 public function getEntries() 4355 { 4356 return $this->entries; 4357 } 4358 } 4359 4360 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequestEntry extends Google_Model 4361 { 4362 protected $internal_gapi_mappings = array( 4363 ); 4364 public $batchId; 4365 public $datafeedId; 4366 public $merchantId; 4367 public $method; 4368 4369 4370 public function setBatchId($batchId) 4371 { 4372 $this->batchId = $batchId; 4373 } 4374 public function getBatchId() 4375 { 4376 return $this->batchId; 4377 } 4378 public function setDatafeedId($datafeedId) 4379 { 4380 $this->datafeedId = $datafeedId; 4381 } 4382 public function getDatafeedId() 4383 { 4384 return $this->datafeedId; 4385 } 4386 public function setMerchantId($merchantId) 4387 { 4388 $this->merchantId = $merchantId; 4389 } 4390 public function getMerchantId() 4391 { 4392 return $this->merchantId; 4393 } 4394 public function setMethod($method) 4395 { 4396 $this->method = $method; 4397 } 4398 public function getMethod() 4399 { 4400 return $this->method; 4401 } 4402 } 4403 4404 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse extends Google_Collection 4405 { 4406 protected $collection_key = 'entries'; 4407 protected $internal_gapi_mappings = array( 4408 ); 4409 protected $entriesType = 'Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry'; 4410 protected $entriesDataType = 'array'; 4411 public $kind; 4412 4413 4414 public function setEntries($entries) 4415 { 4416 $this->entries = $entries; 4417 } 4418 public function getEntries() 4419 { 4420 return $this->entries; 4421 } 4422 public function setKind($kind) 4423 { 4424 $this->kind = $kind; 4425 } 4426 public function getKind() 4427 { 4428 return $this->kind; 4429 } 4430 } 4431 4432 class Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponseEntry extends Google_Model 4433 { 4434 protected $internal_gapi_mappings = array( 4435 ); 4436 public $batchId; 4437 protected $datafeedStatusType = 'Google_Service_ShoppingContent_DatafeedStatus'; 4438 protected $datafeedStatusDataType = ''; 4439 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 4440 protected $errorsDataType = ''; 4441 4442 4443 public function setBatchId($batchId) 4444 { 4445 $this->batchId = $batchId; 4446 } 4447 public function getBatchId() 4448 { 4449 return $this->batchId; 4450 } 4451 public function setDatafeedStatus(Google_Service_ShoppingContent_DatafeedStatus $datafeedStatus) 4452 { 4453 $this->datafeedStatus = $datafeedStatus; 4454 } 4455 public function getDatafeedStatus() 4456 { 4457 return $this->datafeedStatus; 4458 } 4459 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 4460 { 4461 $this->errors = $errors; 4462 } 4463 public function getErrors() 4464 { 4465 return $this->errors; 4466 } 4467 } 4468 4469 class Google_Service_ShoppingContent_DatafeedstatusesListResponse extends Google_Collection 4470 { 4471 protected $collection_key = 'resources'; 4472 protected $internal_gapi_mappings = array( 4473 ); 4474 public $kind; 4475 public $nextPageToken; 4476 protected $resourcesType = 'Google_Service_ShoppingContent_DatafeedStatus'; 4477 protected $resourcesDataType = 'array'; 4478 4479 4480 public function setKind($kind) 4481 { 4482 $this->kind = $kind; 4483 } 4484 public function getKind() 4485 { 4486 return $this->kind; 4487 } 4488 public function setNextPageToken($nextPageToken) 4489 { 4490 $this->nextPageToken = $nextPageToken; 4491 } 4492 public function getNextPageToken() 4493 { 4494 return $this->nextPageToken; 4495 } 4496 public function setResources($resources) 4497 { 4498 $this->resources = $resources; 4499 } 4500 public function getResources() 4501 { 4502 return $this->resources; 4503 } 4504 } 4505 4506 class Google_Service_ShoppingContent_Error extends Google_Model 4507 { 4508 protected $internal_gapi_mappings = array( 4509 ); 4510 public $domain; 4511 public $message; 4512 public $reason; 4513 4514 4515 public function setDomain($domain) 4516 { 4517 $this->domain = $domain; 4518 } 4519 public function getDomain() 4520 { 4521 return $this->domain; 4522 } 4523 public function setMessage($message) 4524 { 4525 $this->message = $message; 4526 } 4527 public function getMessage() 4528 { 4529 return $this->message; 4530 } 4531 public function setReason($reason) 4532 { 4533 $this->reason = $reason; 4534 } 4535 public function getReason() 4536 { 4537 return $this->reason; 4538 } 4539 } 4540 4541 class Google_Service_ShoppingContent_Errors extends Google_Collection 4542 { 4543 protected $collection_key = 'errors'; 4544 protected $internal_gapi_mappings = array( 4545 ); 4546 public $code; 4547 protected $errorsType = 'Google_Service_ShoppingContent_Error'; 4548 protected $errorsDataType = 'array'; 4549 public $message; 4550 4551 4552 public function setCode($code) 4553 { 4554 $this->code = $code; 4555 } 4556 public function getCode() 4557 { 4558 return $this->code; 4559 } 4560 public function setErrors($errors) 4561 { 4562 $this->errors = $errors; 4563 } 4564 public function getErrors() 4565 { 4566 return $this->errors; 4567 } 4568 public function setMessage($message) 4569 { 4570 $this->message = $message; 4571 } 4572 public function getMessage() 4573 { 4574 return $this->message; 4575 } 4576 } 4577 4578 class Google_Service_ShoppingContent_Inventory extends Google_Model 4579 { 4580 protected $internal_gapi_mappings = array( 4581 ); 4582 public $availability; 4583 public $kind; 4584 protected $priceType = 'Google_Service_ShoppingContent_Price'; 4585 protected $priceDataType = ''; 4586 public $quantity; 4587 protected $salePriceType = 'Google_Service_ShoppingContent_Price'; 4588 protected $salePriceDataType = ''; 4589 public $salePriceEffectiveDate; 4590 public $sellOnGoogleQuantity; 4591 4592 4593 public function setAvailability($availability) 4594 { 4595 $this->availability = $availability; 4596 } 4597 public function getAvailability() 4598 { 4599 return $this->availability; 4600 } 4601 public function setKind($kind) 4602 { 4603 $this->kind = $kind; 4604 } 4605 public function getKind() 4606 { 4607 return $this->kind; 4608 } 4609 public function setPrice(Google_Service_ShoppingContent_Price $price) 4610 { 4611 $this->price = $price; 4612 } 4613 public function getPrice() 4614 { 4615 return $this->price; 4616 } 4617 public function setQuantity($quantity) 4618 { 4619 $this->quantity = $quantity; 4620 } 4621 public function getQuantity() 4622 { 4623 return $this->quantity; 4624 } 4625 public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) 4626 { 4627 $this->salePrice = $salePrice; 4628 } 4629 public function getSalePrice() 4630 { 4631 return $this->salePrice; 4632 } 4633 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 4634 { 4635 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 4636 } 4637 public function getSalePriceEffectiveDate() 4638 { 4639 return $this->salePriceEffectiveDate; 4640 } 4641 public function setSellOnGoogleQuantity($sellOnGoogleQuantity) 4642 { 4643 $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; 4644 } 4645 public function getSellOnGoogleQuantity() 4646 { 4647 return $this->sellOnGoogleQuantity; 4648 } 4649 } 4650 4651 class Google_Service_ShoppingContent_InventoryCustomBatchRequest extends Google_Collection 4652 { 4653 protected $collection_key = 'entries'; 4654 protected $internal_gapi_mappings = array( 4655 ); 4656 protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry'; 4657 protected $entriesDataType = 'array'; 4658 4659 4660 public function setEntries($entries) 4661 { 4662 $this->entries = $entries; 4663 } 4664 public function getEntries() 4665 { 4666 return $this->entries; 4667 } 4668 } 4669 4670 class Google_Service_ShoppingContent_InventoryCustomBatchRequestEntry extends Google_Model 4671 { 4672 protected $internal_gapi_mappings = array( 4673 ); 4674 public $batchId; 4675 protected $inventoryType = 'Google_Service_ShoppingContent_Inventory'; 4676 protected $inventoryDataType = ''; 4677 public $merchantId; 4678 public $productId; 4679 public $storeCode; 4680 4681 4682 public function setBatchId($batchId) 4683 { 4684 $this->batchId = $batchId; 4685 } 4686 public function getBatchId() 4687 { 4688 return $this->batchId; 4689 } 4690 public function setInventory(Google_Service_ShoppingContent_Inventory $inventory) 4691 { 4692 $this->inventory = $inventory; 4693 } 4694 public function getInventory() 4695 { 4696 return $this->inventory; 4697 } 4698 public function setMerchantId($merchantId) 4699 { 4700 $this->merchantId = $merchantId; 4701 } 4702 public function getMerchantId() 4703 { 4704 return $this->merchantId; 4705 } 4706 public function setProductId($productId) 4707 { 4708 $this->productId = $productId; 4709 } 4710 public function getProductId() 4711 { 4712 return $this->productId; 4713 } 4714 public function setStoreCode($storeCode) 4715 { 4716 $this->storeCode = $storeCode; 4717 } 4718 public function getStoreCode() 4719 { 4720 return $this->storeCode; 4721 } 4722 } 4723 4724 class Google_Service_ShoppingContent_InventoryCustomBatchResponse extends Google_Collection 4725 { 4726 protected $collection_key = 'entries'; 4727 protected $internal_gapi_mappings = array( 4728 ); 4729 protected $entriesType = 'Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry'; 4730 protected $entriesDataType = 'array'; 4731 public $kind; 4732 4733 4734 public function setEntries($entries) 4735 { 4736 $this->entries = $entries; 4737 } 4738 public function getEntries() 4739 { 4740 return $this->entries; 4741 } 4742 public function setKind($kind) 4743 { 4744 $this->kind = $kind; 4745 } 4746 public function getKind() 4747 { 4748 return $this->kind; 4749 } 4750 } 4751 4752 class Google_Service_ShoppingContent_InventoryCustomBatchResponseEntry extends Google_Model 4753 { 4754 protected $internal_gapi_mappings = array( 4755 ); 4756 public $batchId; 4757 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 4758 protected $errorsDataType = ''; 4759 public $kind; 4760 4761 4762 public function setBatchId($batchId) 4763 { 4764 $this->batchId = $batchId; 4765 } 4766 public function getBatchId() 4767 { 4768 return $this->batchId; 4769 } 4770 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 4771 { 4772 $this->errors = $errors; 4773 } 4774 public function getErrors() 4775 { 4776 return $this->errors; 4777 } 4778 public function setKind($kind) 4779 { 4780 $this->kind = $kind; 4781 } 4782 public function getKind() 4783 { 4784 return $this->kind; 4785 } 4786 } 4787 4788 class Google_Service_ShoppingContent_InventorySetRequest extends Google_Model 4789 { 4790 protected $internal_gapi_mappings = array( 4791 ); 4792 public $availability; 4793 protected $priceType = 'Google_Service_ShoppingContent_Price'; 4794 protected $priceDataType = ''; 4795 public $quantity; 4796 protected $salePriceType = 'Google_Service_ShoppingContent_Price'; 4797 protected $salePriceDataType = ''; 4798 public $salePriceEffectiveDate; 4799 public $sellOnGoogleQuantity; 4800 4801 4802 public function setAvailability($availability) 4803 { 4804 $this->availability = $availability; 4805 } 4806 public function getAvailability() 4807 { 4808 return $this->availability; 4809 } 4810 public function setPrice(Google_Service_ShoppingContent_Price $price) 4811 { 4812 $this->price = $price; 4813 } 4814 public function getPrice() 4815 { 4816 return $this->price; 4817 } 4818 public function setQuantity($quantity) 4819 { 4820 $this->quantity = $quantity; 4821 } 4822 public function getQuantity() 4823 { 4824 return $this->quantity; 4825 } 4826 public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) 4827 { 4828 $this->salePrice = $salePrice; 4829 } 4830 public function getSalePrice() 4831 { 4832 return $this->salePrice; 4833 } 4834 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 4835 { 4836 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 4837 } 4838 public function getSalePriceEffectiveDate() 4839 { 4840 return $this->salePriceEffectiveDate; 4841 } 4842 public function setSellOnGoogleQuantity($sellOnGoogleQuantity) 4843 { 4844 $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; 4845 } 4846 public function getSellOnGoogleQuantity() 4847 { 4848 return $this->sellOnGoogleQuantity; 4849 } 4850 } 4851 4852 class Google_Service_ShoppingContent_InventorySetResponse extends Google_Model 4853 { 4854 protected $internal_gapi_mappings = array( 4855 ); 4856 public $kind; 4857 4858 4859 public function setKind($kind) 4860 { 4861 $this->kind = $kind; 4862 } 4863 public function getKind() 4864 { 4865 return $this->kind; 4866 } 4867 } 4868 4869 class Google_Service_ShoppingContent_LoyaltyPoints extends Google_Model 4870 { 4871 protected $internal_gapi_mappings = array( 4872 ); 4873 public $name; 4874 public $pointsValue; 4875 public $ratio; 4876 4877 4878 public function setName($name) 4879 { 4880 $this->name = $name; 4881 } 4882 public function getName() 4883 { 4884 return $this->name; 4885 } 4886 public function setPointsValue($pointsValue) 4887 { 4888 $this->pointsValue = $pointsValue; 4889 } 4890 public function getPointsValue() 4891 { 4892 return $this->pointsValue; 4893 } 4894 public function setRatio($ratio) 4895 { 4896 $this->ratio = $ratio; 4897 } 4898 public function getRatio() 4899 { 4900 return $this->ratio; 4901 } 4902 } 4903 4904 class Google_Service_ShoppingContent_Order extends Google_Collection 4905 { 4906 protected $collection_key = 'shipments'; 4907 protected $internal_gapi_mappings = array( 4908 ); 4909 public $acknowledged; 4910 protected $customerType = 'Google_Service_ShoppingContent_OrderCustomer'; 4911 protected $customerDataType = ''; 4912 protected $deliveryDetailsType = 'Google_Service_ShoppingContent_OrderDeliveryDetails'; 4913 protected $deliveryDetailsDataType = ''; 4914 public $id; 4915 public $kind; 4916 protected $lineItemsType = 'Google_Service_ShoppingContent_OrderLineItem'; 4917 protected $lineItemsDataType = 'array'; 4918 public $merchantId; 4919 public $merchantOrderId; 4920 protected $netAmountType = 'Google_Service_ShoppingContent_Price'; 4921 protected $netAmountDataType = ''; 4922 protected $paymentMethodType = 'Google_Service_ShoppingContent_OrderPaymentMethod'; 4923 protected $paymentMethodDataType = ''; 4924 public $paymentStatus; 4925 public $placedDate; 4926 protected $refundsType = 'Google_Service_ShoppingContent_OrderRefund'; 4927 protected $refundsDataType = 'array'; 4928 protected $shipmentsType = 'Google_Service_ShoppingContent_OrderShipment'; 4929 protected $shipmentsDataType = 'array'; 4930 protected $shippingCostType = 'Google_Service_ShoppingContent_Price'; 4931 protected $shippingCostDataType = ''; 4932 protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price'; 4933 protected $shippingCostTaxDataType = ''; 4934 public $shippingOption; 4935 public $status; 4936 4937 4938 public function setAcknowledged($acknowledged) 4939 { 4940 $this->acknowledged = $acknowledged; 4941 } 4942 public function getAcknowledged() 4943 { 4944 return $this->acknowledged; 4945 } 4946 public function setCustomer(Google_Service_ShoppingContent_OrderCustomer $customer) 4947 { 4948 $this->customer = $customer; 4949 } 4950 public function getCustomer() 4951 { 4952 return $this->customer; 4953 } 4954 public function setDeliveryDetails(Google_Service_ShoppingContent_OrderDeliveryDetails $deliveryDetails) 4955 { 4956 $this->deliveryDetails = $deliveryDetails; 4957 } 4958 public function getDeliveryDetails() 4959 { 4960 return $this->deliveryDetails; 4961 } 4962 public function setId($id) 4963 { 4964 $this->id = $id; 4965 } 4966 public function getId() 4967 { 4968 return $this->id; 4969 } 4970 public function setKind($kind) 4971 { 4972 $this->kind = $kind; 4973 } 4974 public function getKind() 4975 { 4976 return $this->kind; 4977 } 4978 public function setLineItems($lineItems) 4979 { 4980 $this->lineItems = $lineItems; 4981 } 4982 public function getLineItems() 4983 { 4984 return $this->lineItems; 4985 } 4986 public function setMerchantId($merchantId) 4987 { 4988 $this->merchantId = $merchantId; 4989 } 4990 public function getMerchantId() 4991 { 4992 return $this->merchantId; 4993 } 4994 public function setMerchantOrderId($merchantOrderId) 4995 { 4996 $this->merchantOrderId = $merchantOrderId; 4997 } 4998 public function getMerchantOrderId() 4999 { 5000 return $this->merchantOrderId; 5001 } 5002 public function setNetAmount(Google_Service_ShoppingContent_Price $netAmount) 5003 { 5004 $this->netAmount = $netAmount; 5005 } 5006 public function getNetAmount() 5007 { 5008 return $this->netAmount; 5009 } 5010 public function setPaymentMethod(Google_Service_ShoppingContent_OrderPaymentMethod $paymentMethod) 5011 { 5012 $this->paymentMethod = $paymentMethod; 5013 } 5014 public function getPaymentMethod() 5015 { 5016 return $this->paymentMethod; 5017 } 5018 public function setPaymentStatus($paymentStatus) 5019 { 5020 $this->paymentStatus = $paymentStatus; 5021 } 5022 public function getPaymentStatus() 5023 { 5024 return $this->paymentStatus; 5025 } 5026 public function setPlacedDate($placedDate) 5027 { 5028 $this->placedDate = $placedDate; 5029 } 5030 public function getPlacedDate() 5031 { 5032 return $this->placedDate; 5033 } 5034 public function setRefunds($refunds) 5035 { 5036 $this->refunds = $refunds; 5037 } 5038 public function getRefunds() 5039 { 5040 return $this->refunds; 5041 } 5042 public function setShipments($shipments) 5043 { 5044 $this->shipments = $shipments; 5045 } 5046 public function getShipments() 5047 { 5048 return $this->shipments; 5049 } 5050 public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost) 5051 { 5052 $this->shippingCost = $shippingCost; 5053 } 5054 public function getShippingCost() 5055 { 5056 return $this->shippingCost; 5057 } 5058 public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax) 5059 { 5060 $this->shippingCostTax = $shippingCostTax; 5061 } 5062 public function getShippingCostTax() 5063 { 5064 return $this->shippingCostTax; 5065 } 5066 public function setShippingOption($shippingOption) 5067 { 5068 $this->shippingOption = $shippingOption; 5069 } 5070 public function getShippingOption() 5071 { 5072 return $this->shippingOption; 5073 } 5074 public function setStatus($status) 5075 { 5076 $this->status = $status; 5077 } 5078 public function getStatus() 5079 { 5080 return $this->status; 5081 } 5082 } 5083 5084 class Google_Service_ShoppingContent_OrderAddress extends Google_Collection 5085 { 5086 protected $collection_key = 'streetAddress'; 5087 protected $internal_gapi_mappings = array( 5088 ); 5089 public $country; 5090 public $fullAddress; 5091 public $isPostOfficeBox; 5092 public $locality; 5093 public $postalCode; 5094 public $recipientName; 5095 public $region; 5096 public $streetAddress; 5097 5098 5099 public function setCountry($country) 5100 { 5101 $this->country = $country; 5102 } 5103 public function getCountry() 5104 { 5105 return $this->country; 5106 } 5107 public function setFullAddress($fullAddress) 5108 { 5109 $this->fullAddress = $fullAddress; 5110 } 5111 public function getFullAddress() 5112 { 5113 return $this->fullAddress; 5114 } 5115 public function setIsPostOfficeBox($isPostOfficeBox) 5116 { 5117 $this->isPostOfficeBox = $isPostOfficeBox; 5118 } 5119 public function getIsPostOfficeBox() 5120 { 5121 return $this->isPostOfficeBox; 5122 } 5123 public function setLocality($locality) 5124 { 5125 $this->locality = $locality; 5126 } 5127 public function getLocality() 5128 { 5129 return $this->locality; 5130 } 5131 public function setPostalCode($postalCode) 5132 { 5133 $this->postalCode = $postalCode; 5134 } 5135 public function getPostalCode() 5136 { 5137 return $this->postalCode; 5138 } 5139 public function setRecipientName($recipientName) 5140 { 5141 $this->recipientName = $recipientName; 5142 } 5143 public function getRecipientName() 5144 { 5145 return $this->recipientName; 5146 } 5147 public function setRegion($region) 5148 { 5149 $this->region = $region; 5150 } 5151 public function getRegion() 5152 { 5153 return $this->region; 5154 } 5155 public function setStreetAddress($streetAddress) 5156 { 5157 $this->streetAddress = $streetAddress; 5158 } 5159 public function getStreetAddress() 5160 { 5161 return $this->streetAddress; 5162 } 5163 } 5164 5165 class Google_Service_ShoppingContent_OrderCancellation extends Google_Model 5166 { 5167 protected $internal_gapi_mappings = array( 5168 ); 5169 public $actor; 5170 public $creationDate; 5171 public $quantity; 5172 public $reason; 5173 public $reasonText; 5174 5175 5176 public function setActor($actor) 5177 { 5178 $this->actor = $actor; 5179 } 5180 public function getActor() 5181 { 5182 return $this->actor; 5183 } 5184 public function setCreationDate($creationDate) 5185 { 5186 $this->creationDate = $creationDate; 5187 } 5188 public function getCreationDate() 5189 { 5190 return $this->creationDate; 5191 } 5192 public function setQuantity($quantity) 5193 { 5194 $this->quantity = $quantity; 5195 } 5196 public function getQuantity() 5197 { 5198 return $this->quantity; 5199 } 5200 public function setReason($reason) 5201 { 5202 $this->reason = $reason; 5203 } 5204 public function getReason() 5205 { 5206 return $this->reason; 5207 } 5208 public function setReasonText($reasonText) 5209 { 5210 $this->reasonText = $reasonText; 5211 } 5212 public function getReasonText() 5213 { 5214 return $this->reasonText; 5215 } 5216 } 5217 5218 class Google_Service_ShoppingContent_OrderCustomer extends Google_Model 5219 { 5220 protected $internal_gapi_mappings = array( 5221 ); 5222 public $email; 5223 public $explicitMarketingPreference; 5224 public $fullName; 5225 5226 5227 public function setEmail($email) 5228 { 5229 $this->email = $email; 5230 } 5231 public function getEmail() 5232 { 5233 return $this->email; 5234 } 5235 public function setExplicitMarketingPreference($explicitMarketingPreference) 5236 { 5237 $this->explicitMarketingPreference = $explicitMarketingPreference; 5238 } 5239 public function getExplicitMarketingPreference() 5240 { 5241 return $this->explicitMarketingPreference; 5242 } 5243 public function setFullName($fullName) 5244 { 5245 $this->fullName = $fullName; 5246 } 5247 public function getFullName() 5248 { 5249 return $this->fullName; 5250 } 5251 } 5252 5253 class Google_Service_ShoppingContent_OrderDeliveryDetails extends Google_Model 5254 { 5255 protected $internal_gapi_mappings = array( 5256 ); 5257 protected $addressType = 'Google_Service_ShoppingContent_OrderAddress'; 5258 protected $addressDataType = ''; 5259 public $phoneNumber; 5260 5261 5262 public function setAddress(Google_Service_ShoppingContent_OrderAddress $address) 5263 { 5264 $this->address = $address; 5265 } 5266 public function getAddress() 5267 { 5268 return $this->address; 5269 } 5270 public function setPhoneNumber($phoneNumber) 5271 { 5272 $this->phoneNumber = $phoneNumber; 5273 } 5274 public function getPhoneNumber() 5275 { 5276 return $this->phoneNumber; 5277 } 5278 } 5279 5280 class Google_Service_ShoppingContent_OrderLineItem extends Google_Collection 5281 { 5282 protected $collection_key = 'returns'; 5283 protected $internal_gapi_mappings = array( 5284 ); 5285 protected $cancellationsType = 'Google_Service_ShoppingContent_OrderCancellation'; 5286 protected $cancellationsDataType = 'array'; 5287 public $id; 5288 protected $priceType = 'Google_Service_ShoppingContent_Price'; 5289 protected $priceDataType = ''; 5290 protected $productType = 'Google_Service_ShoppingContent_OrderLineItemProduct'; 5291 protected $productDataType = ''; 5292 public $quantityCanceled; 5293 public $quantityDelivered; 5294 public $quantityOrdered; 5295 public $quantityPending; 5296 public $quantityReturned; 5297 public $quantityShipped; 5298 protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo'; 5299 protected $returnInfoDataType = ''; 5300 protected $returnsType = 'Google_Service_ShoppingContent_OrderReturn'; 5301 protected $returnsDataType = 'array'; 5302 protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails'; 5303 protected $shippingDetailsDataType = ''; 5304 protected $taxType = 'Google_Service_ShoppingContent_Price'; 5305 protected $taxDataType = ''; 5306 5307 5308 public function setCancellations($cancellations) 5309 { 5310 $this->cancellations = $cancellations; 5311 } 5312 public function getCancellations() 5313 { 5314 return $this->cancellations; 5315 } 5316 public function setId($id) 5317 { 5318 $this->id = $id; 5319 } 5320 public function getId() 5321 { 5322 return $this->id; 5323 } 5324 public function setPrice(Google_Service_ShoppingContent_Price $price) 5325 { 5326 $this->price = $price; 5327 } 5328 public function getPrice() 5329 { 5330 return $this->price; 5331 } 5332 public function setProduct(Google_Service_ShoppingContent_OrderLineItemProduct $product) 5333 { 5334 $this->product = $product; 5335 } 5336 public function getProduct() 5337 { 5338 return $this->product; 5339 } 5340 public function setQuantityCanceled($quantityCanceled) 5341 { 5342 $this->quantityCanceled = $quantityCanceled; 5343 } 5344 public function getQuantityCanceled() 5345 { 5346 return $this->quantityCanceled; 5347 } 5348 public function setQuantityDelivered($quantityDelivered) 5349 { 5350 $this->quantityDelivered = $quantityDelivered; 5351 } 5352 public function getQuantityDelivered() 5353 { 5354 return $this->quantityDelivered; 5355 } 5356 public function setQuantityOrdered($quantityOrdered) 5357 { 5358 $this->quantityOrdered = $quantityOrdered; 5359 } 5360 public function getQuantityOrdered() 5361 { 5362 return $this->quantityOrdered; 5363 } 5364 public function setQuantityPending($quantityPending) 5365 { 5366 $this->quantityPending = $quantityPending; 5367 } 5368 public function getQuantityPending() 5369 { 5370 return $this->quantityPending; 5371 } 5372 public function setQuantityReturned($quantityReturned) 5373 { 5374 $this->quantityReturned = $quantityReturned; 5375 } 5376 public function getQuantityReturned() 5377 { 5378 return $this->quantityReturned; 5379 } 5380 public function setQuantityShipped($quantityShipped) 5381 { 5382 $this->quantityShipped = $quantityShipped; 5383 } 5384 public function getQuantityShipped() 5385 { 5386 return $this->quantityShipped; 5387 } 5388 public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo) 5389 { 5390 $this->returnInfo = $returnInfo; 5391 } 5392 public function getReturnInfo() 5393 { 5394 return $this->returnInfo; 5395 } 5396 public function setReturns($returns) 5397 { 5398 $this->returns = $returns; 5399 } 5400 public function getReturns() 5401 { 5402 return $this->returns; 5403 } 5404 public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails) 5405 { 5406 $this->shippingDetails = $shippingDetails; 5407 } 5408 public function getShippingDetails() 5409 { 5410 return $this->shippingDetails; 5411 } 5412 public function setTax(Google_Service_ShoppingContent_Price $tax) 5413 { 5414 $this->tax = $tax; 5415 } 5416 public function getTax() 5417 { 5418 return $this->tax; 5419 } 5420 } 5421 5422 class Google_Service_ShoppingContent_OrderLineItemProduct extends Google_Collection 5423 { 5424 protected $collection_key = 'variantAttributes'; 5425 protected $internal_gapi_mappings = array( 5426 ); 5427 public $brand; 5428 public $channel; 5429 public $condition; 5430 public $contentLanguage; 5431 public $gtin; 5432 public $id; 5433 public $imageLink; 5434 public $itemGroupId; 5435 public $mpn; 5436 public $offerId; 5437 protected $priceType = 'Google_Service_ShoppingContent_Price'; 5438 protected $priceDataType = ''; 5439 public $shownImage; 5440 public $targetCountry; 5441 public $title; 5442 protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute'; 5443 protected $variantAttributesDataType = 'array'; 5444 5445 5446 public function setBrand($brand) 5447 { 5448 $this->brand = $brand; 5449 } 5450 public function getBrand() 5451 { 5452 return $this->brand; 5453 } 5454 public function setChannel($channel) 5455 { 5456 $this->channel = $channel; 5457 } 5458 public function getChannel() 5459 { 5460 return $this->channel; 5461 } 5462 public function setCondition($condition) 5463 { 5464 $this->condition = $condition; 5465 } 5466 public function getCondition() 5467 { 5468 return $this->condition; 5469 } 5470 public function setContentLanguage($contentLanguage) 5471 { 5472 $this->contentLanguage = $contentLanguage; 5473 } 5474 public function getContentLanguage() 5475 { 5476 return $this->contentLanguage; 5477 } 5478 public function setGtin($gtin) 5479 { 5480 $this->gtin = $gtin; 5481 } 5482 public function getGtin() 5483 { 5484 return $this->gtin; 5485 } 5486 public function setId($id) 5487 { 5488 $this->id = $id; 5489 } 5490 public function getId() 5491 { 5492 return $this->id; 5493 } 5494 public function setImageLink($imageLink) 5495 { 5496 $this->imageLink = $imageLink; 5497 } 5498 public function getImageLink() 5499 { 5500 return $this->imageLink; 5501 } 5502 public function setItemGroupId($itemGroupId) 5503 { 5504 $this->itemGroupId = $itemGroupId; 5505 } 5506 public function getItemGroupId() 5507 { 5508 return $this->itemGroupId; 5509 } 5510 public function setMpn($mpn) 5511 { 5512 $this->mpn = $mpn; 5513 } 5514 public function getMpn() 5515 { 5516 return $this->mpn; 5517 } 5518 public function setOfferId($offerId) 5519 { 5520 $this->offerId = $offerId; 5521 } 5522 public function getOfferId() 5523 { 5524 return $this->offerId; 5525 } 5526 public function setPrice(Google_Service_ShoppingContent_Price $price) 5527 { 5528 $this->price = $price; 5529 } 5530 public function getPrice() 5531 { 5532 return $this->price; 5533 } 5534 public function setShownImage($shownImage) 5535 { 5536 $this->shownImage = $shownImage; 5537 } 5538 public function getShownImage() 5539 { 5540 return $this->shownImage; 5541 } 5542 public function setTargetCountry($targetCountry) 5543 { 5544 $this->targetCountry = $targetCountry; 5545 } 5546 public function getTargetCountry() 5547 { 5548 return $this->targetCountry; 5549 } 5550 public function setTitle($title) 5551 { 5552 $this->title = $title; 5553 } 5554 public function getTitle() 5555 { 5556 return $this->title; 5557 } 5558 public function setVariantAttributes($variantAttributes) 5559 { 5560 $this->variantAttributes = $variantAttributes; 5561 } 5562 public function getVariantAttributes() 5563 { 5564 return $this->variantAttributes; 5565 } 5566 } 5567 5568 class Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute extends Google_Model 5569 { 5570 protected $internal_gapi_mappings = array( 5571 ); 5572 public $dimension; 5573 public $value; 5574 5575 5576 public function setDimension($dimension) 5577 { 5578 $this->dimension = $dimension; 5579 } 5580 public function getDimension() 5581 { 5582 return $this->dimension; 5583 } 5584 public function setValue($value) 5585 { 5586 $this->value = $value; 5587 } 5588 public function getValue() 5589 { 5590 return $this->value; 5591 } 5592 } 5593 5594 class Google_Service_ShoppingContent_OrderLineItemReturnInfo extends Google_Model 5595 { 5596 protected $internal_gapi_mappings = array( 5597 ); 5598 public $daysToReturn; 5599 public $isReturnable; 5600 public $policyUrl; 5601 5602 5603 public function setDaysToReturn($daysToReturn) 5604 { 5605 $this->daysToReturn = $daysToReturn; 5606 } 5607 public function getDaysToReturn() 5608 { 5609 return $this->daysToReturn; 5610 } 5611 public function setIsReturnable($isReturnable) 5612 { 5613 $this->isReturnable = $isReturnable; 5614 } 5615 public function getIsReturnable() 5616 { 5617 return $this->isReturnable; 5618 } 5619 public function setPolicyUrl($policyUrl) 5620 { 5621 $this->policyUrl = $policyUrl; 5622 } 5623 public function getPolicyUrl() 5624 { 5625 return $this->policyUrl; 5626 } 5627 } 5628 5629 class Google_Service_ShoppingContent_OrderLineItemShippingDetails extends Google_Model 5630 { 5631 protected $internal_gapi_mappings = array( 5632 ); 5633 public $deliverByDate; 5634 protected $methodType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod'; 5635 protected $methodDataType = ''; 5636 public $shipByDate; 5637 5638 5639 public function setDeliverByDate($deliverByDate) 5640 { 5641 $this->deliverByDate = $deliverByDate; 5642 } 5643 public function getDeliverByDate() 5644 { 5645 return $this->deliverByDate; 5646 } 5647 public function setMethod(Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod $method) 5648 { 5649 $this->method = $method; 5650 } 5651 public function getMethod() 5652 { 5653 return $this->method; 5654 } 5655 public function setShipByDate($shipByDate) 5656 { 5657 $this->shipByDate = $shipByDate; 5658 } 5659 public function getShipByDate() 5660 { 5661 return $this->shipByDate; 5662 } 5663 } 5664 5665 class Google_Service_ShoppingContent_OrderLineItemShippingDetailsMethod extends Google_Model 5666 { 5667 protected $internal_gapi_mappings = array( 5668 ); 5669 public $carrier; 5670 public $maxDaysInTransit; 5671 public $methodName; 5672 public $minDaysInTransit; 5673 5674 5675 public function setCarrier($carrier) 5676 { 5677 $this->carrier = $carrier; 5678 } 5679 public function getCarrier() 5680 { 5681 return $this->carrier; 5682 } 5683 public function setMaxDaysInTransit($maxDaysInTransit) 5684 { 5685 $this->maxDaysInTransit = $maxDaysInTransit; 5686 } 5687 public function getMaxDaysInTransit() 5688 { 5689 return $this->maxDaysInTransit; 5690 } 5691 public function setMethodName($methodName) 5692 { 5693 $this->methodName = $methodName; 5694 } 5695 public function getMethodName() 5696 { 5697 return $this->methodName; 5698 } 5699 public function setMinDaysInTransit($minDaysInTransit) 5700 { 5701 $this->minDaysInTransit = $minDaysInTransit; 5702 } 5703 public function getMinDaysInTransit() 5704 { 5705 return $this->minDaysInTransit; 5706 } 5707 } 5708 5709 class Google_Service_ShoppingContent_OrderPaymentMethod extends Google_Model 5710 { 5711 protected $internal_gapi_mappings = array( 5712 ); 5713 protected $billingAddressType = 'Google_Service_ShoppingContent_OrderAddress'; 5714 protected $billingAddressDataType = ''; 5715 public $expirationMonth; 5716 public $expirationYear; 5717 public $lastFourDigits; 5718 public $phoneNumber; 5719 public $type; 5720 5721 5722 public function setBillingAddress(Google_Service_ShoppingContent_OrderAddress $billingAddress) 5723 { 5724 $this->billingAddress = $billingAddress; 5725 } 5726 public function getBillingAddress() 5727 { 5728 return $this->billingAddress; 5729 } 5730 public function setExpirationMonth($expirationMonth) 5731 { 5732 $this->expirationMonth = $expirationMonth; 5733 } 5734 public function getExpirationMonth() 5735 { 5736 return $this->expirationMonth; 5737 } 5738 public function setExpirationYear($expirationYear) 5739 { 5740 $this->expirationYear = $expirationYear; 5741 } 5742 public function getExpirationYear() 5743 { 5744 return $this->expirationYear; 5745 } 5746 public function setLastFourDigits($lastFourDigits) 5747 { 5748 $this->lastFourDigits = $lastFourDigits; 5749 } 5750 public function getLastFourDigits() 5751 { 5752 return $this->lastFourDigits; 5753 } 5754 public function setPhoneNumber($phoneNumber) 5755 { 5756 $this->phoneNumber = $phoneNumber; 5757 } 5758 public function getPhoneNumber() 5759 { 5760 return $this->phoneNumber; 5761 } 5762 public function setType($type) 5763 { 5764 $this->type = $type; 5765 } 5766 public function getType() 5767 { 5768 return $this->type; 5769 } 5770 } 5771 5772 class Google_Service_ShoppingContent_OrderRefund extends Google_Model 5773 { 5774 protected $internal_gapi_mappings = array( 5775 ); 5776 public $actor; 5777 protected $amountType = 'Google_Service_ShoppingContent_Price'; 5778 protected $amountDataType = ''; 5779 public $creationDate; 5780 public $reason; 5781 public $reasonText; 5782 5783 5784 public function setActor($actor) 5785 { 5786 $this->actor = $actor; 5787 } 5788 public function getActor() 5789 { 5790 return $this->actor; 5791 } 5792 public function setAmount(Google_Service_ShoppingContent_Price $amount) 5793 { 5794 $this->amount = $amount; 5795 } 5796 public function getAmount() 5797 { 5798 return $this->amount; 5799 } 5800 public function setCreationDate($creationDate) 5801 { 5802 $this->creationDate = $creationDate; 5803 } 5804 public function getCreationDate() 5805 { 5806 return $this->creationDate; 5807 } 5808 public function setReason($reason) 5809 { 5810 $this->reason = $reason; 5811 } 5812 public function getReason() 5813 { 5814 return $this->reason; 5815 } 5816 public function setReasonText($reasonText) 5817 { 5818 $this->reasonText = $reasonText; 5819 } 5820 public function getReasonText() 5821 { 5822 return $this->reasonText; 5823 } 5824 } 5825 5826 class Google_Service_ShoppingContent_OrderReturn extends Google_Model 5827 { 5828 protected $internal_gapi_mappings = array( 5829 ); 5830 public $actor; 5831 public $creationDate; 5832 public $quantity; 5833 public $reason; 5834 public $reasonText; 5835 5836 5837 public function setActor($actor) 5838 { 5839 $this->actor = $actor; 5840 } 5841 public function getActor() 5842 { 5843 return $this->actor; 5844 } 5845 public function setCreationDate($creationDate) 5846 { 5847 $this->creationDate = $creationDate; 5848 } 5849 public function getCreationDate() 5850 { 5851 return $this->creationDate; 5852 } 5853 public function setQuantity($quantity) 5854 { 5855 $this->quantity = $quantity; 5856 } 5857 public function getQuantity() 5858 { 5859 return $this->quantity; 5860 } 5861 public function setReason($reason) 5862 { 5863 $this->reason = $reason; 5864 } 5865 public function getReason() 5866 { 5867 return $this->reason; 5868 } 5869 public function setReasonText($reasonText) 5870 { 5871 $this->reasonText = $reasonText; 5872 } 5873 public function getReasonText() 5874 { 5875 return $this->reasonText; 5876 } 5877 } 5878 5879 class Google_Service_ShoppingContent_OrderShipment extends Google_Collection 5880 { 5881 protected $collection_key = 'lineItems'; 5882 protected $internal_gapi_mappings = array( 5883 ); 5884 public $carrier; 5885 public $creationDate; 5886 public $deliveryDate; 5887 public $id; 5888 protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment'; 5889 protected $lineItemsDataType = 'array'; 5890 public $status; 5891 public $trackingId; 5892 5893 5894 public function setCarrier($carrier) 5895 { 5896 $this->carrier = $carrier; 5897 } 5898 public function getCarrier() 5899 { 5900 return $this->carrier; 5901 } 5902 public function setCreationDate($creationDate) 5903 { 5904 $this->creationDate = $creationDate; 5905 } 5906 public function getCreationDate() 5907 { 5908 return $this->creationDate; 5909 } 5910 public function setDeliveryDate($deliveryDate) 5911 { 5912 $this->deliveryDate = $deliveryDate; 5913 } 5914 public function getDeliveryDate() 5915 { 5916 return $this->deliveryDate; 5917 } 5918 public function setId($id) 5919 { 5920 $this->id = $id; 5921 } 5922 public function getId() 5923 { 5924 return $this->id; 5925 } 5926 public function setLineItems($lineItems) 5927 { 5928 $this->lineItems = $lineItems; 5929 } 5930 public function getLineItems() 5931 { 5932 return $this->lineItems; 5933 } 5934 public function setStatus($status) 5935 { 5936 $this->status = $status; 5937 } 5938 public function getStatus() 5939 { 5940 return $this->status; 5941 } 5942 public function setTrackingId($trackingId) 5943 { 5944 $this->trackingId = $trackingId; 5945 } 5946 public function getTrackingId() 5947 { 5948 return $this->trackingId; 5949 } 5950 } 5951 5952 class Google_Service_ShoppingContent_OrderShipmentLineItemShipment extends Google_Model 5953 { 5954 protected $internal_gapi_mappings = array( 5955 ); 5956 public $lineItemId; 5957 public $quantity; 5958 5959 5960 public function setLineItemId($lineItemId) 5961 { 5962 $this->lineItemId = $lineItemId; 5963 } 5964 public function getLineItemId() 5965 { 5966 return $this->lineItemId; 5967 } 5968 public function setQuantity($quantity) 5969 { 5970 $this->quantity = $quantity; 5971 } 5972 public function getQuantity() 5973 { 5974 return $this->quantity; 5975 } 5976 } 5977 5978 class Google_Service_ShoppingContent_OrdersAcknowledgeRequest extends Google_Model 5979 { 5980 protected $internal_gapi_mappings = array( 5981 ); 5982 public $operationId; 5983 5984 5985 public function setOperationId($operationId) 5986 { 5987 $this->operationId = $operationId; 5988 } 5989 public function getOperationId() 5990 { 5991 return $this->operationId; 5992 } 5993 } 5994 5995 class Google_Service_ShoppingContent_OrdersAcknowledgeResponse extends Google_Model 5996 { 5997 protected $internal_gapi_mappings = array( 5998 ); 5999 public $executionStatus; 6000 public $kind; 6001 6002 6003 public function setExecutionStatus($executionStatus) 6004 { 6005 $this->executionStatus = $executionStatus; 6006 } 6007 public function getExecutionStatus() 6008 { 6009 return $this->executionStatus; 6010 } 6011 public function setKind($kind) 6012 { 6013 $this->kind = $kind; 6014 } 6015 public function getKind() 6016 { 6017 return $this->kind; 6018 } 6019 } 6020 6021 class Google_Service_ShoppingContent_OrdersAdvanceTestOrderResponse extends Google_Model 6022 { 6023 protected $internal_gapi_mappings = array( 6024 ); 6025 public $kind; 6026 6027 6028 public function setKind($kind) 6029 { 6030 $this->kind = $kind; 6031 } 6032 public function getKind() 6033 { 6034 return $this->kind; 6035 } 6036 } 6037 6038 class Google_Service_ShoppingContent_OrdersCancelLineItemRequest extends Google_Model 6039 { 6040 protected $internal_gapi_mappings = array( 6041 ); 6042 public $lineItemId; 6043 public $operationId; 6044 public $quantity; 6045 public $reason; 6046 public $reasonText; 6047 6048 6049 public function setLineItemId($lineItemId) 6050 { 6051 $this->lineItemId = $lineItemId; 6052 } 6053 public function getLineItemId() 6054 { 6055 return $this->lineItemId; 6056 } 6057 public function setOperationId($operationId) 6058 { 6059 $this->operationId = $operationId; 6060 } 6061 public function getOperationId() 6062 { 6063 return $this->operationId; 6064 } 6065 public function setQuantity($quantity) 6066 { 6067 $this->quantity = $quantity; 6068 } 6069 public function getQuantity() 6070 { 6071 return $this->quantity; 6072 } 6073 public function setReason($reason) 6074 { 6075 $this->reason = $reason; 6076 } 6077 public function getReason() 6078 { 6079 return $this->reason; 6080 } 6081 public function setReasonText($reasonText) 6082 { 6083 $this->reasonText = $reasonText; 6084 } 6085 public function getReasonText() 6086 { 6087 return $this->reasonText; 6088 } 6089 } 6090 6091 class Google_Service_ShoppingContent_OrdersCancelLineItemResponse extends Google_Model 6092 { 6093 protected $internal_gapi_mappings = array( 6094 ); 6095 public $executionStatus; 6096 public $kind; 6097 6098 6099 public function setExecutionStatus($executionStatus) 6100 { 6101 $this->executionStatus = $executionStatus; 6102 } 6103 public function getExecutionStatus() 6104 { 6105 return $this->executionStatus; 6106 } 6107 public function setKind($kind) 6108 { 6109 $this->kind = $kind; 6110 } 6111 public function getKind() 6112 { 6113 return $this->kind; 6114 } 6115 } 6116 6117 class Google_Service_ShoppingContent_OrdersCancelRequest extends Google_Model 6118 { 6119 protected $internal_gapi_mappings = array( 6120 ); 6121 public $operationId; 6122 public $reason; 6123 public $reasonText; 6124 6125 6126 public function setOperationId($operationId) 6127 { 6128 $this->operationId = $operationId; 6129 } 6130 public function getOperationId() 6131 { 6132 return $this->operationId; 6133 } 6134 public function setReason($reason) 6135 { 6136 $this->reason = $reason; 6137 } 6138 public function getReason() 6139 { 6140 return $this->reason; 6141 } 6142 public function setReasonText($reasonText) 6143 { 6144 $this->reasonText = $reasonText; 6145 } 6146 public function getReasonText() 6147 { 6148 return $this->reasonText; 6149 } 6150 } 6151 6152 class Google_Service_ShoppingContent_OrdersCancelResponse extends Google_Model 6153 { 6154 protected $internal_gapi_mappings = array( 6155 ); 6156 public $executionStatus; 6157 public $kind; 6158 6159 6160 public function setExecutionStatus($executionStatus) 6161 { 6162 $this->executionStatus = $executionStatus; 6163 } 6164 public function getExecutionStatus() 6165 { 6166 return $this->executionStatus; 6167 } 6168 public function setKind($kind) 6169 { 6170 $this->kind = $kind; 6171 } 6172 public function getKind() 6173 { 6174 return $this->kind; 6175 } 6176 } 6177 6178 class Google_Service_ShoppingContent_OrdersCreateTestOrderRequest extends Google_Model 6179 { 6180 protected $internal_gapi_mappings = array( 6181 ); 6182 public $templateName; 6183 protected $testOrderType = 'Google_Service_ShoppingContent_TestOrder'; 6184 protected $testOrderDataType = ''; 6185 6186 6187 public function setTemplateName($templateName) 6188 { 6189 $this->templateName = $templateName; 6190 } 6191 public function getTemplateName() 6192 { 6193 return $this->templateName; 6194 } 6195 public function setTestOrder(Google_Service_ShoppingContent_TestOrder $testOrder) 6196 { 6197 $this->testOrder = $testOrder; 6198 } 6199 public function getTestOrder() 6200 { 6201 return $this->testOrder; 6202 } 6203 } 6204 6205 class Google_Service_ShoppingContent_OrdersCreateTestOrderResponse extends Google_Model 6206 { 6207 protected $internal_gapi_mappings = array( 6208 ); 6209 public $kind; 6210 public $orderId; 6211 6212 6213 public function setKind($kind) 6214 { 6215 $this->kind = $kind; 6216 } 6217 public function getKind() 6218 { 6219 return $this->kind; 6220 } 6221 public function setOrderId($orderId) 6222 { 6223 $this->orderId = $orderId; 6224 } 6225 public function getOrderId() 6226 { 6227 return $this->orderId; 6228 } 6229 } 6230 6231 class Google_Service_ShoppingContent_OrdersCustomBatchRequest extends Google_Collection 6232 { 6233 protected $collection_key = 'entries'; 6234 protected $internal_gapi_mappings = array( 6235 ); 6236 protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry'; 6237 protected $entriesDataType = 'array'; 6238 6239 6240 public function setEntries($entries) 6241 { 6242 $this->entries = $entries; 6243 } 6244 public function getEntries() 6245 { 6246 return $this->entries; 6247 } 6248 } 6249 6250 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntry extends Google_Model 6251 { 6252 protected $internal_gapi_mappings = array( 6253 ); 6254 public $batchId; 6255 protected $cancelType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel'; 6256 protected $cancelDataType = ''; 6257 protected $cancelLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem'; 6258 protected $cancelLineItemDataType = ''; 6259 public $merchantId; 6260 public $merchantOrderId; 6261 public $method; 6262 public $operationId; 6263 public $orderId; 6264 protected $refundType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund'; 6265 protected $refundDataType = ''; 6266 protected $returnLineItemType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem'; 6267 protected $returnLineItemDataType = ''; 6268 protected $shipLineItemsType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems'; 6269 protected $shipLineItemsDataType = ''; 6270 protected $updateShipmentType = 'Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment'; 6271 protected $updateShipmentDataType = ''; 6272 6273 6274 public function setBatchId($batchId) 6275 { 6276 $this->batchId = $batchId; 6277 } 6278 public function getBatchId() 6279 { 6280 return $this->batchId; 6281 } 6282 public function setCancel(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel $cancel) 6283 { 6284 $this->cancel = $cancel; 6285 } 6286 public function getCancel() 6287 { 6288 return $this->cancel; 6289 } 6290 public function setCancelLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem $cancelLineItem) 6291 { 6292 $this->cancelLineItem = $cancelLineItem; 6293 } 6294 public function getCancelLineItem() 6295 { 6296 return $this->cancelLineItem; 6297 } 6298 public function setMerchantId($merchantId) 6299 { 6300 $this->merchantId = $merchantId; 6301 } 6302 public function getMerchantId() 6303 { 6304 return $this->merchantId; 6305 } 6306 public function setMerchantOrderId($merchantOrderId) 6307 { 6308 $this->merchantOrderId = $merchantOrderId; 6309 } 6310 public function getMerchantOrderId() 6311 { 6312 return $this->merchantOrderId; 6313 } 6314 public function setMethod($method) 6315 { 6316 $this->method = $method; 6317 } 6318 public function getMethod() 6319 { 6320 return $this->method; 6321 } 6322 public function setOperationId($operationId) 6323 { 6324 $this->operationId = $operationId; 6325 } 6326 public function getOperationId() 6327 { 6328 return $this->operationId; 6329 } 6330 public function setOrderId($orderId) 6331 { 6332 $this->orderId = $orderId; 6333 } 6334 public function getOrderId() 6335 { 6336 return $this->orderId; 6337 } 6338 public function setRefund(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund $refund) 6339 { 6340 $this->refund = $refund; 6341 } 6342 public function getRefund() 6343 { 6344 return $this->refund; 6345 } 6346 public function setReturnLineItem(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem $returnLineItem) 6347 { 6348 $this->returnLineItem = $returnLineItem; 6349 } 6350 public function getReturnLineItem() 6351 { 6352 return $this->returnLineItem; 6353 } 6354 public function setShipLineItems(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems $shipLineItems) 6355 { 6356 $this->shipLineItems = $shipLineItems; 6357 } 6358 public function getShipLineItems() 6359 { 6360 return $this->shipLineItems; 6361 } 6362 public function setUpdateShipment(Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment $updateShipment) 6363 { 6364 $this->updateShipment = $updateShipment; 6365 } 6366 public function getUpdateShipment() 6367 { 6368 return $this->updateShipment; 6369 } 6370 } 6371 6372 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancel extends Google_Model 6373 { 6374 protected $internal_gapi_mappings = array( 6375 ); 6376 public $reason; 6377 public $reasonText; 6378 6379 6380 public function setReason($reason) 6381 { 6382 $this->reason = $reason; 6383 } 6384 public function getReason() 6385 { 6386 return $this->reason; 6387 } 6388 public function setReasonText($reasonText) 6389 { 6390 $this->reasonText = $reasonText; 6391 } 6392 public function getReasonText() 6393 { 6394 return $this->reasonText; 6395 } 6396 } 6397 6398 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryCancelLineItem extends Google_Model 6399 { 6400 protected $internal_gapi_mappings = array( 6401 ); 6402 public $lineItemId; 6403 public $quantity; 6404 public $reason; 6405 public $reasonText; 6406 6407 6408 public function setLineItemId($lineItemId) 6409 { 6410 $this->lineItemId = $lineItemId; 6411 } 6412 public function getLineItemId() 6413 { 6414 return $this->lineItemId; 6415 } 6416 public function setQuantity($quantity) 6417 { 6418 $this->quantity = $quantity; 6419 } 6420 public function getQuantity() 6421 { 6422 return $this->quantity; 6423 } 6424 public function setReason($reason) 6425 { 6426 $this->reason = $reason; 6427 } 6428 public function getReason() 6429 { 6430 return $this->reason; 6431 } 6432 public function setReasonText($reasonText) 6433 { 6434 $this->reasonText = $reasonText; 6435 } 6436 public function getReasonText() 6437 { 6438 return $this->reasonText; 6439 } 6440 } 6441 6442 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryRefund extends Google_Model 6443 { 6444 protected $internal_gapi_mappings = array( 6445 ); 6446 protected $amountType = 'Google_Service_ShoppingContent_Price'; 6447 protected $amountDataType = ''; 6448 public $reason; 6449 public $reasonText; 6450 6451 6452 public function setAmount(Google_Service_ShoppingContent_Price $amount) 6453 { 6454 $this->amount = $amount; 6455 } 6456 public function getAmount() 6457 { 6458 return $this->amount; 6459 } 6460 public function setReason($reason) 6461 { 6462 $this->reason = $reason; 6463 } 6464 public function getReason() 6465 { 6466 return $this->reason; 6467 } 6468 public function setReasonText($reasonText) 6469 { 6470 $this->reasonText = $reasonText; 6471 } 6472 public function getReasonText() 6473 { 6474 return $this->reasonText; 6475 } 6476 } 6477 6478 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryReturnLineItem extends Google_Model 6479 { 6480 protected $internal_gapi_mappings = array( 6481 ); 6482 public $lineItemId; 6483 public $quantity; 6484 public $reason; 6485 public $reasonText; 6486 6487 6488 public function setLineItemId($lineItemId) 6489 { 6490 $this->lineItemId = $lineItemId; 6491 } 6492 public function getLineItemId() 6493 { 6494 return $this->lineItemId; 6495 } 6496 public function setQuantity($quantity) 6497 { 6498 $this->quantity = $quantity; 6499 } 6500 public function getQuantity() 6501 { 6502 return $this->quantity; 6503 } 6504 public function setReason($reason) 6505 { 6506 $this->reason = $reason; 6507 } 6508 public function getReason() 6509 { 6510 return $this->reason; 6511 } 6512 public function setReasonText($reasonText) 6513 { 6514 $this->reasonText = $reasonText; 6515 } 6516 public function getReasonText() 6517 { 6518 return $this->reasonText; 6519 } 6520 } 6521 6522 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryShipLineItems extends Google_Collection 6523 { 6524 protected $collection_key = 'lineItems'; 6525 protected $internal_gapi_mappings = array( 6526 ); 6527 public $carrier; 6528 protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment'; 6529 protected $lineItemsDataType = 'array'; 6530 public $shipmentId; 6531 public $trackingId; 6532 6533 6534 public function setCarrier($carrier) 6535 { 6536 $this->carrier = $carrier; 6537 } 6538 public function getCarrier() 6539 { 6540 return $this->carrier; 6541 } 6542 public function setLineItems($lineItems) 6543 { 6544 $this->lineItems = $lineItems; 6545 } 6546 public function getLineItems() 6547 { 6548 return $this->lineItems; 6549 } 6550 public function setShipmentId($shipmentId) 6551 { 6552 $this->shipmentId = $shipmentId; 6553 } 6554 public function getShipmentId() 6555 { 6556 return $this->shipmentId; 6557 } 6558 public function setTrackingId($trackingId) 6559 { 6560 $this->trackingId = $trackingId; 6561 } 6562 public function getTrackingId() 6563 { 6564 return $this->trackingId; 6565 } 6566 } 6567 6568 class Google_Service_ShoppingContent_OrdersCustomBatchRequestEntryUpdateShipment extends Google_Model 6569 { 6570 protected $internal_gapi_mappings = array( 6571 ); 6572 public $carrier; 6573 public $shipmentId; 6574 public $status; 6575 public $trackingId; 6576 6577 6578 public function setCarrier($carrier) 6579 { 6580 $this->carrier = $carrier; 6581 } 6582 public function getCarrier() 6583 { 6584 return $this->carrier; 6585 } 6586 public function setShipmentId($shipmentId) 6587 { 6588 $this->shipmentId = $shipmentId; 6589 } 6590 public function getShipmentId() 6591 { 6592 return $this->shipmentId; 6593 } 6594 public function setStatus($status) 6595 { 6596 $this->status = $status; 6597 } 6598 public function getStatus() 6599 { 6600 return $this->status; 6601 } 6602 public function setTrackingId($trackingId) 6603 { 6604 $this->trackingId = $trackingId; 6605 } 6606 public function getTrackingId() 6607 { 6608 return $this->trackingId; 6609 } 6610 } 6611 6612 class Google_Service_ShoppingContent_OrdersCustomBatchResponse extends Google_Collection 6613 { 6614 protected $collection_key = 'entries'; 6615 protected $internal_gapi_mappings = array( 6616 ); 6617 protected $entriesType = 'Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry'; 6618 protected $entriesDataType = 'array'; 6619 public $kind; 6620 6621 6622 public function setEntries($entries) 6623 { 6624 $this->entries = $entries; 6625 } 6626 public function getEntries() 6627 { 6628 return $this->entries; 6629 } 6630 public function setKind($kind) 6631 { 6632 $this->kind = $kind; 6633 } 6634 public function getKind() 6635 { 6636 return $this->kind; 6637 } 6638 } 6639 6640 class Google_Service_ShoppingContent_OrdersCustomBatchResponseEntry extends Google_Model 6641 { 6642 protected $internal_gapi_mappings = array( 6643 ); 6644 public $batchId; 6645 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 6646 protected $errorsDataType = ''; 6647 public $executionStatus; 6648 public $kind; 6649 protected $orderType = 'Google_Service_ShoppingContent_Order'; 6650 protected $orderDataType = ''; 6651 6652 6653 public function setBatchId($batchId) 6654 { 6655 $this->batchId = $batchId; 6656 } 6657 public function getBatchId() 6658 { 6659 return $this->batchId; 6660 } 6661 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 6662 { 6663 $this->errors = $errors; 6664 } 6665 public function getErrors() 6666 { 6667 return $this->errors; 6668 } 6669 public function setExecutionStatus($executionStatus) 6670 { 6671 $this->executionStatus = $executionStatus; 6672 } 6673 public function getExecutionStatus() 6674 { 6675 return $this->executionStatus; 6676 } 6677 public function setKind($kind) 6678 { 6679 $this->kind = $kind; 6680 } 6681 public function getKind() 6682 { 6683 return $this->kind; 6684 } 6685 public function setOrder(Google_Service_ShoppingContent_Order $order) 6686 { 6687 $this->order = $order; 6688 } 6689 public function getOrder() 6690 { 6691 return $this->order; 6692 } 6693 } 6694 6695 class Google_Service_ShoppingContent_OrdersGetByMerchantOrderIdResponse extends Google_Model 6696 { 6697 protected $internal_gapi_mappings = array( 6698 ); 6699 public $kind; 6700 protected $orderType = 'Google_Service_ShoppingContent_Order'; 6701 protected $orderDataType = ''; 6702 6703 6704 public function setKind($kind) 6705 { 6706 $this->kind = $kind; 6707 } 6708 public function getKind() 6709 { 6710 return $this->kind; 6711 } 6712 public function setOrder(Google_Service_ShoppingContent_Order $order) 6713 { 6714 $this->order = $order; 6715 } 6716 public function getOrder() 6717 { 6718 return $this->order; 6719 } 6720 } 6721 6722 class Google_Service_ShoppingContent_OrdersGetTestOrderTemplateResponse extends Google_Model 6723 { 6724 protected $internal_gapi_mappings = array( 6725 ); 6726 public $kind; 6727 protected $templateType = 'Google_Service_ShoppingContent_TestOrder'; 6728 protected $templateDataType = ''; 6729 6730 6731 public function setKind($kind) 6732 { 6733 $this->kind = $kind; 6734 } 6735 public function getKind() 6736 { 6737 return $this->kind; 6738 } 6739 public function setTemplate(Google_Service_ShoppingContent_TestOrder $template) 6740 { 6741 $this->template = $template; 6742 } 6743 public function getTemplate() 6744 { 6745 return $this->template; 6746 } 6747 } 6748 6749 class Google_Service_ShoppingContent_OrdersListResponse extends Google_Collection 6750 { 6751 protected $collection_key = 'resources'; 6752 protected $internal_gapi_mappings = array( 6753 ); 6754 public $kind; 6755 public $nextPageToken; 6756 protected $resourcesType = 'Google_Service_ShoppingContent_Order'; 6757 protected $resourcesDataType = 'array'; 6758 6759 6760 public function setKind($kind) 6761 { 6762 $this->kind = $kind; 6763 } 6764 public function getKind() 6765 { 6766 return $this->kind; 6767 } 6768 public function setNextPageToken($nextPageToken) 6769 { 6770 $this->nextPageToken = $nextPageToken; 6771 } 6772 public function getNextPageToken() 6773 { 6774 return $this->nextPageToken; 6775 } 6776 public function setResources($resources) 6777 { 6778 $this->resources = $resources; 6779 } 6780 public function getResources() 6781 { 6782 return $this->resources; 6783 } 6784 } 6785 6786 class Google_Service_ShoppingContent_OrdersRefundRequest extends Google_Model 6787 { 6788 protected $internal_gapi_mappings = array( 6789 ); 6790 protected $amountType = 'Google_Service_ShoppingContent_Price'; 6791 protected $amountDataType = ''; 6792 public $operationId; 6793 public $reason; 6794 public $reasonText; 6795 6796 6797 public function setAmount(Google_Service_ShoppingContent_Price $amount) 6798 { 6799 $this->amount = $amount; 6800 } 6801 public function getAmount() 6802 { 6803 return $this->amount; 6804 } 6805 public function setOperationId($operationId) 6806 { 6807 $this->operationId = $operationId; 6808 } 6809 public function getOperationId() 6810 { 6811 return $this->operationId; 6812 } 6813 public function setReason($reason) 6814 { 6815 $this->reason = $reason; 6816 } 6817 public function getReason() 6818 { 6819 return $this->reason; 6820 } 6821 public function setReasonText($reasonText) 6822 { 6823 $this->reasonText = $reasonText; 6824 } 6825 public function getReasonText() 6826 { 6827 return $this->reasonText; 6828 } 6829 } 6830 6831 class Google_Service_ShoppingContent_OrdersRefundResponse extends Google_Model 6832 { 6833 protected $internal_gapi_mappings = array( 6834 ); 6835 public $executionStatus; 6836 public $kind; 6837 6838 6839 public function setExecutionStatus($executionStatus) 6840 { 6841 $this->executionStatus = $executionStatus; 6842 } 6843 public function getExecutionStatus() 6844 { 6845 return $this->executionStatus; 6846 } 6847 public function setKind($kind) 6848 { 6849 $this->kind = $kind; 6850 } 6851 public function getKind() 6852 { 6853 return $this->kind; 6854 } 6855 } 6856 6857 class Google_Service_ShoppingContent_OrdersReturnLineItemRequest extends Google_Model 6858 { 6859 protected $internal_gapi_mappings = array( 6860 ); 6861 public $lineItemId; 6862 public $operationId; 6863 public $quantity; 6864 public $reason; 6865 public $reasonText; 6866 6867 6868 public function setLineItemId($lineItemId) 6869 { 6870 $this->lineItemId = $lineItemId; 6871 } 6872 public function getLineItemId() 6873 { 6874 return $this->lineItemId; 6875 } 6876 public function setOperationId($operationId) 6877 { 6878 $this->operationId = $operationId; 6879 } 6880 public function getOperationId() 6881 { 6882 return $this->operationId; 6883 } 6884 public function setQuantity($quantity) 6885 { 6886 $this->quantity = $quantity; 6887 } 6888 public function getQuantity() 6889 { 6890 return $this->quantity; 6891 } 6892 public function setReason($reason) 6893 { 6894 $this->reason = $reason; 6895 } 6896 public function getReason() 6897 { 6898 return $this->reason; 6899 } 6900 public function setReasonText($reasonText) 6901 { 6902 $this->reasonText = $reasonText; 6903 } 6904 public function getReasonText() 6905 { 6906 return $this->reasonText; 6907 } 6908 } 6909 6910 class Google_Service_ShoppingContent_OrdersReturnLineItemResponse extends Google_Model 6911 { 6912 protected $internal_gapi_mappings = array( 6913 ); 6914 public $executionStatus; 6915 public $kind; 6916 6917 6918 public function setExecutionStatus($executionStatus) 6919 { 6920 $this->executionStatus = $executionStatus; 6921 } 6922 public function getExecutionStatus() 6923 { 6924 return $this->executionStatus; 6925 } 6926 public function setKind($kind) 6927 { 6928 $this->kind = $kind; 6929 } 6930 public function getKind() 6931 { 6932 return $this->kind; 6933 } 6934 } 6935 6936 class Google_Service_ShoppingContent_OrdersShipLineItemsRequest extends Google_Collection 6937 { 6938 protected $collection_key = 'lineItems'; 6939 protected $internal_gapi_mappings = array( 6940 ); 6941 public $carrier; 6942 protected $lineItemsType = 'Google_Service_ShoppingContent_OrderShipmentLineItemShipment'; 6943 protected $lineItemsDataType = 'array'; 6944 public $operationId; 6945 public $shipmentId; 6946 public $trackingId; 6947 6948 6949 public function setCarrier($carrier) 6950 { 6951 $this->carrier = $carrier; 6952 } 6953 public function getCarrier() 6954 { 6955 return $this->carrier; 6956 } 6957 public function setLineItems($lineItems) 6958 { 6959 $this->lineItems = $lineItems; 6960 } 6961 public function getLineItems() 6962 { 6963 return $this->lineItems; 6964 } 6965 public function setOperationId($operationId) 6966 { 6967 $this->operationId = $operationId; 6968 } 6969 public function getOperationId() 6970 { 6971 return $this->operationId; 6972 } 6973 public function setShipmentId($shipmentId) 6974 { 6975 $this->shipmentId = $shipmentId; 6976 } 6977 public function getShipmentId() 6978 { 6979 return $this->shipmentId; 6980 } 6981 public function setTrackingId($trackingId) 6982 { 6983 $this->trackingId = $trackingId; 6984 } 6985 public function getTrackingId() 6986 { 6987 return $this->trackingId; 6988 } 6989 } 6990 6991 class Google_Service_ShoppingContent_OrdersShipLineItemsResponse extends Google_Model 6992 { 6993 protected $internal_gapi_mappings = array( 6994 ); 6995 public $executionStatus; 6996 public $kind; 6997 6998 6999 public function setExecutionStatus($executionStatus) 7000 { 7001 $this->executionStatus = $executionStatus; 7002 } 7003 public function getExecutionStatus() 7004 { 7005 return $this->executionStatus; 7006 } 7007 public function setKind($kind) 7008 { 7009 $this->kind = $kind; 7010 } 7011 public function getKind() 7012 { 7013 return $this->kind; 7014 } 7015 } 7016 7017 class Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdRequest extends Google_Model 7018 { 7019 protected $internal_gapi_mappings = array( 7020 ); 7021 public $merchantOrderId; 7022 public $operationId; 7023 7024 7025 public function setMerchantOrderId($merchantOrderId) 7026 { 7027 $this->merchantOrderId = $merchantOrderId; 7028 } 7029 public function getMerchantOrderId() 7030 { 7031 return $this->merchantOrderId; 7032 } 7033 public function setOperationId($operationId) 7034 { 7035 $this->operationId = $operationId; 7036 } 7037 public function getOperationId() 7038 { 7039 return $this->operationId; 7040 } 7041 } 7042 7043 class Google_Service_ShoppingContent_OrdersUpdateMerchantOrderIdResponse extends Google_Model 7044 { 7045 protected $internal_gapi_mappings = array( 7046 ); 7047 public $executionStatus; 7048 public $kind; 7049 7050 7051 public function setExecutionStatus($executionStatus) 7052 { 7053 $this->executionStatus = $executionStatus; 7054 } 7055 public function getExecutionStatus() 7056 { 7057 return $this->executionStatus; 7058 } 7059 public function setKind($kind) 7060 { 7061 $this->kind = $kind; 7062 } 7063 public function getKind() 7064 { 7065 return $this->kind; 7066 } 7067 } 7068 7069 class Google_Service_ShoppingContent_OrdersUpdateShipmentRequest extends Google_Model 7070 { 7071 protected $internal_gapi_mappings = array( 7072 ); 7073 public $carrier; 7074 public $operationId; 7075 public $shipmentId; 7076 public $status; 7077 public $trackingId; 7078 7079 7080 public function setCarrier($carrier) 7081 { 7082 $this->carrier = $carrier; 7083 } 7084 public function getCarrier() 7085 { 7086 return $this->carrier; 7087 } 7088 public function setOperationId($operationId) 7089 { 7090 $this->operationId = $operationId; 7091 } 7092 public function getOperationId() 7093 { 7094 return $this->operationId; 7095 } 7096 public function setShipmentId($shipmentId) 7097 { 7098 $this->shipmentId = $shipmentId; 7099 } 7100 public function getShipmentId() 7101 { 7102 return $this->shipmentId; 7103 } 7104 public function setStatus($status) 7105 { 7106 $this->status = $status; 7107 } 7108 public function getStatus() 7109 { 7110 return $this->status; 7111 } 7112 public function setTrackingId($trackingId) 7113 { 7114 $this->trackingId = $trackingId; 7115 } 7116 public function getTrackingId() 7117 { 7118 return $this->trackingId; 7119 } 7120 } 7121 7122 class Google_Service_ShoppingContent_OrdersUpdateShipmentResponse extends Google_Model 7123 { 7124 protected $internal_gapi_mappings = array( 7125 ); 7126 public $executionStatus; 7127 public $kind; 7128 7129 7130 public function setExecutionStatus($executionStatus) 7131 { 7132 $this->executionStatus = $executionStatus; 7133 } 7134 public function getExecutionStatus() 7135 { 7136 return $this->executionStatus; 7137 } 7138 public function setKind($kind) 7139 { 7140 $this->kind = $kind; 7141 } 7142 public function getKind() 7143 { 7144 return $this->kind; 7145 } 7146 } 7147 7148 class Google_Service_ShoppingContent_Price extends Google_Model 7149 { 7150 protected $internal_gapi_mappings = array( 7151 ); 7152 public $currency; 7153 public $value; 7154 7155 7156 public function setCurrency($currency) 7157 { 7158 $this->currency = $currency; 7159 } 7160 public function getCurrency() 7161 { 7162 return $this->currency; 7163 } 7164 public function setValue($value) 7165 { 7166 $this->value = $value; 7167 } 7168 public function getValue() 7169 { 7170 return $this->value; 7171 } 7172 } 7173 7174 class Google_Service_ShoppingContent_Product extends Google_Collection 7175 { 7176 protected $collection_key = 'warnings'; 7177 protected $internal_gapi_mappings = array( 7178 ); 7179 public $additionalImageLinks; 7180 public $adult; 7181 public $adwordsGrouping; 7182 public $adwordsLabels; 7183 public $adwordsRedirect; 7184 public $ageGroup; 7185 protected $aspectsType = 'Google_Service_ShoppingContent_ProductAspect'; 7186 protected $aspectsDataType = 'array'; 7187 public $availability; 7188 public $availabilityDate; 7189 public $brand; 7190 public $channel; 7191 public $color; 7192 public $condition; 7193 public $contentLanguage; 7194 protected $customAttributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute'; 7195 protected $customAttributesDataType = 'array'; 7196 protected $customGroupsType = 'Google_Service_ShoppingContent_ProductCustomGroup'; 7197 protected $customGroupsDataType = 'array'; 7198 public $customLabel0; 7199 public $customLabel1; 7200 public $customLabel2; 7201 public $customLabel3; 7202 public $customLabel4; 7203 public $description; 7204 protected $destinationsType = 'Google_Service_ShoppingContent_ProductDestination'; 7205 protected $destinationsDataType = 'array'; 7206 public $displayAdsId; 7207 public $displayAdsLink; 7208 public $displayAdsSimilarIds; 7209 public $displayAdsTitle; 7210 public $displayAdsValue; 7211 public $energyEfficiencyClass; 7212 public $expirationDate; 7213 public $gender; 7214 public $googleProductCategory; 7215 public $gtin; 7216 public $id; 7217 public $identifierExists; 7218 public $imageLink; 7219 protected $installmentType = 'Google_Service_ShoppingContent_ProductInstallment'; 7220 protected $installmentDataType = ''; 7221 public $isBundle; 7222 public $itemGroupId; 7223 public $kind; 7224 public $link; 7225 protected $loyaltyPointsType = 'Google_Service_ShoppingContent_LoyaltyPoints'; 7226 protected $loyaltyPointsDataType = ''; 7227 public $material; 7228 public $mobileLink; 7229 public $mpn; 7230 public $multipack; 7231 public $offerId; 7232 public $onlineOnly; 7233 public $pattern; 7234 protected $priceType = 'Google_Service_ShoppingContent_Price'; 7235 protected $priceDataType = ''; 7236 public $productType; 7237 protected $salePriceType = 'Google_Service_ShoppingContent_Price'; 7238 protected $salePriceDataType = ''; 7239 public $salePriceEffectiveDate; 7240 public $sellOnGoogleQuantity; 7241 protected $shippingType = 'Google_Service_ShoppingContent_ProductShipping'; 7242 protected $shippingDataType = 'array'; 7243 protected $shippingHeightType = 'Google_Service_ShoppingContent_ProductShippingDimension'; 7244 protected $shippingHeightDataType = ''; 7245 public $shippingLabel; 7246 protected $shippingLengthType = 'Google_Service_ShoppingContent_ProductShippingDimension'; 7247 protected $shippingLengthDataType = ''; 7248 protected $shippingWeightType = 'Google_Service_ShoppingContent_ProductShippingWeight'; 7249 protected $shippingWeightDataType = ''; 7250 protected $shippingWidthType = 'Google_Service_ShoppingContent_ProductShippingDimension'; 7251 protected $shippingWidthDataType = ''; 7252 public $sizeSystem; 7253 public $sizeType; 7254 public $sizes; 7255 public $targetCountry; 7256 protected $taxesType = 'Google_Service_ShoppingContent_ProductTax'; 7257 protected $taxesDataType = 'array'; 7258 public $title; 7259 protected $unitPricingBaseMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure'; 7260 protected $unitPricingBaseMeasureDataType = ''; 7261 protected $unitPricingMeasureType = 'Google_Service_ShoppingContent_ProductUnitPricingMeasure'; 7262 protected $unitPricingMeasureDataType = ''; 7263 public $validatedDestinations; 7264 protected $warningsType = 'Google_Service_ShoppingContent_Error'; 7265 protected $warningsDataType = 'array'; 7266 7267 7268 public function setAdditionalImageLinks($additionalImageLinks) 7269 { 7270 $this->additionalImageLinks = $additionalImageLinks; 7271 } 7272 public function getAdditionalImageLinks() 7273 { 7274 return $this->additionalImageLinks; 7275 } 7276 public function setAdult($adult) 7277 { 7278 $this->adult = $adult; 7279 } 7280 public function getAdult() 7281 { 7282 return $this->adult; 7283 } 7284 public function setAdwordsGrouping($adwordsGrouping) 7285 { 7286 $this->adwordsGrouping = $adwordsGrouping; 7287 } 7288 public function getAdwordsGrouping() 7289 { 7290 return $this->adwordsGrouping; 7291 } 7292 public function setAdwordsLabels($adwordsLabels) 7293 { 7294 $this->adwordsLabels = $adwordsLabels; 7295 } 7296 public function getAdwordsLabels() 7297 { 7298 return $this->adwordsLabels; 7299 } 7300 public function setAdwordsRedirect($adwordsRedirect) 7301 { 7302 $this->adwordsRedirect = $adwordsRedirect; 7303 } 7304 public function getAdwordsRedirect() 7305 { 7306 return $this->adwordsRedirect; 7307 } 7308 public function setAgeGroup($ageGroup) 7309 { 7310 $this->ageGroup = $ageGroup; 7311 } 7312 public function getAgeGroup() 7313 { 7314 return $this->ageGroup; 7315 } 7316 public function setAspects($aspects) 7317 { 7318 $this->aspects = $aspects; 7319 } 7320 public function getAspects() 7321 { 7322 return $this->aspects; 7323 } 7324 public function setAvailability($availability) 7325 { 7326 $this->availability = $availability; 7327 } 7328 public function getAvailability() 7329 { 7330 return $this->availability; 7331 } 7332 public function setAvailabilityDate($availabilityDate) 7333 { 7334 $this->availabilityDate = $availabilityDate; 7335 } 7336 public function getAvailabilityDate() 7337 { 7338 return $this->availabilityDate; 7339 } 7340 public function setBrand($brand) 7341 { 7342 $this->brand = $brand; 7343 } 7344 public function getBrand() 7345 { 7346 return $this->brand; 7347 } 7348 public function setChannel($channel) 7349 { 7350 $this->channel = $channel; 7351 } 7352 public function getChannel() 7353 { 7354 return $this->channel; 7355 } 7356 public function setColor($color) 7357 { 7358 $this->color = $color; 7359 } 7360 public function getColor() 7361 { 7362 return $this->color; 7363 } 7364 public function setCondition($condition) 7365 { 7366 $this->condition = $condition; 7367 } 7368 public function getCondition() 7369 { 7370 return $this->condition; 7371 } 7372 public function setContentLanguage($contentLanguage) 7373 { 7374 $this->contentLanguage = $contentLanguage; 7375 } 7376 public function getContentLanguage() 7377 { 7378 return $this->contentLanguage; 7379 } 7380 public function setCustomAttributes($customAttributes) 7381 { 7382 $this->customAttributes = $customAttributes; 7383 } 7384 public function getCustomAttributes() 7385 { 7386 return $this->customAttributes; 7387 } 7388 public function setCustomGroups($customGroups) 7389 { 7390 $this->customGroups = $customGroups; 7391 } 7392 public function getCustomGroups() 7393 { 7394 return $this->customGroups; 7395 } 7396 public function setCustomLabel0($customLabel0) 7397 { 7398 $this->customLabel0 = $customLabel0; 7399 } 7400 public function getCustomLabel0() 7401 { 7402 return $this->customLabel0; 7403 } 7404 public function setCustomLabel1($customLabel1) 7405 { 7406 $this->customLabel1 = $customLabel1; 7407 } 7408 public function getCustomLabel1() 7409 { 7410 return $this->customLabel1; 7411 } 7412 public function setCustomLabel2($customLabel2) 7413 { 7414 $this->customLabel2 = $customLabel2; 7415 } 7416 public function getCustomLabel2() 7417 { 7418 return $this->customLabel2; 7419 } 7420 public function setCustomLabel3($customLabel3) 7421 { 7422 $this->customLabel3 = $customLabel3; 7423 } 7424 public function getCustomLabel3() 7425 { 7426 return $this->customLabel3; 7427 } 7428 public function setCustomLabel4($customLabel4) 7429 { 7430 $this->customLabel4 = $customLabel4; 7431 } 7432 public function getCustomLabel4() 7433 { 7434 return $this->customLabel4; 7435 } 7436 public function setDescription($description) 7437 { 7438 $this->description = $description; 7439 } 7440 public function getDescription() 7441 { 7442 return $this->description; 7443 } 7444 public function setDestinations($destinations) 7445 { 7446 $this->destinations = $destinations; 7447 } 7448 public function getDestinations() 7449 { 7450 return $this->destinations; 7451 } 7452 public function setDisplayAdsId($displayAdsId) 7453 { 7454 $this->displayAdsId = $displayAdsId; 7455 } 7456 public function getDisplayAdsId() 7457 { 7458 return $this->displayAdsId; 7459 } 7460 public function setDisplayAdsLink($displayAdsLink) 7461 { 7462 $this->displayAdsLink = $displayAdsLink; 7463 } 7464 public function getDisplayAdsLink() 7465 { 7466 return $this->displayAdsLink; 7467 } 7468 public function setDisplayAdsSimilarIds($displayAdsSimilarIds) 7469 { 7470 $this->displayAdsSimilarIds = $displayAdsSimilarIds; 7471 } 7472 public function getDisplayAdsSimilarIds() 7473 { 7474 return $this->displayAdsSimilarIds; 7475 } 7476 public function setDisplayAdsTitle($displayAdsTitle) 7477 { 7478 $this->displayAdsTitle = $displayAdsTitle; 7479 } 7480 public function getDisplayAdsTitle() 7481 { 7482 return $this->displayAdsTitle; 7483 } 7484 public function setDisplayAdsValue($displayAdsValue) 7485 { 7486 $this->displayAdsValue = $displayAdsValue; 7487 } 7488 public function getDisplayAdsValue() 7489 { 7490 return $this->displayAdsValue; 7491 } 7492 public function setEnergyEfficiencyClass($energyEfficiencyClass) 7493 { 7494 $this->energyEfficiencyClass = $energyEfficiencyClass; 7495 } 7496 public function getEnergyEfficiencyClass() 7497 { 7498 return $this->energyEfficiencyClass; 7499 } 7500 public function setExpirationDate($expirationDate) 7501 { 7502 $this->expirationDate = $expirationDate; 7503 } 7504 public function getExpirationDate() 7505 { 7506 return $this->expirationDate; 7507 } 7508 public function setGender($gender) 7509 { 7510 $this->gender = $gender; 7511 } 7512 public function getGender() 7513 { 7514 return $this->gender; 7515 } 7516 public function setGoogleProductCategory($googleProductCategory) 7517 { 7518 $this->googleProductCategory = $googleProductCategory; 7519 } 7520 public function getGoogleProductCategory() 7521 { 7522 return $this->googleProductCategory; 7523 } 7524 public function setGtin($gtin) 7525 { 7526 $this->gtin = $gtin; 7527 } 7528 public function getGtin() 7529 { 7530 return $this->gtin; 7531 } 7532 public function setId($id) 7533 { 7534 $this->id = $id; 7535 } 7536 public function getId() 7537 { 7538 return $this->id; 7539 } 7540 public function setIdentifierExists($identifierExists) 7541 { 7542 $this->identifierExists = $identifierExists; 7543 } 7544 public function getIdentifierExists() 7545 { 7546 return $this->identifierExists; 7547 } 7548 public function setImageLink($imageLink) 7549 { 7550 $this->imageLink = $imageLink; 7551 } 7552 public function getImageLink() 7553 { 7554 return $this->imageLink; 7555 } 7556 public function setInstallment(Google_Service_ShoppingContent_ProductInstallment $installment) 7557 { 7558 $this->installment = $installment; 7559 } 7560 public function getInstallment() 7561 { 7562 return $this->installment; 7563 } 7564 public function setIsBundle($isBundle) 7565 { 7566 $this->isBundle = $isBundle; 7567 } 7568 public function getIsBundle() 7569 { 7570 return $this->isBundle; 7571 } 7572 public function setItemGroupId($itemGroupId) 7573 { 7574 $this->itemGroupId = $itemGroupId; 7575 } 7576 public function getItemGroupId() 7577 { 7578 return $this->itemGroupId; 7579 } 7580 public function setKind($kind) 7581 { 7582 $this->kind = $kind; 7583 } 7584 public function getKind() 7585 { 7586 return $this->kind; 7587 } 7588 public function setLink($link) 7589 { 7590 $this->link = $link; 7591 } 7592 public function getLink() 7593 { 7594 return $this->link; 7595 } 7596 public function setLoyaltyPoints(Google_Service_ShoppingContent_LoyaltyPoints $loyaltyPoints) 7597 { 7598 $this->loyaltyPoints = $loyaltyPoints; 7599 } 7600 public function getLoyaltyPoints() 7601 { 7602 return $this->loyaltyPoints; 7603 } 7604 public function setMaterial($material) 7605 { 7606 $this->material = $material; 7607 } 7608 public function getMaterial() 7609 { 7610 return $this->material; 7611 } 7612 public function setMobileLink($mobileLink) 7613 { 7614 $this->mobileLink = $mobileLink; 7615 } 7616 public function getMobileLink() 7617 { 7618 return $this->mobileLink; 7619 } 7620 public function setMpn($mpn) 7621 { 7622 $this->mpn = $mpn; 7623 } 7624 public function getMpn() 7625 { 7626 return $this->mpn; 7627 } 7628 public function setMultipack($multipack) 7629 { 7630 $this->multipack = $multipack; 7631 } 7632 public function getMultipack() 7633 { 7634 return $this->multipack; 7635 } 7636 public function setOfferId($offerId) 7637 { 7638 $this->offerId = $offerId; 7639 } 7640 public function getOfferId() 7641 { 7642 return $this->offerId; 7643 } 7644 public function setOnlineOnly($onlineOnly) 7645 { 7646 $this->onlineOnly = $onlineOnly; 7647 } 7648 public function getOnlineOnly() 7649 { 7650 return $this->onlineOnly; 7651 } 7652 public function setPattern($pattern) 7653 { 7654 $this->pattern = $pattern; 7655 } 7656 public function getPattern() 7657 { 7658 return $this->pattern; 7659 } 7660 public function setPrice(Google_Service_ShoppingContent_Price $price) 7661 { 7662 $this->price = $price; 7663 } 7664 public function getPrice() 7665 { 7666 return $this->price; 7667 } 7668 public function setProductType($productType) 7669 { 7670 $this->productType = $productType; 7671 } 7672 public function getProductType() 7673 { 7674 return $this->productType; 7675 } 7676 public function setSalePrice(Google_Service_ShoppingContent_Price $salePrice) 7677 { 7678 $this->salePrice = $salePrice; 7679 } 7680 public function getSalePrice() 7681 { 7682 return $this->salePrice; 7683 } 7684 public function setSalePriceEffectiveDate($salePriceEffectiveDate) 7685 { 7686 $this->salePriceEffectiveDate = $salePriceEffectiveDate; 7687 } 7688 public function getSalePriceEffectiveDate() 7689 { 7690 return $this->salePriceEffectiveDate; 7691 } 7692 public function setSellOnGoogleQuantity($sellOnGoogleQuantity) 7693 { 7694 $this->sellOnGoogleQuantity = $sellOnGoogleQuantity; 7695 } 7696 public function getSellOnGoogleQuantity() 7697 { 7698 return $this->sellOnGoogleQuantity; 7699 } 7700 public function setShipping($shipping) 7701 { 7702 $this->shipping = $shipping; 7703 } 7704 public function getShipping() 7705 { 7706 return $this->shipping; 7707 } 7708 public function setShippingHeight(Google_Service_ShoppingContent_ProductShippingDimension $shippingHeight) 7709 { 7710 $this->shippingHeight = $shippingHeight; 7711 } 7712 public function getShippingHeight() 7713 { 7714 return $this->shippingHeight; 7715 } 7716 public function setShippingLabel($shippingLabel) 7717 { 7718 $this->shippingLabel = $shippingLabel; 7719 } 7720 public function getShippingLabel() 7721 { 7722 return $this->shippingLabel; 7723 } 7724 public function setShippingLength(Google_Service_ShoppingContent_ProductShippingDimension $shippingLength) 7725 { 7726 $this->shippingLength = $shippingLength; 7727 } 7728 public function getShippingLength() 7729 { 7730 return $this->shippingLength; 7731 } 7732 public function setShippingWeight(Google_Service_ShoppingContent_ProductShippingWeight $shippingWeight) 7733 { 7734 $this->shippingWeight = $shippingWeight; 7735 } 7736 public function getShippingWeight() 7737 { 7738 return $this->shippingWeight; 7739 } 7740 public function setShippingWidth(Google_Service_ShoppingContent_ProductShippingDimension $shippingWidth) 7741 { 7742 $this->shippingWidth = $shippingWidth; 7743 } 7744 public function getShippingWidth() 7745 { 7746 return $this->shippingWidth; 7747 } 7748 public function setSizeSystem($sizeSystem) 7749 { 7750 $this->sizeSystem = $sizeSystem; 7751 } 7752 public function getSizeSystem() 7753 { 7754 return $this->sizeSystem; 7755 } 7756 public function setSizeType($sizeType) 7757 { 7758 $this->sizeType = $sizeType; 7759 } 7760 public function getSizeType() 7761 { 7762 return $this->sizeType; 7763 } 7764 public function setSizes($sizes) 7765 { 7766 $this->sizes = $sizes; 7767 } 7768 public function getSizes() 7769 { 7770 return $this->sizes; 7771 } 7772 public function setTargetCountry($targetCountry) 7773 { 7774 $this->targetCountry = $targetCountry; 7775 } 7776 public function getTargetCountry() 7777 { 7778 return $this->targetCountry; 7779 } 7780 public function setTaxes($taxes) 7781 { 7782 $this->taxes = $taxes; 7783 } 7784 public function getTaxes() 7785 { 7786 return $this->taxes; 7787 } 7788 public function setTitle($title) 7789 { 7790 $this->title = $title; 7791 } 7792 public function getTitle() 7793 { 7794 return $this->title; 7795 } 7796 public function setUnitPricingBaseMeasure(Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure $unitPricingBaseMeasure) 7797 { 7798 $this->unitPricingBaseMeasure = $unitPricingBaseMeasure; 7799 } 7800 public function getUnitPricingBaseMeasure() 7801 { 7802 return $this->unitPricingBaseMeasure; 7803 } 7804 public function setUnitPricingMeasure(Google_Service_ShoppingContent_ProductUnitPricingMeasure $unitPricingMeasure) 7805 { 7806 $this->unitPricingMeasure = $unitPricingMeasure; 7807 } 7808 public function getUnitPricingMeasure() 7809 { 7810 return $this->unitPricingMeasure; 7811 } 7812 public function setValidatedDestinations($validatedDestinations) 7813 { 7814 $this->validatedDestinations = $validatedDestinations; 7815 } 7816 public function getValidatedDestinations() 7817 { 7818 return $this->validatedDestinations; 7819 } 7820 public function setWarnings($warnings) 7821 { 7822 $this->warnings = $warnings; 7823 } 7824 public function getWarnings() 7825 { 7826 return $this->warnings; 7827 } 7828 } 7829 7830 class Google_Service_ShoppingContent_ProductAspect extends Google_Model 7831 { 7832 protected $internal_gapi_mappings = array( 7833 ); 7834 public $aspectName; 7835 public $destinationName; 7836 public $intention; 7837 7838 7839 public function setAspectName($aspectName) 7840 { 7841 $this->aspectName = $aspectName; 7842 } 7843 public function getAspectName() 7844 { 7845 return $this->aspectName; 7846 } 7847 public function setDestinationName($destinationName) 7848 { 7849 $this->destinationName = $destinationName; 7850 } 7851 public function getDestinationName() 7852 { 7853 return $this->destinationName; 7854 } 7855 public function setIntention($intention) 7856 { 7857 $this->intention = $intention; 7858 } 7859 public function getIntention() 7860 { 7861 return $this->intention; 7862 } 7863 } 7864 7865 class Google_Service_ShoppingContent_ProductCustomAttribute extends Google_Model 7866 { 7867 protected $internal_gapi_mappings = array( 7868 ); 7869 public $name; 7870 public $type; 7871 public $unit; 7872 public $value; 7873 7874 7875 public function setName($name) 7876 { 7877 $this->name = $name; 7878 } 7879 public function getName() 7880 { 7881 return $this->name; 7882 } 7883 public function setType($type) 7884 { 7885 $this->type = $type; 7886 } 7887 public function getType() 7888 { 7889 return $this->type; 7890 } 7891 public function setUnit($unit) 7892 { 7893 $this->unit = $unit; 7894 } 7895 public function getUnit() 7896 { 7897 return $this->unit; 7898 } 7899 public function setValue($value) 7900 { 7901 $this->value = $value; 7902 } 7903 public function getValue() 7904 { 7905 return $this->value; 7906 } 7907 } 7908 7909 class Google_Service_ShoppingContent_ProductCustomGroup extends Google_Collection 7910 { 7911 protected $collection_key = 'attributes'; 7912 protected $internal_gapi_mappings = array( 7913 ); 7914 protected $attributesType = 'Google_Service_ShoppingContent_ProductCustomAttribute'; 7915 protected $attributesDataType = 'array'; 7916 public $name; 7917 7918 7919 public function setAttributes($attributes) 7920 { 7921 $this->attributes = $attributes; 7922 } 7923 public function getAttributes() 7924 { 7925 return $this->attributes; 7926 } 7927 public function setName($name) 7928 { 7929 $this->name = $name; 7930 } 7931 public function getName() 7932 { 7933 return $this->name; 7934 } 7935 } 7936 7937 class Google_Service_ShoppingContent_ProductDestination extends Google_Model 7938 { 7939 protected $internal_gapi_mappings = array( 7940 ); 7941 public $destinationName; 7942 public $intention; 7943 7944 7945 public function setDestinationName($destinationName) 7946 { 7947 $this->destinationName = $destinationName; 7948 } 7949 public function getDestinationName() 7950 { 7951 return $this->destinationName; 7952 } 7953 public function setIntention($intention) 7954 { 7955 $this->intention = $intention; 7956 } 7957 public function getIntention() 7958 { 7959 return $this->intention; 7960 } 7961 } 7962 7963 class Google_Service_ShoppingContent_ProductInstallment extends Google_Model 7964 { 7965 protected $internal_gapi_mappings = array( 7966 ); 7967 protected $amountType = 'Google_Service_ShoppingContent_Price'; 7968 protected $amountDataType = ''; 7969 public $months; 7970 7971 7972 public function setAmount(Google_Service_ShoppingContent_Price $amount) 7973 { 7974 $this->amount = $amount; 7975 } 7976 public function getAmount() 7977 { 7978 return $this->amount; 7979 } 7980 public function setMonths($months) 7981 { 7982 $this->months = $months; 7983 } 7984 public function getMonths() 7985 { 7986 return $this->months; 7987 } 7988 } 7989 7990 class Google_Service_ShoppingContent_ProductShipping extends Google_Model 7991 { 7992 protected $internal_gapi_mappings = array( 7993 ); 7994 public $country; 7995 public $locationGroupName; 7996 public $locationId; 7997 public $postalCode; 7998 protected $priceType = 'Google_Service_ShoppingContent_Price'; 7999 protected $priceDataType = ''; 8000 public $region; 8001 public $service; 8002 8003 8004 public function setCountry($country) 8005 { 8006 $this->country = $country; 8007 } 8008 public function getCountry() 8009 { 8010 return $this->country; 8011 } 8012 public function setLocationGroupName($locationGroupName) 8013 { 8014 $this->locationGroupName = $locationGroupName; 8015 } 8016 public function getLocationGroupName() 8017 { 8018 return $this->locationGroupName; 8019 } 8020 public function setLocationId($locationId) 8021 { 8022 $this->locationId = $locationId; 8023 } 8024 public function getLocationId() 8025 { 8026 return $this->locationId; 8027 } 8028 public function setPostalCode($postalCode) 8029 { 8030 $this->postalCode = $postalCode; 8031 } 8032 public function getPostalCode() 8033 { 8034 return $this->postalCode; 8035 } 8036 public function setPrice(Google_Service_ShoppingContent_Price $price) 8037 { 8038 $this->price = $price; 8039 } 8040 public function getPrice() 8041 { 8042 return $this->price; 8043 } 8044 public function setRegion($region) 8045 { 8046 $this->region = $region; 8047 } 8048 public function getRegion() 8049 { 8050 return $this->region; 8051 } 8052 public function setService($service) 8053 { 8054 $this->service = $service; 8055 } 8056 public function getService() 8057 { 8058 return $this->service; 8059 } 8060 } 8061 8062 class Google_Service_ShoppingContent_ProductShippingDimension extends Google_Model 8063 { 8064 protected $internal_gapi_mappings = array( 8065 ); 8066 public $unit; 8067 public $value; 8068 8069 8070 public function setUnit($unit) 8071 { 8072 $this->unit = $unit; 8073 } 8074 public function getUnit() 8075 { 8076 return $this->unit; 8077 } 8078 public function setValue($value) 8079 { 8080 $this->value = $value; 8081 } 8082 public function getValue() 8083 { 8084 return $this->value; 8085 } 8086 } 8087 8088 class Google_Service_ShoppingContent_ProductShippingWeight extends Google_Model 8089 { 8090 protected $internal_gapi_mappings = array( 8091 ); 8092 public $unit; 8093 public $value; 8094 8095 8096 public function setUnit($unit) 8097 { 8098 $this->unit = $unit; 8099 } 8100 public function getUnit() 8101 { 8102 return $this->unit; 8103 } 8104 public function setValue($value) 8105 { 8106 $this->value = $value; 8107 } 8108 public function getValue() 8109 { 8110 return $this->value; 8111 } 8112 } 8113 8114 class Google_Service_ShoppingContent_ProductStatus extends Google_Collection 8115 { 8116 protected $collection_key = 'destinationStatuses'; 8117 protected $internal_gapi_mappings = array( 8118 ); 8119 public $creationDate; 8120 protected $dataQualityIssuesType = 'Google_Service_ShoppingContent_ProductStatusDataQualityIssue'; 8121 protected $dataQualityIssuesDataType = 'array'; 8122 protected $destinationStatusesType = 'Google_Service_ShoppingContent_ProductStatusDestinationStatus'; 8123 protected $destinationStatusesDataType = 'array'; 8124 public $googleExpirationDate; 8125 public $kind; 8126 public $lastUpdateDate; 8127 public $link; 8128 public $productId; 8129 public $title; 8130 8131 8132 public function setCreationDate($creationDate) 8133 { 8134 $this->creationDate = $creationDate; 8135 } 8136 public function getCreationDate() 8137 { 8138 return $this->creationDate; 8139 } 8140 public function setDataQualityIssues($dataQualityIssues) 8141 { 8142 $this->dataQualityIssues = $dataQualityIssues; 8143 } 8144 public function getDataQualityIssues() 8145 { 8146 return $this->dataQualityIssues; 8147 } 8148 public function setDestinationStatuses($destinationStatuses) 8149 { 8150 $this->destinationStatuses = $destinationStatuses; 8151 } 8152 public function getDestinationStatuses() 8153 { 8154 return $this->destinationStatuses; 8155 } 8156 public function setGoogleExpirationDate($googleExpirationDate) 8157 { 8158 $this->googleExpirationDate = $googleExpirationDate; 8159 } 8160 public function getGoogleExpirationDate() 8161 { 8162 return $this->googleExpirationDate; 8163 } 8164 public function setKind($kind) 8165 { 8166 $this->kind = $kind; 8167 } 8168 public function getKind() 8169 { 8170 return $this->kind; 8171 } 8172 public function setLastUpdateDate($lastUpdateDate) 8173 { 8174 $this->lastUpdateDate = $lastUpdateDate; 8175 } 8176 public function getLastUpdateDate() 8177 { 8178 return $this->lastUpdateDate; 8179 } 8180 public function setLink($link) 8181 { 8182 $this->link = $link; 8183 } 8184 public function getLink() 8185 { 8186 return $this->link; 8187 } 8188 public function setProductId($productId) 8189 { 8190 $this->productId = $productId; 8191 } 8192 public function getProductId() 8193 { 8194 return $this->productId; 8195 } 8196 public function setTitle($title) 8197 { 8198 $this->title = $title; 8199 } 8200 public function getTitle() 8201 { 8202 return $this->title; 8203 } 8204 } 8205 8206 class Google_Service_ShoppingContent_ProductStatusDataQualityIssue extends Google_Model 8207 { 8208 protected $internal_gapi_mappings = array( 8209 ); 8210 public $detail; 8211 public $fetchStatus; 8212 public $id; 8213 public $location; 8214 public $severity; 8215 public $timestamp; 8216 public $valueOnLandingPage; 8217 public $valueProvided; 8218 8219 8220 public function setDetail($detail) 8221 { 8222 $this->detail = $detail; 8223 } 8224 public function getDetail() 8225 { 8226 return $this->detail; 8227 } 8228 public function setFetchStatus($fetchStatus) 8229 { 8230 $this->fetchStatus = $fetchStatus; 8231 } 8232 public function getFetchStatus() 8233 { 8234 return $this->fetchStatus; 8235 } 8236 public function setId($id) 8237 { 8238 $this->id = $id; 8239 } 8240 public function getId() 8241 { 8242 return $this->id; 8243 } 8244 public function setLocation($location) 8245 { 8246 $this->location = $location; 8247 } 8248 public function getLocation() 8249 { 8250 return $this->location; 8251 } 8252 public function setSeverity($severity) 8253 { 8254 $this->severity = $severity; 8255 } 8256 public function getSeverity() 8257 { 8258 return $this->severity; 8259 } 8260 public function setTimestamp($timestamp) 8261 { 8262 $this->timestamp = $timestamp; 8263 } 8264 public function getTimestamp() 8265 { 8266 return $this->timestamp; 8267 } 8268 public function setValueOnLandingPage($valueOnLandingPage) 8269 { 8270 $this->valueOnLandingPage = $valueOnLandingPage; 8271 } 8272 public function getValueOnLandingPage() 8273 { 8274 return $this->valueOnLandingPage; 8275 } 8276 public function setValueProvided($valueProvided) 8277 { 8278 $this->valueProvided = $valueProvided; 8279 } 8280 public function getValueProvided() 8281 { 8282 return $this->valueProvided; 8283 } 8284 } 8285 8286 class Google_Service_ShoppingContent_ProductStatusDestinationStatus extends Google_Model 8287 { 8288 protected $internal_gapi_mappings = array( 8289 ); 8290 public $approvalStatus; 8291 public $destination; 8292 public $intention; 8293 8294 8295 public function setApprovalStatus($approvalStatus) 8296 { 8297 $this->approvalStatus = $approvalStatus; 8298 } 8299 public function getApprovalStatus() 8300 { 8301 return $this->approvalStatus; 8302 } 8303 public function setDestination($destination) 8304 { 8305 $this->destination = $destination; 8306 } 8307 public function getDestination() 8308 { 8309 return $this->destination; 8310 } 8311 public function setIntention($intention) 8312 { 8313 $this->intention = $intention; 8314 } 8315 public function getIntention() 8316 { 8317 return $this->intention; 8318 } 8319 } 8320 8321 class Google_Service_ShoppingContent_ProductTax extends Google_Model 8322 { 8323 protected $internal_gapi_mappings = array( 8324 ); 8325 public $country; 8326 public $locationId; 8327 public $postalCode; 8328 public $rate; 8329 public $region; 8330 public $taxShip; 8331 8332 8333 public function setCountry($country) 8334 { 8335 $this->country = $country; 8336 } 8337 public function getCountry() 8338 { 8339 return $this->country; 8340 } 8341 public function setLocationId($locationId) 8342 { 8343 $this->locationId = $locationId; 8344 } 8345 public function getLocationId() 8346 { 8347 return $this->locationId; 8348 } 8349 public function setPostalCode($postalCode) 8350 { 8351 $this->postalCode = $postalCode; 8352 } 8353 public function getPostalCode() 8354 { 8355 return $this->postalCode; 8356 } 8357 public function setRate($rate) 8358 { 8359 $this->rate = $rate; 8360 } 8361 public function getRate() 8362 { 8363 return $this->rate; 8364 } 8365 public function setRegion($region) 8366 { 8367 $this->region = $region; 8368 } 8369 public function getRegion() 8370 { 8371 return $this->region; 8372 } 8373 public function setTaxShip($taxShip) 8374 { 8375 $this->taxShip = $taxShip; 8376 } 8377 public function getTaxShip() 8378 { 8379 return $this->taxShip; 8380 } 8381 } 8382 8383 class Google_Service_ShoppingContent_ProductUnitPricingBaseMeasure extends Google_Model 8384 { 8385 protected $internal_gapi_mappings = array( 8386 ); 8387 public $unit; 8388 public $value; 8389 8390 8391 public function setUnit($unit) 8392 { 8393 $this->unit = $unit; 8394 } 8395 public function getUnit() 8396 { 8397 return $this->unit; 8398 } 8399 public function setValue($value) 8400 { 8401 $this->value = $value; 8402 } 8403 public function getValue() 8404 { 8405 return $this->value; 8406 } 8407 } 8408 8409 class Google_Service_ShoppingContent_ProductUnitPricingMeasure extends Google_Model 8410 { 8411 protected $internal_gapi_mappings = array( 8412 ); 8413 public $unit; 8414 public $value; 8415 8416 8417 public function setUnit($unit) 8418 { 8419 $this->unit = $unit; 8420 } 8421 public function getUnit() 8422 { 8423 return $this->unit; 8424 } 8425 public function setValue($value) 8426 { 8427 $this->value = $value; 8428 } 8429 public function getValue() 8430 { 8431 return $this->value; 8432 } 8433 } 8434 8435 class Google_Service_ShoppingContent_ProductsCustomBatchRequest extends Google_Collection 8436 { 8437 protected $collection_key = 'entries'; 8438 protected $internal_gapi_mappings = array( 8439 ); 8440 protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry'; 8441 protected $entriesDataType = 'array'; 8442 8443 8444 public function setEntries($entries) 8445 { 8446 $this->entries = $entries; 8447 } 8448 public function getEntries() 8449 { 8450 return $this->entries; 8451 } 8452 } 8453 8454 class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model 8455 { 8456 protected $internal_gapi_mappings = array( 8457 ); 8458 public $batchId; 8459 public $merchantId; 8460 public $method; 8461 protected $productType = 'Google_Service_ShoppingContent_Product'; 8462 protected $productDataType = ''; 8463 public $productId; 8464 8465 8466 public function setBatchId($batchId) 8467 { 8468 $this->batchId = $batchId; 8469 } 8470 public function getBatchId() 8471 { 8472 return $this->batchId; 8473 } 8474 public function setMerchantId($merchantId) 8475 { 8476 $this->merchantId = $merchantId; 8477 } 8478 public function getMerchantId() 8479 { 8480 return $this->merchantId; 8481 } 8482 public function setMethod($method) 8483 { 8484 $this->method = $method; 8485 } 8486 public function getMethod() 8487 { 8488 return $this->method; 8489 } 8490 public function setProduct(Google_Service_ShoppingContent_Product $product) 8491 { 8492 $this->product = $product; 8493 } 8494 public function getProduct() 8495 { 8496 return $this->product; 8497 } 8498 public function setProductId($productId) 8499 { 8500 $this->productId = $productId; 8501 } 8502 public function getProductId() 8503 { 8504 return $this->productId; 8505 } 8506 } 8507 8508 class Google_Service_ShoppingContent_ProductsCustomBatchResponse extends Google_Collection 8509 { 8510 protected $collection_key = 'entries'; 8511 protected $internal_gapi_mappings = array( 8512 ); 8513 protected $entriesType = 'Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry'; 8514 protected $entriesDataType = 'array'; 8515 public $kind; 8516 8517 8518 public function setEntries($entries) 8519 { 8520 $this->entries = $entries; 8521 } 8522 public function getEntries() 8523 { 8524 return $this->entries; 8525 } 8526 public function setKind($kind) 8527 { 8528 $this->kind = $kind; 8529 } 8530 public function getKind() 8531 { 8532 return $this->kind; 8533 } 8534 } 8535 8536 class Google_Service_ShoppingContent_ProductsCustomBatchResponseEntry extends Google_Model 8537 { 8538 protected $internal_gapi_mappings = array( 8539 ); 8540 public $batchId; 8541 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 8542 protected $errorsDataType = ''; 8543 public $kind; 8544 protected $productType = 'Google_Service_ShoppingContent_Product'; 8545 protected $productDataType = ''; 8546 8547 8548 public function setBatchId($batchId) 8549 { 8550 $this->batchId = $batchId; 8551 } 8552 public function getBatchId() 8553 { 8554 return $this->batchId; 8555 } 8556 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 8557 { 8558 $this->errors = $errors; 8559 } 8560 public function getErrors() 8561 { 8562 return $this->errors; 8563 } 8564 public function setKind($kind) 8565 { 8566 $this->kind = $kind; 8567 } 8568 public function getKind() 8569 { 8570 return $this->kind; 8571 } 8572 public function setProduct(Google_Service_ShoppingContent_Product $product) 8573 { 8574 $this->product = $product; 8575 } 8576 public function getProduct() 8577 { 8578 return $this->product; 8579 } 8580 } 8581 8582 class Google_Service_ShoppingContent_ProductsListResponse extends Google_Collection 8583 { 8584 protected $collection_key = 'resources'; 8585 protected $internal_gapi_mappings = array( 8586 ); 8587 public $kind; 8588 public $nextPageToken; 8589 protected $resourcesType = 'Google_Service_ShoppingContent_Product'; 8590 protected $resourcesDataType = 'array'; 8591 8592 8593 public function setKind($kind) 8594 { 8595 $this->kind = $kind; 8596 } 8597 public function getKind() 8598 { 8599 return $this->kind; 8600 } 8601 public function setNextPageToken($nextPageToken) 8602 { 8603 $this->nextPageToken = $nextPageToken; 8604 } 8605 public function getNextPageToken() 8606 { 8607 return $this->nextPageToken; 8608 } 8609 public function setResources($resources) 8610 { 8611 $this->resources = $resources; 8612 } 8613 public function getResources() 8614 { 8615 return $this->resources; 8616 } 8617 } 8618 8619 class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequest extends Google_Collection 8620 { 8621 protected $collection_key = 'entries'; 8622 protected $internal_gapi_mappings = array( 8623 ); 8624 protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry'; 8625 protected $entriesDataType = 'array'; 8626 8627 8628 public function setEntries($entries) 8629 { 8630 $this->entries = $entries; 8631 } 8632 public function getEntries() 8633 { 8634 return $this->entries; 8635 } 8636 } 8637 8638 class Google_Service_ShoppingContent_ProductstatusesCustomBatchRequestEntry extends Google_Model 8639 { 8640 protected $internal_gapi_mappings = array( 8641 ); 8642 public $batchId; 8643 public $merchantId; 8644 public $method; 8645 public $productId; 8646 8647 8648 public function setBatchId($batchId) 8649 { 8650 $this->batchId = $batchId; 8651 } 8652 public function getBatchId() 8653 { 8654 return $this->batchId; 8655 } 8656 public function setMerchantId($merchantId) 8657 { 8658 $this->merchantId = $merchantId; 8659 } 8660 public function getMerchantId() 8661 { 8662 return $this->merchantId; 8663 } 8664 public function setMethod($method) 8665 { 8666 $this->method = $method; 8667 } 8668 public function getMethod() 8669 { 8670 return $this->method; 8671 } 8672 public function setProductId($productId) 8673 { 8674 $this->productId = $productId; 8675 } 8676 public function getProductId() 8677 { 8678 return $this->productId; 8679 } 8680 } 8681 8682 class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponse extends Google_Collection 8683 { 8684 protected $collection_key = 'entries'; 8685 protected $internal_gapi_mappings = array( 8686 ); 8687 protected $entriesType = 'Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry'; 8688 protected $entriesDataType = 'array'; 8689 public $kind; 8690 8691 8692 public function setEntries($entries) 8693 { 8694 $this->entries = $entries; 8695 } 8696 public function getEntries() 8697 { 8698 return $this->entries; 8699 } 8700 public function setKind($kind) 8701 { 8702 $this->kind = $kind; 8703 } 8704 public function getKind() 8705 { 8706 return $this->kind; 8707 } 8708 } 8709 8710 class Google_Service_ShoppingContent_ProductstatusesCustomBatchResponseEntry extends Google_Model 8711 { 8712 protected $internal_gapi_mappings = array( 8713 ); 8714 public $batchId; 8715 protected $errorsType = 'Google_Service_ShoppingContent_Errors'; 8716 protected $errorsDataType = ''; 8717 public $kind; 8718 protected $productStatusType = 'Google_Service_ShoppingContent_ProductStatus'; 8719 protected $productStatusDataType = ''; 8720 8721 8722 public function setBatchId($batchId) 8723 { 8724 $this->batchId = $batchId; 8725 } 8726 public function getBatchId() 8727 { 8728 return $this->batchId; 8729 } 8730 public function setErrors(Google_Service_ShoppingContent_Errors $errors) 8731 { 8732 $this->errors = $errors; 8733 } 8734 public function getErrors() 8735 { 8736 return $this->errors; 8737 } 8738 public function setKind($kind) 8739 { 8740 $this->kind = $kind; 8741 } 8742 public function getKind() 8743 { 8744 return $this->kind; 8745 } 8746 public function setProductStatus(Google_Service_ShoppingContent_ProductStatus $productStatus) 8747 { 8748 $this->productStatus = $productStatus; 8749 } 8750 public function getProductStatus() 8751 { 8752 return $this->productStatus; 8753 } 8754 } 8755 8756 class Google_Service_ShoppingContent_ProductstatusesListResponse extends Google_Collection 8757 { 8758 protected $collection_key = 'resources'; 8759 protected $internal_gapi_mappings = array( 8760 ); 8761 public $kind; 8762 public $nextPageToken; 8763 protected $resourcesType = 'Google_Service_ShoppingContent_ProductStatus'; 8764 protected $resourcesDataType = 'array'; 8765 8766 8767 public function setKind($kind) 8768 { 8769 $this->kind = $kind; 8770 } 8771 public function getKind() 8772 { 8773 return $this->kind; 8774 } 8775 public function setNextPageToken($nextPageToken) 8776 { 8777 $this->nextPageToken = $nextPageToken; 8778 } 8779 public function getNextPageToken() 8780 { 8781 return $this->nextPageToken; 8782 } 8783 public function setResources($resources) 8784 { 8785 $this->resources = $resources; 8786 } 8787 public function getResources() 8788 { 8789 return $this->resources; 8790 } 8791 } 8792 8793 class Google_Service_ShoppingContent_TestOrder extends Google_Collection 8794 { 8795 protected $collection_key = 'lineItems'; 8796 protected $internal_gapi_mappings = array( 8797 ); 8798 protected $customerType = 'Google_Service_ShoppingContent_TestOrderCustomer'; 8799 protected $customerDataType = ''; 8800 public $kind; 8801 protected $lineItemsType = 'Google_Service_ShoppingContent_TestOrderLineItem'; 8802 protected $lineItemsDataType = 'array'; 8803 protected $paymentMethodType = 'Google_Service_ShoppingContent_TestOrderPaymentMethod'; 8804 protected $paymentMethodDataType = ''; 8805 public $predefinedDeliveryAddress; 8806 protected $shippingCostType = 'Google_Service_ShoppingContent_Price'; 8807 protected $shippingCostDataType = ''; 8808 protected $shippingCostTaxType = 'Google_Service_ShoppingContent_Price'; 8809 protected $shippingCostTaxDataType = ''; 8810 public $shippingOption; 8811 8812 8813 public function setCustomer(Google_Service_ShoppingContent_TestOrderCustomer $customer) 8814 { 8815 $this->customer = $customer; 8816 } 8817 public function getCustomer() 8818 { 8819 return $this->customer; 8820 } 8821 public function setKind($kind) 8822 { 8823 $this->kind = $kind; 8824 } 8825 public function getKind() 8826 { 8827 return $this->kind; 8828 } 8829 public function setLineItems($lineItems) 8830 { 8831 $this->lineItems = $lineItems; 8832 } 8833 public function getLineItems() 8834 { 8835 return $this->lineItems; 8836 } 8837 public function setPaymentMethod(Google_Service_ShoppingContent_TestOrderPaymentMethod $paymentMethod) 8838 { 8839 $this->paymentMethod = $paymentMethod; 8840 } 8841 public function getPaymentMethod() 8842 { 8843 return $this->paymentMethod; 8844 } 8845 public function setPredefinedDeliveryAddress($predefinedDeliveryAddress) 8846 { 8847 $this->predefinedDeliveryAddress = $predefinedDeliveryAddress; 8848 } 8849 public function getPredefinedDeliveryAddress() 8850 { 8851 return $this->predefinedDeliveryAddress; 8852 } 8853 public function setShippingCost(Google_Service_ShoppingContent_Price $shippingCost) 8854 { 8855 $this->shippingCost = $shippingCost; 8856 } 8857 public function getShippingCost() 8858 { 8859 return $this->shippingCost; 8860 } 8861 public function setShippingCostTax(Google_Service_ShoppingContent_Price $shippingCostTax) 8862 { 8863 $this->shippingCostTax = $shippingCostTax; 8864 } 8865 public function getShippingCostTax() 8866 { 8867 return $this->shippingCostTax; 8868 } 8869 public function setShippingOption($shippingOption) 8870 { 8871 $this->shippingOption = $shippingOption; 8872 } 8873 public function getShippingOption() 8874 { 8875 return $this->shippingOption; 8876 } 8877 } 8878 8879 class Google_Service_ShoppingContent_TestOrderCustomer extends Google_Model 8880 { 8881 protected $internal_gapi_mappings = array( 8882 ); 8883 public $email; 8884 public $explicitMarketingPreference; 8885 public $fullName; 8886 8887 8888 public function setEmail($email) 8889 { 8890 $this->email = $email; 8891 } 8892 public function getEmail() 8893 { 8894 return $this->email; 8895 } 8896 public function setExplicitMarketingPreference($explicitMarketingPreference) 8897 { 8898 $this->explicitMarketingPreference = $explicitMarketingPreference; 8899 } 8900 public function getExplicitMarketingPreference() 8901 { 8902 return $this->explicitMarketingPreference; 8903 } 8904 public function setFullName($fullName) 8905 { 8906 $this->fullName = $fullName; 8907 } 8908 public function getFullName() 8909 { 8910 return $this->fullName; 8911 } 8912 } 8913 8914 class Google_Service_ShoppingContent_TestOrderLineItem extends Google_Model 8915 { 8916 protected $internal_gapi_mappings = array( 8917 ); 8918 protected $productType = 'Google_Service_ShoppingContent_TestOrderLineItemProduct'; 8919 protected $productDataType = ''; 8920 public $quantityOrdered; 8921 protected $returnInfoType = 'Google_Service_ShoppingContent_OrderLineItemReturnInfo'; 8922 protected $returnInfoDataType = ''; 8923 protected $shippingDetailsType = 'Google_Service_ShoppingContent_OrderLineItemShippingDetails'; 8924 protected $shippingDetailsDataType = ''; 8925 protected $unitTaxType = 'Google_Service_ShoppingContent_Price'; 8926 protected $unitTaxDataType = ''; 8927 8928 8929 public function setProduct(Google_Service_ShoppingContent_TestOrderLineItemProduct $product) 8930 { 8931 $this->product = $product; 8932 } 8933 public function getProduct() 8934 { 8935 return $this->product; 8936 } 8937 public function setQuantityOrdered($quantityOrdered) 8938 { 8939 $this->quantityOrdered = $quantityOrdered; 8940 } 8941 public function getQuantityOrdered() 8942 { 8943 return $this->quantityOrdered; 8944 } 8945 public function setReturnInfo(Google_Service_ShoppingContent_OrderLineItemReturnInfo $returnInfo) 8946 { 8947 $this->returnInfo = $returnInfo; 8948 } 8949 public function getReturnInfo() 8950 { 8951 return $this->returnInfo; 8952 } 8953 public function setShippingDetails(Google_Service_ShoppingContent_OrderLineItemShippingDetails $shippingDetails) 8954 { 8955 $this->shippingDetails = $shippingDetails; 8956 } 8957 public function getShippingDetails() 8958 { 8959 return $this->shippingDetails; 8960 } 8961 public function setUnitTax(Google_Service_ShoppingContent_Price $unitTax) 8962 { 8963 $this->unitTax = $unitTax; 8964 } 8965 public function getUnitTax() 8966 { 8967 return $this->unitTax; 8968 } 8969 } 8970 8971 class Google_Service_ShoppingContent_TestOrderLineItemProduct extends Google_Collection 8972 { 8973 protected $collection_key = 'variantAttributes'; 8974 protected $internal_gapi_mappings = array( 8975 ); 8976 public $brand; 8977 public $channel; 8978 public $condition; 8979 public $contentLanguage; 8980 public $gtin; 8981 public $imageLink; 8982 public $itemGroupId; 8983 public $mpn; 8984 public $offerId; 8985 protected $priceType = 'Google_Service_ShoppingContent_Price'; 8986 protected $priceDataType = ''; 8987 public $targetCountry; 8988 public $title; 8989 protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute'; 8990 protected $variantAttributesDataType = 'array'; 8991 8992 8993 public function setBrand($brand) 8994 { 8995 $this->brand = $brand; 8996 } 8997 public function getBrand() 8998 { 8999 return $this->brand; 9000 } 9001 public function setChannel($channel) 9002 { 9003 $this->channel = $channel; 9004 } 9005 public function getChannel() 9006 { 9007 return $this->channel; 9008 } 9009 public function setCondition($condition) 9010 { 9011 $this->condition = $condition; 9012 } 9013 public function getCondition() 9014 { 9015 return $this->condition; 9016 } 9017 public function setContentLanguage($contentLanguage) 9018 { 9019 $this->contentLanguage = $contentLanguage; 9020 } 9021 public function getContentLanguage() 9022 { 9023 return $this->contentLanguage; 9024 } 9025 public function setGtin($gtin) 9026 { 9027 $this->gtin = $gtin; 9028 } 9029 public function getGtin() 9030 { 9031 return $this->gtin; 9032 } 9033 public function setImageLink($imageLink) 9034 { 9035 $this->imageLink = $imageLink; 9036 } 9037 public function getImageLink() 9038 { 9039 return $this->imageLink; 9040 } 9041 public function setItemGroupId($itemGroupId) 9042 { 9043 $this->itemGroupId = $itemGroupId; 9044 } 9045 public function getItemGroupId() 9046 { 9047 return $this->itemGroupId; 9048 } 9049 public function setMpn($mpn) 9050 { 9051 $this->mpn = $mpn; 9052 } 9053 public function getMpn() 9054 { 9055 return $this->mpn; 9056 } 9057 public function setOfferId($offerId) 9058 { 9059 $this->offerId = $offerId; 9060 } 9061 public function getOfferId() 9062 { 9063 return $this->offerId; 9064 } 9065 public function setPrice(Google_Service_ShoppingContent_Price $price) 9066 { 9067 $this->price = $price; 9068 } 9069 public function getPrice() 9070 { 9071 return $this->price; 9072 } 9073 public function setTargetCountry($targetCountry) 9074 { 9075 $this->targetCountry = $targetCountry; 9076 } 9077 public function getTargetCountry() 9078 { 9079 return $this->targetCountry; 9080 } 9081 public function setTitle($title) 9082 { 9083 $this->title = $title; 9084 } 9085 public function getTitle() 9086 { 9087 return $this->title; 9088 } 9089 public function setVariantAttributes($variantAttributes) 9090 { 9091 $this->variantAttributes = $variantAttributes; 9092 } 9093 public function getVariantAttributes() 9094 { 9095 return $this->variantAttributes; 9096 } 9097 } 9098 9099 class Google_Service_ShoppingContent_TestOrderPaymentMethod extends Google_Model 9100 { 9101 protected $internal_gapi_mappings = array( 9102 ); 9103 public $expirationMonth; 9104 public $expirationYear; 9105 public $lastFourDigits; 9106 public $predefinedBillingAddress; 9107 public $type; 9108 9109 9110 public function setExpirationMonth($expirationMonth) 9111 { 9112 $this->expirationMonth = $expirationMonth; 9113 } 9114 public function getExpirationMonth() 9115 { 9116 return $this->expirationMonth; 9117 } 9118 public function setExpirationYear($expirationYear) 9119 { 9120 $this->expirationYear = $expirationYear; 9121 } 9122 public function getExpirationYear() 9123 { 9124 return $this->expirationYear; 9125 } 9126 public function setLastFourDigits($lastFourDigits) 9127 { 9128 $this->lastFourDigits = $lastFourDigits; 9129 } 9130 public function getLastFourDigits() 9131 { 9132 return $this->lastFourDigits; 9133 } 9134 public function setPredefinedBillingAddress($predefinedBillingAddress) 9135 { 9136 $this->predefinedBillingAddress = $predefinedBillingAddress; 9137 } 9138 public function getPredefinedBillingAddress() 9139 { 9140 return $this->predefinedBillingAddress; 9141 } 9142 public function setType($type) 9143 { 9144 $this->type = $type; 9145 } 9146 public function getType() 9147 { 9148 return $this->type; 9149 } 9150 } 9151 9152 class Google_Service_ShoppingContent_Weight extends Google_Model 9153 { 9154 protected $internal_gapi_mappings = array( 9155 ); 9156 public $unit; 9157 public $value; 9158 9159 9160 public function setUnit($unit) 9161 { 9162 $this->unit = $unit; 9163 } 9164 public function getUnit() 9165 { 9166 return $this->unit; 9167 } 9168 public function setValue($value) 9169 { 9170 $this->value = $value; 9171 } 9172 public function getValue() 9173 { 9174 return $this->value; 9175 } 9176 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body