Нет описания

ProductsCustomBatchRequestEntry.php 1.7KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. <?php
  2. /*
  3. * Copyright 2014 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. class Google_Service_ShoppingContent_ProductsCustomBatchRequestEntry extends Google_Model
  18. {
  19. public $batchId;
  20. public $merchantId;
  21. public $method;
  22. protected $productType = 'Google_Service_ShoppingContent_Product';
  23. protected $productDataType = '';
  24. public $productId;
  25. public function setBatchId($batchId)
  26. {
  27. $this->batchId = $batchId;
  28. }
  29. public function getBatchId()
  30. {
  31. return $this->batchId;
  32. }
  33. public function setMerchantId($merchantId)
  34. {
  35. $this->merchantId = $merchantId;
  36. }
  37. public function getMerchantId()
  38. {
  39. return $this->merchantId;
  40. }
  41. public function setMethod($method)
  42. {
  43. $this->method = $method;
  44. }
  45. public function getMethod()
  46. {
  47. return $this->method;
  48. }
  49. /**
  50. * @param Google_Service_ShoppingContent_Product
  51. */
  52. public function setProduct(Google_Service_ShoppingContent_Product $product)
  53. {
  54. $this->product = $product;
  55. }
  56. /**
  57. * @return Google_Service_ShoppingContent_Product
  58. */
  59. public function getProduct()
  60. {
  61. return $this->product;
  62. }
  63. public function setProductId($productId)
  64. {
  65. $this->productId = $productId;
  66. }
  67. public function getProductId()
  68. {
  69. return $this->productId;
  70. }
  71. }