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
- class Google_Product extends Google_Model {
- protected $__categoriesType = 'Google_ShoppingModelCategoryJsonV1';
- protected $__categoriesDataType = 'array';
- public $categories;
- protected $__debugType = 'Google_ShoppingModelDebugJsonV1';
- protected $__debugDataType = '';
- public $debug;
- public $id;
- public $kind;
- protected $__productType = 'Google_ShoppingModelProductJsonV1';
- protected $__productDataType = '';
- public $product;
- protected $__recommendationsType = 'Google_ShoppingModelRecommendationsJsonV1';
- protected $__recommendationsDataType = 'array';
- public $recommendations;
- public $requestId;
- public $selfLink;
- public function setCategories(/** array(Google_ShoppingModelCategoryJsonV1) */ $categories) {
- $this->assertIsArray($categories, 'Google_ShoppingModelCategoryJsonV1', __METHOD__);
- $this->categories = $categories;
- }
- public function getCategories() {
- return $this->categories;
- }
- public function setDebug(Google_ShoppingModelDebugJsonV1 $debug) {
- $this->debug = $debug;
- }
- public function getDebug() {
- return $this->debug;
- }
- public function setId( $id) {
- $this->id = $id;
- }
- public function getId() {
- return $this->id;
- }
- public function setKind( $kind) {
- $this->kind = $kind;
- }
- public function getKind() {
- return $this->kind;
- }
- public function setProduct(Google_ShoppingModelProductJsonV1 $product) {
- $this->product = $product;
- }
- public function getProduct() {
- return $this->product;
- }
- public function setRecommendations(/** array(Google_ShoppingModelRecommendationsJsonV1) */ $recommendations) {
- $this->assertIsArray($recommendations, 'Google_ShoppingModelRecommendationsJsonV1', __METHOD__);
- $this->recommendations = $recommendations;
- }
- public function getRecommendations() {
- return $this->recommendations;
- }
- public function setRequestId( $requestId) {
- $this->requestId = $requestId;
- }
- public function getRequestId() {
- return $this->requestId;
- }
- public function setSelfLink( $selfLink) {
- $this->selfLink = $selfLink;
- }
- public function getSelfLink() {
- return $this->selfLink;
- }
- }