Google_ProductsFacets

The Google Books Importer Google ProductsFacets class.

Defined (1)

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

/src/contrib/Google_ShoppingService.php  
  1. class Google_ProductsFacets extends Google_Model { 
  2. protected $__bucketsType = 'Google_ProductsFacetsBuckets'; 
  3. protected $__bucketsDataType = 'array'; 
  4. public $buckets; 
  5. public $count; 
  6. public $displayName; 
  7. public $name; 
  8. public $property; 
  9. public $type; 
  10. public $unit; 
  11. public function setBuckets(/** array(Google_ProductsFacetsBuckets) */ $buckets) { 
  12. $this->assertIsArray($buckets, 'Google_ProductsFacetsBuckets', __METHOD__); 
  13. $this->buckets = $buckets; 
  14. public function getBuckets() { 
  15. return $this->buckets; 
  16. public function setCount( $count) { 
  17. $this->count = $count; 
  18. public function getCount() { 
  19. return $this->count; 
  20. public function setDisplayName( $displayName) { 
  21. $this->displayName = $displayName; 
  22. public function getDisplayName() { 
  23. return $this->displayName; 
  24. public function setName( $name) { 
  25. $this->name = $name; 
  26. public function getName() { 
  27. return $this->name; 
  28. public function setProperty( $property) { 
  29. $this->property = $property; 
  30. public function getProperty() { 
  31. return $this->property; 
  32. public function setType( $type) { 
  33. $this->type = $type; 
  34. public function getType() { 
  35. return $this->type; 
  36. public function setUnit( $unit) { 
  37. $this->unit = $unit; 
  38. public function getUnit() { 
  39. return $this->unit;