Google_Products

The Google Books Importer Google Products class.

Defined (1)

The class is defined in the following location(s).

/src/contrib/Google_ShoppingService.php  
  1. class Google_Products extends Google_Model { 
  2. protected $__categoriesType = 'Google_ShoppingModelCategoryJsonV1'; 
  3. protected $__categoriesDataType = 'array'; 
  4. public $categories; 
  5. protected $__categoryRecommendationsType = 'Google_ShoppingModelRecommendationsJsonV1'; 
  6. protected $__categoryRecommendationsDataType = 'array'; 
  7. public $categoryRecommendations; 
  8. public $currentItemCount; 
  9. protected $__debugType = 'Google_ShoppingModelDebugJsonV1'; 
  10. protected $__debugDataType = ''; 
  11. public $debug; 
  12. public $etag; 
  13. protected $__extrasType = 'Google_ShoppingModelExtrasJsonV1'; 
  14. protected $__extrasDataType = ''; 
  15. public $extras; 
  16. protected $__facetsType = 'Google_ProductsFacets'; 
  17. protected $__facetsDataType = 'array'; 
  18. public $facets; 
  19. public $id; 
  20. protected $__itemsType = 'Google_Product'; 
  21. protected $__itemsDataType = 'array'; 
  22. public $items; 
  23. public $itemsPerPage; 
  24. public $kind; 
  25. public $nextLink; 
  26. public $previousLink; 
  27. protected $__promotionsType = 'Google_ProductsPromotions'; 
  28. protected $__promotionsDataType = 'array'; 
  29. public $promotions; 
  30. public $redirects; 
  31. public $relatedQueries; 
  32. public $requestId; 
  33. public $selfLink; 
  34. protected $__spellingType = 'Google_ProductsSpelling'; 
  35. protected $__spellingDataType = ''; 
  36. public $spelling; 
  37. public $startIndex; 
  38. protected $__storesType = 'Google_ProductsStores'; 
  39. protected $__storesDataType = 'array'; 
  40. public $stores; 
  41. public $totalItems; 
  42. public function setCategories(/** array(Google_ShoppingModelCategoryJsonV1) */ $categories) { 
  43. $this->assertIsArray($categories, 'Google_ShoppingModelCategoryJsonV1', __METHOD__); 
  44. $this->categories = $categories; 
  45. public function getCategories() { 
  46. return $this->categories; 
  47. public function setCategoryRecommendations(/** array(Google_ShoppingModelRecommendationsJsonV1) */ $categoryRecommendations) { 
  48. $this->assertIsArray($categoryRecommendations, 'Google_ShoppingModelRecommendationsJsonV1', __METHOD__); 
  49. $this->categoryRecommendations = $categoryRecommendations; 
  50. public function getCategoryRecommendations() { 
  51. return $this->categoryRecommendations; 
  52. public function setCurrentItemCount( $currentItemCount) { 
  53. $this->currentItemCount = $currentItemCount; 
  54. public function getCurrentItemCount() { 
  55. return $this->currentItemCount; 
  56. public function setDebug(Google_ShoppingModelDebugJsonV1 $debug) { 
  57. $this->debug = $debug; 
  58. public function getDebug() { 
  59. return $this->debug; 
  60. public function setEtag( $etag) { 
  61. $this->etag = $etag; 
  62. public function getEtag() { 
  63. return $this->etag; 
  64. public function setExtras(Google_ShoppingModelExtrasJsonV1 $extras) { 
  65. $this->extras = $extras; 
  66. public function getExtras() { 
  67. return $this->extras; 
  68. public function setFacets(/** array(Google_ProductsFacets) */ $facets) { 
  69. $this->assertIsArray($facets, 'Google_ProductsFacets', __METHOD__); 
  70. $this->facets = $facets; 
  71. public function getFacets() { 
  72. return $this->facets; 
  73. public function setId( $id) { 
  74. $this->id = $id; 
  75. public function getId() { 
  76. return $this->id; 
  77. public function setItems(/** array(Google_Product) */ $items) { 
  78. $this->assertIsArray($items, 'Google_Product', __METHOD__); 
  79. $this->items = $items; 
  80. public function getItems() { 
  81. return $this->items; 
  82. public function setItemsPerPage( $itemsPerPage) { 
  83. $this->itemsPerPage = $itemsPerPage; 
  84. public function getItemsPerPage() { 
  85. return $this->itemsPerPage; 
  86. public function setKind( $kind) { 
  87. $this->kind = $kind; 
  88. public function getKind() { 
  89. return $this->kind; 
  90. public function setNextLink( $nextLink) { 
  91. $this->nextLink = $nextLink; 
  92. public function getNextLink() { 
  93. return $this->nextLink; 
  94. public function setPreviousLink( $previousLink) { 
  95. $this->previousLink = $previousLink; 
  96. public function getPreviousLink() { 
  97. return $this->previousLink; 
  98. public function setPromotions(/** array(Google_ProductsPromotions) */ $promotions) { 
  99. $this->assertIsArray($promotions, 'Google_ProductsPromotions', __METHOD__); 
  100. $this->promotions = $promotions; 
  101. public function getPromotions() { 
  102. return $this->promotions; 
  103. public function setRedirects(/** array(Google_string) */ $redirects) { 
  104. $this->assertIsArray($redirects, 'Google_string', __METHOD__); 
  105. $this->redirects = $redirects; 
  106. public function getRedirects() { 
  107. return $this->redirects; 
  108. public function setRelatedQueries(/** array(Google_string) */ $relatedQueries) { 
  109. $this->assertIsArray($relatedQueries, 'Google_string', __METHOD__); 
  110. $this->relatedQueries = $relatedQueries; 
  111. public function getRelatedQueries() { 
  112. return $this->relatedQueries; 
  113. public function setRequestId( $requestId) { 
  114. $this->requestId = $requestId; 
  115. public function getRequestId() { 
  116. return $this->requestId; 
  117. public function setSelfLink( $selfLink) { 
  118. $this->selfLink = $selfLink; 
  119. public function getSelfLink() { 
  120. return $this->selfLink; 
  121. public function setSpelling(Google_ProductsSpelling $spelling) { 
  122. $this->spelling = $spelling; 
  123. public function getSpelling() { 
  124. return $this->spelling; 
  125. public function setStartIndex( $startIndex) { 
  126. $this->startIndex = $startIndex; 
  127. public function getStartIndex() { 
  128. return $this->startIndex; 
  129. public function setStores(/** array(Google_ProductsStores) */ $stores) { 
  130. $this->assertIsArray($stores, 'Google_ProductsStores', __METHOD__); 
  131. $this->stores = $stores; 
  132. public function getStores() { 
  133. return $this->stores; 
  134. public function setTotalItems( $totalItems) { 
  135. $this->totalItems = $totalItems; 
  136. public function getTotalItems() { 
  137. return $this->totalItems;