Нема описа

Datafeed.php 3.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151
  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_Datafeed extends Google_Collection
  18. {
  19. protected $collection_key = 'targets';
  20. public $attributeLanguage;
  21. public $contentLanguage;
  22. public $contentType;
  23. protected $fetchScheduleType = 'Google_Service_ShoppingContent_DatafeedFetchSchedule';
  24. protected $fetchScheduleDataType = '';
  25. public $fileName;
  26. protected $formatType = 'Google_Service_ShoppingContent_DatafeedFormat';
  27. protected $formatDataType = '';
  28. public $id;
  29. public $intendedDestinations;
  30. public $kind;
  31. public $name;
  32. public $targetCountry;
  33. protected $targetsType = 'Google_Service_ShoppingContent_DatafeedTarget';
  34. protected $targetsDataType = 'array';
  35. public function setAttributeLanguage($attributeLanguage)
  36. {
  37. $this->attributeLanguage = $attributeLanguage;
  38. }
  39. public function getAttributeLanguage()
  40. {
  41. return $this->attributeLanguage;
  42. }
  43. public function setContentLanguage($contentLanguage)
  44. {
  45. $this->contentLanguage = $contentLanguage;
  46. }
  47. public function getContentLanguage()
  48. {
  49. return $this->contentLanguage;
  50. }
  51. public function setContentType($contentType)
  52. {
  53. $this->contentType = $contentType;
  54. }
  55. public function getContentType()
  56. {
  57. return $this->contentType;
  58. }
  59. /**
  60. * @param Google_Service_ShoppingContent_DatafeedFetchSchedule
  61. */
  62. public function setFetchSchedule(Google_Service_ShoppingContent_DatafeedFetchSchedule $fetchSchedule)
  63. {
  64. $this->fetchSchedule = $fetchSchedule;
  65. }
  66. /**
  67. * @return Google_Service_ShoppingContent_DatafeedFetchSchedule
  68. */
  69. public function getFetchSchedule()
  70. {
  71. return $this->fetchSchedule;
  72. }
  73. public function setFileName($fileName)
  74. {
  75. $this->fileName = $fileName;
  76. }
  77. public function getFileName()
  78. {
  79. return $this->fileName;
  80. }
  81. /**
  82. * @param Google_Service_ShoppingContent_DatafeedFormat
  83. */
  84. public function setFormat(Google_Service_ShoppingContent_DatafeedFormat $format)
  85. {
  86. $this->format = $format;
  87. }
  88. /**
  89. * @return Google_Service_ShoppingContent_DatafeedFormat
  90. */
  91. public function getFormat()
  92. {
  93. return $this->format;
  94. }
  95. public function setId($id)
  96. {
  97. $this->id = $id;
  98. }
  99. public function getId()
  100. {
  101. return $this->id;
  102. }
  103. public function setIntendedDestinations($intendedDestinations)
  104. {
  105. $this->intendedDestinations = $intendedDestinations;
  106. }
  107. public function getIntendedDestinations()
  108. {
  109. return $this->intendedDestinations;
  110. }
  111. public function setKind($kind)
  112. {
  113. $this->kind = $kind;
  114. }
  115. public function getKind()
  116. {
  117. return $this->kind;
  118. }
  119. public function setName($name)
  120. {
  121. $this->name = $name;
  122. }
  123. public function getName()
  124. {
  125. return $this->name;
  126. }
  127. public function setTargetCountry($targetCountry)
  128. {
  129. $this->targetCountry = $targetCountry;
  130. }
  131. public function getTargetCountry()
  132. {
  133. return $this->targetCountry;
  134. }
  135. /**
  136. * @param Google_Service_ShoppingContent_DatafeedTarget
  137. */
  138. public function setTargets($targets)
  139. {
  140. $this->targets = $targets;
  141. }
  142. /**
  143. * @return Google_Service_ShoppingContent_DatafeedTarget
  144. */
  145. public function getTargets()
  146. {
  147. return $this->targets;
  148. }
  149. }