Google_ProductsPromotions

The Google Books Importer Google ProductsPromotions class.

Defined (1)

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

/src/contrib/Google_ShoppingService.php  
  1. class Google_ProductsPromotions extends Google_Model { 
  2. protected $__customFieldsType = 'Google_ProductsPromotionsCustomFields'; 
  3. protected $__customFieldsDataType = 'array'; 
  4. public $customFields; 
  5. public $customHtml; 
  6. public $description; 
  7. public $destLink; 
  8. public $imageLink; 
  9. public $name; 
  10. protected $__productType = 'Google_ShoppingModelProductJsonV1'; 
  11. protected $__productDataType = ''; 
  12. public $product; 
  13. public $type; 
  14. public function setCustomFields(/** array(Google_ProductsPromotionsCustomFields) */ $customFields) { 
  15. $this->assertIsArray($customFields, 'Google_ProductsPromotionsCustomFields', __METHOD__); 
  16. $this->customFields = $customFields; 
  17. public function getCustomFields() { 
  18. return $this->customFields; 
  19. public function setCustomHtml( $customHtml) { 
  20. $this->customHtml = $customHtml; 
  21. public function getCustomHtml() { 
  22. return $this->customHtml; 
  23. public function setDescription( $description) { 
  24. $this->description = $description; 
  25. public function getDescription() { 
  26. return $this->description; 
  27. public function setDestLink( $destLink) { 
  28. $this->destLink = $destLink; 
  29. public function getDestLink() { 
  30. return $this->destLink; 
  31. public function setImageLink( $imageLink) { 
  32. $this->imageLink = $imageLink; 
  33. public function getImageLink() { 
  34. return $this->imageLink; 
  35. public function setName( $name) { 
  36. $this->name = $name; 
  37. public function getName() { 
  38. return $this->name; 
  39. public function setProduct(Google_ShoppingModelProductJsonV1 $product) { 
  40. $this->product = $product; 
  41. public function getProduct() { 
  42. return $this->product; 
  43. public function setType( $type) { 
  44. $this->type = $type; 
  45. public function getType() { 
  46. return $this->type;