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
- class Google_ProductsPromotions extends Google_Model {
- protected $__customFieldsType = 'Google_ProductsPromotionsCustomFields';
- protected $__customFieldsDataType = 'array';
- public $customFields;
- public $customHtml;
- public $description;
- public $destLink;
- public $imageLink;
- public $name;
- protected $__productType = 'Google_ShoppingModelProductJsonV1';
- protected $__productDataType = '';
- public $product;
- public $type;
- public function setCustomFields(/** array(Google_ProductsPromotionsCustomFields) */ $customFields) {
- $this->assertIsArray($customFields, 'Google_ProductsPromotionsCustomFields', __METHOD__);
- $this->customFields = $customFields;
- }
- public function getCustomFields() {
- return $this->customFields;
- }
- public function setCustomHtml( $customHtml) {
- $this->customHtml = $customHtml;
- }
- public function getCustomHtml() {
- return $this->customHtml;
- }
- public function setDescription( $description) {
- $this->description = $description;
- }
- public function getDescription() {
- return $this->description;
- }
- public function setDestLink( $destLink) {
- $this->destLink = $destLink;
- }
- public function getDestLink() {
- return $this->destLink;
- }
- public function setImageLink( $imageLink) {
- $this->imageLink = $imageLink;
- }
- public function getImageLink() {
- return $this->imageLink;
- }
- public function setName( $name) {
- $this->name = $name;
- }
- public function getName() {
- return $this->name;
- }
- public function setProduct(Google_ShoppingModelProductJsonV1 $product) {
- $this->product = $product;
- }
- public function getProduct() {
- return $this->product;
- }
- public function setType( $type) {
- $this->type = $type;
- }
- public function getType() {
- return $this->type;
- }
- }