Google_Product

The Goolytics - Simple Google Analytics Google Product class.

Defined (1)

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

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