Aucune description

PosCustomBatchResponseEntry.php 2.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  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_PosCustomBatchResponseEntry extends Google_Model
  18. {
  19. public $batchId;
  20. protected $errorsType = 'Google_Service_ShoppingContent_Errors';
  21. protected $errorsDataType = '';
  22. protected $inventoryType = 'Google_Service_ShoppingContent_PosInventory';
  23. protected $inventoryDataType = '';
  24. public $kind;
  25. protected $saleType = 'Google_Service_ShoppingContent_PosSale';
  26. protected $saleDataType = '';
  27. protected $storeType = 'Google_Service_ShoppingContent_PosStore';
  28. protected $storeDataType = '';
  29. public function setBatchId($batchId)
  30. {
  31. $this->batchId = $batchId;
  32. }
  33. public function getBatchId()
  34. {
  35. return $this->batchId;
  36. }
  37. /**
  38. * @param Google_Service_ShoppingContent_Errors
  39. */
  40. public function setErrors(Google_Service_ShoppingContent_Errors $errors)
  41. {
  42. $this->errors = $errors;
  43. }
  44. /**
  45. * @return Google_Service_ShoppingContent_Errors
  46. */
  47. public function getErrors()
  48. {
  49. return $this->errors;
  50. }
  51. /**
  52. * @param Google_Service_ShoppingContent_PosInventory
  53. */
  54. public function setInventory(Google_Service_ShoppingContent_PosInventory $inventory)
  55. {
  56. $this->inventory = $inventory;
  57. }
  58. /**
  59. * @return Google_Service_ShoppingContent_PosInventory
  60. */
  61. public function getInventory()
  62. {
  63. return $this->inventory;
  64. }
  65. public function setKind($kind)
  66. {
  67. $this->kind = $kind;
  68. }
  69. public function getKind()
  70. {
  71. return $this->kind;
  72. }
  73. /**
  74. * @param Google_Service_ShoppingContent_PosSale
  75. */
  76. public function setSale(Google_Service_ShoppingContent_PosSale $sale)
  77. {
  78. $this->sale = $sale;
  79. }
  80. /**
  81. * @return Google_Service_ShoppingContent_PosSale
  82. */
  83. public function getSale()
  84. {
  85. return $this->sale;
  86. }
  87. /**
  88. * @param Google_Service_ShoppingContent_PosStore
  89. */
  90. public function setStore(Google_Service_ShoppingContent_PosStore $store)
  91. {
  92. $this->store = $store;
  93. }
  94. /**
  95. * @return Google_Service_ShoppingContent_PosStore
  96. */
  97. public function getStore()
  98. {
  99. return $this->store;
  100. }
  101. }