Google_Products
The Google Books Importer Google Products class.
Defined (1)
The class is defined in the following location(s).
- /src/contrib/Google_ShoppingService.php
- class Google_Products extends Google_Model {
- protected $__categoriesType = 'Google_ShoppingModelCategoryJsonV1';
- protected $__categoriesDataType = 'array';
- public $categories;
- protected $__categoryRecommendationsType = 'Google_ShoppingModelRecommendationsJsonV1';
- protected $__categoryRecommendationsDataType = 'array';
- public $categoryRecommendations;
- public $currentItemCount;
- protected $__debugType = 'Google_ShoppingModelDebugJsonV1';
- protected $__debugDataType = '';
- public $debug;
- public $etag;
- protected $__extrasType = 'Google_ShoppingModelExtrasJsonV1';
- protected $__extrasDataType = '';
- public $extras;
- protected $__facetsType = 'Google_ProductsFacets';
- protected $__facetsDataType = 'array';
- public $facets;
- public $id;
- protected $__itemsType = 'Google_Product';
- protected $__itemsDataType = 'array';
- public $items;
- public $itemsPerPage;
- public $kind;
- public $nextLink;
- public $previousLink;
- protected $__promotionsType = 'Google_ProductsPromotions';
- protected $__promotionsDataType = 'array';
- public $promotions;
- public $redirects;
- public $relatedQueries;
- public $requestId;
- public $selfLink;
- protected $__spellingType = 'Google_ProductsSpelling';
- protected $__spellingDataType = '';
- public $spelling;
- public $startIndex;
- protected $__storesType = 'Google_ProductsStores';
- protected $__storesDataType = 'array';
- public $stores;
- public $totalItems;
- public function setCategories(/** array(Google_ShoppingModelCategoryJsonV1) */ $categories) {
- $this->assertIsArray($categories, 'Google_ShoppingModelCategoryJsonV1', __METHOD__);
- $this->categories = $categories;
- }
- public function getCategories() {
- return $this->categories;
- }
- public function setCategoryRecommendations(/** array(Google_ShoppingModelRecommendationsJsonV1) */ $categoryRecommendations) {
- $this->assertIsArray($categoryRecommendations, 'Google_ShoppingModelRecommendationsJsonV1', __METHOD__);
- $this->categoryRecommendations = $categoryRecommendations;
- }
- public function getCategoryRecommendations() {
- return $this->categoryRecommendations;
- }
- public function setCurrentItemCount( $currentItemCount) {
- $this->currentItemCount = $currentItemCount;
- }
- public function getCurrentItemCount() {
- return $this->currentItemCount;
- }
- public function setDebug(Google_ShoppingModelDebugJsonV1 $debug) {
- $this->debug = $debug;
- }
- public function getDebug() {
- return $this->debug;
- }
- public function setEtag( $etag) {
- $this->etag = $etag;
- }
- public function getEtag() {
- return $this->etag;
- }
- public function setExtras(Google_ShoppingModelExtrasJsonV1 $extras) {
- $this->extras = $extras;
- }
- public function getExtras() {
- return $this->extras;
- }
- public function setFacets(/** array(Google_ProductsFacets) */ $facets) {
- $this->assertIsArray($facets, 'Google_ProductsFacets', __METHOD__);
- $this->facets = $facets;
- }
- public function getFacets() {
- return $this->facets;
- }
- public function setId( $id) {
- $this->id = $id;
- }
- public function getId() {
- return $this->id;
- }
- public function setItems(/** array(Google_Product) */ $items) {
- $this->assertIsArray($items, 'Google_Product', __METHOD__);
- $this->items = $items;
- }
- public function getItems() {
- return $this->items;
- }
- public function setItemsPerPage( $itemsPerPage) {
- $this->itemsPerPage = $itemsPerPage;
- }
- public function getItemsPerPage() {
- return $this->itemsPerPage;
- }
- public function setKind( $kind) {
- $this->kind = $kind;
- }
- public function getKind() {
- return $this->kind;
- }
- public function setNextLink( $nextLink) {
- $this->nextLink = $nextLink;
- }
- public function getNextLink() {
- return $this->nextLink;
- }
- public function setPreviousLink( $previousLink) {
- $this->previousLink = $previousLink;
- }
- public function getPreviousLink() {
- return $this->previousLink;
- }
- public function setPromotions(/** array(Google_ProductsPromotions) */ $promotions) {
- $this->assertIsArray($promotions, 'Google_ProductsPromotions', __METHOD__);
- $this->promotions = $promotions;
- }
- public function getPromotions() {
- return $this->promotions;
- }
- public function setRedirects(/** array(Google_string) */ $redirects) {
- $this->assertIsArray($redirects, 'Google_string', __METHOD__);
- $this->redirects = $redirects;
- }
- public function getRedirects() {
- return $this->redirects;
- }
- public function setRelatedQueries(/** array(Google_string) */ $relatedQueries) {
- $this->assertIsArray($relatedQueries, 'Google_string', __METHOD__);
- $this->relatedQueries = $relatedQueries;
- }
- public function getRelatedQueries() {
- return $this->relatedQueries;
- }
- 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;
- }
- public function setSpelling(Google_ProductsSpelling $spelling) {
- $this->spelling = $spelling;
- }
- public function getSpelling() {
- return $this->spelling;
- }
- public function setStartIndex( $startIndex) {
- $this->startIndex = $startIndex;
- }
- public function getStartIndex() {
- return $this->startIndex;
- }
- public function setStores(/** array(Google_ProductsStores) */ $stores) {
- $this->assertIsArray($stores, 'Google_ProductsStores', __METHOD__);
- $this->stores = $stores;
- }
- public function getStores() {
- return $this->stores;
- }
- public function setTotalItems( $totalItems) {
- $this->totalItems = $totalItems;
- }
- public function getTotalItems() {
- return $this->totalItems;
- }
- }