Google_Product

The Google Books Importer Google Product class.

Defined (1)

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

/src/contrib/Google_ShoppingService.php  
  1. class Google_Product extends Google_Model { 
  2. protected $__categoriesType = 'Google_ShoppingModelCategoryJsonV1'; 
  3. protected $__categoriesDataType = 'array'; 
  4. public $categories; 
  5. protected $__debugType = 'Google_ShoppingModelDebugJsonV1'; 
  6. protected $__debugDataType = ''; 
  7. public $debug; 
  8. public $id; 
  9. public $kind; 
  10. protected $__productType = 'Google_ShoppingModelProductJsonV1'; 
  11. protected $__productDataType = ''; 
  12. public $product; 
  13. protected $__recommendationsType = 'Google_ShoppingModelRecommendationsJsonV1'; 
  14. protected $__recommendationsDataType = 'array'; 
  15. public $recommendations; 
  16. public $requestId; 
  17. public $selfLink; 
  18. public function setCategories(/** array(Google_ShoppingModelCategoryJsonV1) */ $categories) { 
  19. $this->assertIsArray($categories, 'Google_ShoppingModelCategoryJsonV1', __METHOD__); 
  20. $this->categories = $categories; 
  21. public function getCategories() { 
  22. return $this->categories; 
  23. public function setDebug(Google_ShoppingModelDebugJsonV1 $debug) { 
  24. $this->debug = $debug; 
  25. public function getDebug() { 
  26. return $this->debug; 
  27. public function setId( $id) { 
  28. $this->id = $id; 
  29. public function getId() { 
  30. return $this->id; 
  31. public function setKind( $kind) { 
  32. $this->kind = $kind; 
  33. public function getKind() { 
  34. return $this->kind; 
  35. public function setProduct(Google_ShoppingModelProductJsonV1 $product) { 
  36. $this->product = $product; 
  37. public function getProduct() { 
  38. return $this->product; 
  39. public function setRecommendations(/** array(Google_ShoppingModelRecommendationsJsonV1) */ $recommendations) { 
  40. $this->assertIsArray($recommendations, 'Google_ShoppingModelRecommendationsJsonV1', __METHOD__); 
  41. $this->recommendations = $recommendations; 
  42. public function getRecommendations() { 
  43. return $this->recommendations; 
  44. public function setRequestId( $requestId) { 
  45. $this->requestId = $requestId; 
  46. public function getRequestId() { 
  47. return $this->requestId; 
  48. public function setSelfLink( $selfLink) { 
  49. $this->selfLink = $selfLink; 
  50. public function getSelfLink() { 
  51. return $this->selfLink;