PageRenderTime 54ms CodeModel.GetById 24ms RepoModel.GetById 0ms app.codeStats 0ms

/src/Google/Service/Shopping.php

https://github.com/leogaggl/pluspress
PHP | 2122 lines | 1639 code | 317 blank | 166 comment | 0 complexity | de44fc091969b497b5a53e2429bddcb3 MD5 | raw file
  1. <?php
  2. /*
  3. * Copyright 2010 Google Inc.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License"); you may not
  6. * use this file except in compliance with the License. You may obtain a copy of
  7. * the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
  13. * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
  14. * License for the specific language governing permissions and limitations under
  15. * the License.
  16. */
  17. /**
  18. * Service definition for Shopping (v1).
  19. *
  20. * <p>
  21. * Lets you search over product data.
  22. * </p>
  23. *
  24. * <p>
  25. * For more information about this service, see the API
  26. * <a href="https://developers.google.com/shopping-search/v1/getting_started" target="_blank">Documentation</a>
  27. * </p>
  28. *
  29. * @author Google, Inc.
  30. */
  31. class Google_Service_Shopping extends Google_Service
  32. {
  33. /** View your product data. */
  34. const SHOPPINGAPI = "https://www.googleapis.com/auth/shoppingapi";
  35. public $products;
  36. /**
  37. * Constructs the internal representation of the Shopping service.
  38. *
  39. * @param Google_Client $client
  40. */
  41. public function __construct(Google_Client $client)
  42. {
  43. parent::__construct($client);
  44. $this->servicePath = 'shopping/search/v1/';
  45. $this->version = 'v1';
  46. $this->serviceName = 'shopping';
  47. $this->products = new Google_Service_Shopping_Products_Resource(
  48. $this,
  49. $this->serviceName,
  50. 'products',
  51. array(
  52. 'methods' => array(
  53. 'get' => array(
  54. 'path' => '{source}/products/{accountId}/{productIdType}/{productId}',
  55. 'httpMethod' => 'GET',
  56. 'parameters' => array(
  57. 'source' => array(
  58. 'location' => 'path',
  59. 'type' => 'string',
  60. 'required' => true,
  61. ),
  62. 'accountId' => array(
  63. 'location' => 'path',
  64. 'type' => 'integer',
  65. 'required' => true,
  66. ),
  67. 'productIdType' => array(
  68. 'location' => 'path',
  69. 'type' => 'string',
  70. 'required' => true,
  71. ),
  72. 'productId' => array(
  73. 'location' => 'path',
  74. 'type' => 'string',
  75. 'required' => true,
  76. ),
  77. 'categories.include' => array(
  78. 'location' => 'query',
  79. 'type' => 'string',
  80. ),
  81. 'recommendations.enabled' => array(
  82. 'location' => 'query',
  83. 'type' => 'boolean',
  84. ),
  85. 'thumbnails' => array(
  86. 'location' => 'query',
  87. 'type' => 'string',
  88. ),
  89. 'taxonomy' => array(
  90. 'location' => 'query',
  91. 'type' => 'string',
  92. ),
  93. 'categories.useGcsConfig' => array(
  94. 'location' => 'query',
  95. 'type' => 'boolean',
  96. ),
  97. 'recommendations.include' => array(
  98. 'location' => 'query',
  99. 'type' => 'string',
  100. ),
  101. 'categories.enabled' => array(
  102. 'location' => 'query',
  103. 'type' => 'boolean',
  104. ),
  105. 'location' => array(
  106. 'location' => 'query',
  107. 'type' => 'string',
  108. ),
  109. 'attributeFilter' => array(
  110. 'location' => 'query',
  111. 'type' => 'string',
  112. ),
  113. 'recommendations.useGcsConfig' => array(
  114. 'location' => 'query',
  115. 'type' => 'boolean',
  116. ),
  117. ),
  118. ),'list' => array(
  119. 'path' => '{source}/products',
  120. 'httpMethod' => 'GET',
  121. 'parameters' => array(
  122. 'source' => array(
  123. 'location' => 'path',
  124. 'type' => 'string',
  125. 'required' => true,
  126. ),
  127. 'facets.include' => array(
  128. 'location' => 'query',
  129. 'type' => 'string',
  130. ),
  131. 'categoryRecommendations.category' => array(
  132. 'location' => 'query',
  133. 'type' => 'string',
  134. ),
  135. 'extras.enabled' => array(
  136. 'location' => 'query',
  137. 'type' => 'boolean',
  138. ),
  139. 'facets.enabled' => array(
  140. 'location' => 'query',
  141. 'type' => 'boolean',
  142. ),
  143. 'promotions.enabled' => array(
  144. 'location' => 'query',
  145. 'type' => 'boolean',
  146. ),
  147. 'channels' => array(
  148. 'location' => 'query',
  149. 'type' => 'string',
  150. ),
  151. 'currency' => array(
  152. 'location' => 'query',
  153. 'type' => 'string',
  154. ),
  155. 'categoryRecommendations.enabled' => array(
  156. 'location' => 'query',
  157. 'type' => 'boolean',
  158. ),
  159. 'facets.discover' => array(
  160. 'location' => 'query',
  161. 'type' => 'string',
  162. ),
  163. 'extras.info' => array(
  164. 'location' => 'query',
  165. 'type' => 'string',
  166. ),
  167. 'startIndex' => array(
  168. 'location' => 'query',
  169. 'type' => 'integer',
  170. ),
  171. 'availability' => array(
  172. 'location' => 'query',
  173. 'type' => 'string',
  174. ),
  175. 'crowdBy' => array(
  176. 'location' => 'query',
  177. 'type' => 'string',
  178. ),
  179. 'q' => array(
  180. 'location' => 'query',
  181. 'type' => 'string',
  182. ),
  183. 'spelling.enabled' => array(
  184. 'location' => 'query',
  185. 'type' => 'boolean',
  186. ),
  187. 'taxonomy' => array(
  188. 'location' => 'query',
  189. 'type' => 'string',
  190. ),
  191. 'spelling.useGcsConfig' => array(
  192. 'location' => 'query',
  193. 'type' => 'boolean',
  194. ),
  195. 'useCase' => array(
  196. 'location' => 'query',
  197. 'type' => 'string',
  198. ),
  199. 'location' => array(
  200. 'location' => 'query',
  201. 'type' => 'string',
  202. ),
  203. 'maxVariants' => array(
  204. 'location' => 'query',
  205. 'type' => 'integer',
  206. ),
  207. 'categories.include' => array(
  208. 'location' => 'query',
  209. 'type' => 'string',
  210. ),
  211. 'boostBy' => array(
  212. 'location' => 'query',
  213. 'type' => 'string',
  214. ),
  215. 'categories.useGcsConfig' => array(
  216. 'location' => 'query',
  217. 'type' => 'boolean',
  218. ),
  219. 'maxResults' => array(
  220. 'location' => 'query',
  221. 'type' => 'integer',
  222. ),
  223. 'facets.useGcsConfig' => array(
  224. 'location' => 'query',
  225. 'type' => 'boolean',
  226. ),
  227. 'categories.enabled' => array(
  228. 'location' => 'query',
  229. 'type' => 'boolean',
  230. ),
  231. 'attributeFilter' => array(
  232. 'location' => 'query',
  233. 'type' => 'string',
  234. ),
  235. 'clickTracking' => array(
  236. 'location' => 'query',
  237. 'type' => 'boolean',
  238. ),
  239. 'thumbnails' => array(
  240. 'location' => 'query',
  241. 'type' => 'string',
  242. ),
  243. 'language' => array(
  244. 'location' => 'query',
  245. 'type' => 'string',
  246. ),
  247. 'categoryRecommendations.include' => array(
  248. 'location' => 'query',
  249. 'type' => 'string',
  250. ),
  251. 'country' => array(
  252. 'location' => 'query',
  253. 'type' => 'string',
  254. ),
  255. 'rankBy' => array(
  256. 'location' => 'query',
  257. 'type' => 'string',
  258. ),
  259. 'restrictBy' => array(
  260. 'location' => 'query',
  261. 'type' => 'string',
  262. ),
  263. 'facets.includeEmptyBuckets' => array(
  264. 'location' => 'query',
  265. 'type' => 'boolean',
  266. ),
  267. 'redirects.enabled' => array(
  268. 'location' => 'query',
  269. 'type' => 'boolean',
  270. ),
  271. 'redirects.useGcsConfig' => array(
  272. 'location' => 'query',
  273. 'type' => 'boolean',
  274. ),
  275. 'categoryRecommendations.useGcsConfig' => array(
  276. 'location' => 'query',
  277. 'type' => 'boolean',
  278. ),
  279. 'promotions.useGcsConfig' => array(
  280. 'location' => 'query',
  281. 'type' => 'boolean',
  282. ),
  283. ),
  284. ),
  285. )
  286. )
  287. );
  288. }
  289. }
  290. /**
  291. * The "products" collection of methods.
  292. * Typical usage is:
  293. * <code>
  294. * $shoppingService = new Google_Service_Shopping(...);
  295. * $products = $shoppingService->products;
  296. * </code>
  297. */
  298. class Google_Service_Shopping_Products_Resource extends Google_Service_Resource
  299. {
  300. /**
  301. * Returns a single product (products.get)
  302. *
  303. * @param string $source
  304. * Query source
  305. * @param string $accountId
  306. * Merchant center account id
  307. * @param string $productIdType
  308. * Type of productId
  309. * @param string $productId
  310. * Id of product
  311. * @param array $optParams Optional parameters.
  312. *
  313. * @opt_param string categoriesInclude
  314. * Category specification
  315. * @opt_param bool recommendationsEnabled
  316. * Whether to return recommendation information
  317. * @opt_param string thumbnails
  318. * Thumbnail specification
  319. * @opt_param string taxonomy
  320. * Merchant taxonomy
  321. * @opt_param bool categoriesUseGcsConfig
  322. * This parameter is currently ignored
  323. * @opt_param string recommendationsInclude
  324. * Recommendation specification
  325. * @opt_param bool categoriesEnabled
  326. * Whether to return category information
  327. * @opt_param string location
  328. * Location used to determine tax and shipping
  329. * @opt_param string attributeFilter
  330. * Comma separated list of attributes to return
  331. * @opt_param bool recommendationsUseGcsConfig
  332. * This parameter is currently ignored
  333. * @return Google_Service_Shopping_Product
  334. */
  335. public function get($source, $accountId, $productIdType, $productId, $optParams = array())
  336. {
  337. $params = array('source' => $source, 'accountId' => $accountId, 'productIdType' => $productIdType, 'productId' => $productId);
  338. $params = array_merge($params, $optParams);
  339. return $this->call('get', array($params), "Google_Service_Shopping_Product");
  340. }
  341. /**
  342. * Returns a list of products and content modules (products.listProducts)
  343. *
  344. * @param string $source
  345. * Query source
  346. * @param array $optParams Optional parameters.
  347. *
  348. * @opt_param string facetsInclude
  349. * Facets to include (applies when useGcsConfig == false)
  350. * @opt_param string categoryRecommendationsCategory
  351. * Category for which to retrieve recommendations
  352. * @opt_param bool extrasEnabled
  353. * Whether to return extra information.
  354. * @opt_param bool facetsEnabled
  355. * Whether to return facet information
  356. * @opt_param bool promotionsEnabled
  357. * Whether to return promotion information
  358. * @opt_param string channels
  359. * Channels specification
  360. * @opt_param string currency
  361. * Currency restriction (ISO 4217)
  362. * @opt_param bool categoryRecommendationsEnabled
  363. * Whether to return category recommendation information
  364. * @opt_param string facetsDiscover
  365. * Facets to discover
  366. * @opt_param string extrasInfo
  367. * What extra information to return.
  368. * @opt_param string startIndex
  369. * Index (1-based) of first product to return
  370. * @opt_param string availability
  371. * Comma separated list of availabilities (outOfStock, limited, inStock, backOrder, preOrder,
  372. * onDisplayToOrder) to return
  373. * @opt_param string crowdBy
  374. * Crowding specification
  375. * @opt_param string q
  376. * Search query
  377. * @opt_param bool spellingEnabled
  378. * Whether to return spelling suggestions
  379. * @opt_param string taxonomy
  380. * Taxonomy name
  381. * @opt_param bool spellingUseGcsConfig
  382. * This parameter is currently ignored
  383. * @opt_param string useCase
  384. * One of CommerceSearchUseCase, ShoppingApiUseCase
  385. * @opt_param string location
  386. * Location used to determine tax and shipping
  387. * @opt_param int maxVariants
  388. * Maximum number of variant results to return per result
  389. * @opt_param string categoriesInclude
  390. * Category specification
  391. * @opt_param string boostBy
  392. * Boosting specification
  393. * @opt_param bool categoriesUseGcsConfig
  394. * This parameter is currently ignored
  395. * @opt_param string maxResults
  396. * Maximum number of results to return
  397. * @opt_param bool facetsUseGcsConfig
  398. * Whether to return facet information as configured in the GCS account
  399. * @opt_param bool categoriesEnabled
  400. * Whether to return category information
  401. * @opt_param string attributeFilter
  402. * Comma separated list of attributes to return
  403. * @opt_param bool clickTracking
  404. * Whether to add a click tracking parameter to offer URLs
  405. * @opt_param string thumbnails
  406. * Image thumbnails specification
  407. * @opt_param string language
  408. * Language restriction (BCP 47)
  409. * @opt_param string categoryRecommendationsInclude
  410. * Category recommendation specification
  411. * @opt_param string country
  412. * Country restriction (ISO 3166)
  413. * @opt_param string rankBy
  414. * Ranking specification
  415. * @opt_param string restrictBy
  416. * Restriction specification
  417. * @opt_param bool facetsIncludeEmptyBuckets
  418. * Return empty facet buckets.
  419. * @opt_param bool redirectsEnabled
  420. * Whether to return redirect information
  421. * @opt_param bool redirectsUseGcsConfig
  422. * Whether to return redirect information as configured in the GCS account
  423. * @opt_param bool categoryRecommendationsUseGcsConfig
  424. * This parameter is currently ignored
  425. * @opt_param bool promotionsUseGcsConfig
  426. * Whether to return promotion information as configured in the GCS account
  427. * @return Google_Service_Shopping_Products
  428. */
  429. public function listProducts($source, $optParams = array())
  430. {
  431. $params = array('source' => $source);
  432. $params = array_merge($params, $optParams);
  433. return $this->call('list', array($params), "Google_Service_Shopping_Products");
  434. }
  435. }
  436. class Google_Service_Shopping_Product extends Google_Collection
  437. {
  438. protected $categoriesType = 'Google_Service_Shopping_ShoppingModelCategoryJsonV1';
  439. protected $categoriesDataType = 'array';
  440. protected $debugType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1';
  441. protected $debugDataType = '';
  442. public $id;
  443. public $kind;
  444. protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
  445. protected $productDataType = '';
  446. protected $recommendationsType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1';
  447. protected $recommendationsDataType = 'array';
  448. public $requestId;
  449. public $selfLink;
  450. public function setCategories($categories)
  451. {
  452. $this->categories = $categories;
  453. }
  454. public function getCategories()
  455. {
  456. return $this->categories;
  457. }
  458. public function setDebug(Google_Service_Shopping_ShoppingModelDebugJsonV1 $debug)
  459. {
  460. $this->debug = $debug;
  461. }
  462. public function getDebug()
  463. {
  464. return $this->debug;
  465. }
  466. public function setId($id)
  467. {
  468. $this->id = $id;
  469. }
  470. public function getId()
  471. {
  472. return $this->id;
  473. }
  474. public function setKind($kind)
  475. {
  476. $this->kind = $kind;
  477. }
  478. public function getKind()
  479. {
  480. return $this->kind;
  481. }
  482. public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
  483. {
  484. $this->product = $product;
  485. }
  486. public function getProduct()
  487. {
  488. return $this->product;
  489. }
  490. public function setRecommendations($recommendations)
  491. {
  492. $this->recommendations = $recommendations;
  493. }
  494. public function getRecommendations()
  495. {
  496. return $this->recommendations;
  497. }
  498. public function setRequestId($requestId)
  499. {
  500. $this->requestId = $requestId;
  501. }
  502. public function getRequestId()
  503. {
  504. return $this->requestId;
  505. }
  506. public function setSelfLink($selfLink)
  507. {
  508. $this->selfLink = $selfLink;
  509. }
  510. public function getSelfLink()
  511. {
  512. return $this->selfLink;
  513. }
  514. }
  515. class Google_Service_Shopping_Products extends Google_Collection
  516. {
  517. protected $categoriesType = 'Google_Service_Shopping_ShoppingModelCategoryJsonV1';
  518. protected $categoriesDataType = 'array';
  519. protected $categoryRecommendationsType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1';
  520. protected $categoryRecommendationsDataType = 'array';
  521. public $currentItemCount;
  522. protected $debugType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1';
  523. protected $debugDataType = '';
  524. public $etag;
  525. protected $extrasType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1';
  526. protected $extrasDataType = '';
  527. protected $facetsType = 'Google_Service_Shopping_ProductsFacets';
  528. protected $facetsDataType = 'array';
  529. public $id;
  530. protected $itemsType = 'Google_Service_Shopping_Product';
  531. protected $itemsDataType = 'array';
  532. public $itemsPerPage;
  533. public $kind;
  534. public $nextLink;
  535. public $previousLink;
  536. protected $promotionsType = 'Google_Service_Shopping_ProductsPromotions';
  537. protected $promotionsDataType = 'array';
  538. public $redirects;
  539. public $requestId;
  540. public $selfLink;
  541. protected $spellingType = 'Google_Service_Shopping_ProductsSpelling';
  542. protected $spellingDataType = '';
  543. public $startIndex;
  544. protected $storesType = 'Google_Service_Shopping_ProductsStores';
  545. protected $storesDataType = 'array';
  546. public $totalItems;
  547. public function setCategories($categories)
  548. {
  549. $this->categories = $categories;
  550. }
  551. public function getCategories()
  552. {
  553. return $this->categories;
  554. }
  555. public function setCategoryRecommendations($categoryRecommendations)
  556. {
  557. $this->categoryRecommendations = $categoryRecommendations;
  558. }
  559. public function getCategoryRecommendations()
  560. {
  561. return $this->categoryRecommendations;
  562. }
  563. public function setCurrentItemCount($currentItemCount)
  564. {
  565. $this->currentItemCount = $currentItemCount;
  566. }
  567. public function getCurrentItemCount()
  568. {
  569. return $this->currentItemCount;
  570. }
  571. public function setDebug(Google_Service_Shopping_ShoppingModelDebugJsonV1 $debug)
  572. {
  573. $this->debug = $debug;
  574. }
  575. public function getDebug()
  576. {
  577. return $this->debug;
  578. }
  579. public function setEtag($etag)
  580. {
  581. $this->etag = $etag;
  582. }
  583. public function getEtag()
  584. {
  585. return $this->etag;
  586. }
  587. public function setExtras(Google_Service_Shopping_ShoppingModelExtrasJsonV1 $extras)
  588. {
  589. $this->extras = $extras;
  590. }
  591. public function getExtras()
  592. {
  593. return $this->extras;
  594. }
  595. public function setFacets($facets)
  596. {
  597. $this->facets = $facets;
  598. }
  599. public function getFacets()
  600. {
  601. return $this->facets;
  602. }
  603. public function setId($id)
  604. {
  605. $this->id = $id;
  606. }
  607. public function getId()
  608. {
  609. return $this->id;
  610. }
  611. public function setItems($items)
  612. {
  613. $this->items = $items;
  614. }
  615. public function getItems()
  616. {
  617. return $this->items;
  618. }
  619. public function setItemsPerPage($itemsPerPage)
  620. {
  621. $this->itemsPerPage = $itemsPerPage;
  622. }
  623. public function getItemsPerPage()
  624. {
  625. return $this->itemsPerPage;
  626. }
  627. public function setKind($kind)
  628. {
  629. $this->kind = $kind;
  630. }
  631. public function getKind()
  632. {
  633. return $this->kind;
  634. }
  635. public function setNextLink($nextLink)
  636. {
  637. $this->nextLink = $nextLink;
  638. }
  639. public function getNextLink()
  640. {
  641. return $this->nextLink;
  642. }
  643. public function setPreviousLink($previousLink)
  644. {
  645. $this->previousLink = $previousLink;
  646. }
  647. public function getPreviousLink()
  648. {
  649. return $this->previousLink;
  650. }
  651. public function setPromotions($promotions)
  652. {
  653. $this->promotions = $promotions;
  654. }
  655. public function getPromotions()
  656. {
  657. return $this->promotions;
  658. }
  659. public function setRedirects($redirects)
  660. {
  661. $this->redirects = $redirects;
  662. }
  663. public function getRedirects()
  664. {
  665. return $this->redirects;
  666. }
  667. public function setRequestId($requestId)
  668. {
  669. $this->requestId = $requestId;
  670. }
  671. public function getRequestId()
  672. {
  673. return $this->requestId;
  674. }
  675. public function setSelfLink($selfLink)
  676. {
  677. $this->selfLink = $selfLink;
  678. }
  679. public function getSelfLink()
  680. {
  681. return $this->selfLink;
  682. }
  683. public function setSpelling(Google_Service_Shopping_ProductsSpelling $spelling)
  684. {
  685. $this->spelling = $spelling;
  686. }
  687. public function getSpelling()
  688. {
  689. return $this->spelling;
  690. }
  691. public function setStartIndex($startIndex)
  692. {
  693. $this->startIndex = $startIndex;
  694. }
  695. public function getStartIndex()
  696. {
  697. return $this->startIndex;
  698. }
  699. public function setStores($stores)
  700. {
  701. $this->stores = $stores;
  702. }
  703. public function getStores()
  704. {
  705. return $this->stores;
  706. }
  707. public function setTotalItems($totalItems)
  708. {
  709. $this->totalItems = $totalItems;
  710. }
  711. public function getTotalItems()
  712. {
  713. return $this->totalItems;
  714. }
  715. }
  716. class Google_Service_Shopping_ProductsFacets extends Google_Collection
  717. {
  718. protected $bucketsType = 'Google_Service_Shopping_ProductsFacetsBuckets';
  719. protected $bucketsDataType = 'array';
  720. public $count;
  721. public $displayName;
  722. public $name;
  723. public $property;
  724. public $type;
  725. public $unit;
  726. public function setBuckets($buckets)
  727. {
  728. $this->buckets = $buckets;
  729. }
  730. public function getBuckets()
  731. {
  732. return $this->buckets;
  733. }
  734. public function setCount($count)
  735. {
  736. $this->count = $count;
  737. }
  738. public function getCount()
  739. {
  740. return $this->count;
  741. }
  742. public function setDisplayName($displayName)
  743. {
  744. $this->displayName = $displayName;
  745. }
  746. public function getDisplayName()
  747. {
  748. return $this->displayName;
  749. }
  750. public function setName($name)
  751. {
  752. $this->name = $name;
  753. }
  754. public function getName()
  755. {
  756. return $this->name;
  757. }
  758. public function setProperty($property)
  759. {
  760. $this->property = $property;
  761. }
  762. public function getProperty()
  763. {
  764. return $this->property;
  765. }
  766. public function setType($type)
  767. {
  768. $this->type = $type;
  769. }
  770. public function getType()
  771. {
  772. return $this->type;
  773. }
  774. public function setUnit($unit)
  775. {
  776. $this->unit = $unit;
  777. }
  778. public function getUnit()
  779. {
  780. return $this->unit;
  781. }
  782. }
  783. class Google_Service_Shopping_ProductsFacetsBuckets extends Google_Model
  784. {
  785. public $count;
  786. public $max;
  787. public $maxExclusive;
  788. public $min;
  789. public $minExclusive;
  790. public $value;
  791. public function setCount($count)
  792. {
  793. $this->count = $count;
  794. }
  795. public function getCount()
  796. {
  797. return $this->count;
  798. }
  799. public function setMax($max)
  800. {
  801. $this->max = $max;
  802. }
  803. public function getMax()
  804. {
  805. return $this->max;
  806. }
  807. public function setMaxExclusive($maxExclusive)
  808. {
  809. $this->maxExclusive = $maxExclusive;
  810. }
  811. public function getMaxExclusive()
  812. {
  813. return $this->maxExclusive;
  814. }
  815. public function setMin($min)
  816. {
  817. $this->min = $min;
  818. }
  819. public function getMin()
  820. {
  821. return $this->min;
  822. }
  823. public function setMinExclusive($minExclusive)
  824. {
  825. $this->minExclusive = $minExclusive;
  826. }
  827. public function getMinExclusive()
  828. {
  829. return $this->minExclusive;
  830. }
  831. public function setValue($value)
  832. {
  833. $this->value = $value;
  834. }
  835. public function getValue()
  836. {
  837. return $this->value;
  838. }
  839. }
  840. class Google_Service_Shopping_ProductsPromotions extends Google_Collection
  841. {
  842. protected $customFieldsType = 'Google_Service_Shopping_ProductsPromotionsCustomFields';
  843. protected $customFieldsDataType = 'array';
  844. public $customHtml;
  845. public $description;
  846. public $destLink;
  847. public $imageLink;
  848. public $name;
  849. protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
  850. protected $productDataType = '';
  851. public $type;
  852. public function setCustomFields($customFields)
  853. {
  854. $this->customFields = $customFields;
  855. }
  856. public function getCustomFields()
  857. {
  858. return $this->customFields;
  859. }
  860. public function setCustomHtml($customHtml)
  861. {
  862. $this->customHtml = $customHtml;
  863. }
  864. public function getCustomHtml()
  865. {
  866. return $this->customHtml;
  867. }
  868. public function setDescription($description)
  869. {
  870. $this->description = $description;
  871. }
  872. public function getDescription()
  873. {
  874. return $this->description;
  875. }
  876. public function setDestLink($destLink)
  877. {
  878. $this->destLink = $destLink;
  879. }
  880. public function getDestLink()
  881. {
  882. return $this->destLink;
  883. }
  884. public function setImageLink($imageLink)
  885. {
  886. $this->imageLink = $imageLink;
  887. }
  888. public function getImageLink()
  889. {
  890. return $this->imageLink;
  891. }
  892. public function setName($name)
  893. {
  894. $this->name = $name;
  895. }
  896. public function getName()
  897. {
  898. return $this->name;
  899. }
  900. public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
  901. {
  902. $this->product = $product;
  903. }
  904. public function getProduct()
  905. {
  906. return $this->product;
  907. }
  908. public function setType($type)
  909. {
  910. $this->type = $type;
  911. }
  912. public function getType()
  913. {
  914. return $this->type;
  915. }
  916. }
  917. class Google_Service_Shopping_ProductsPromotionsCustomFields extends Google_Model
  918. {
  919. public $name;
  920. public $value;
  921. public function setName($name)
  922. {
  923. $this->name = $name;
  924. }
  925. public function getName()
  926. {
  927. return $this->name;
  928. }
  929. public function setValue($value)
  930. {
  931. $this->value = $value;
  932. }
  933. public function getValue()
  934. {
  935. return $this->value;
  936. }
  937. }
  938. class Google_Service_Shopping_ProductsSpelling extends Google_Model
  939. {
  940. public $suggestion;
  941. public function setSuggestion($suggestion)
  942. {
  943. $this->suggestion = $suggestion;
  944. }
  945. public function getSuggestion()
  946. {
  947. return $this->suggestion;
  948. }
  949. }
  950. class Google_Service_Shopping_ProductsStores extends Google_Model
  951. {
  952. public $address;
  953. public $location;
  954. public $name;
  955. public $storeCode;
  956. public $storeId;
  957. public $storeName;
  958. public $telephone;
  959. public function setAddress($address)
  960. {
  961. $this->address = $address;
  962. }
  963. public function getAddress()
  964. {
  965. return $this->address;
  966. }
  967. public function setLocation($location)
  968. {
  969. $this->location = $location;
  970. }
  971. public function getLocation()
  972. {
  973. return $this->location;
  974. }
  975. public function setName($name)
  976. {
  977. $this->name = $name;
  978. }
  979. public function getName()
  980. {
  981. return $this->name;
  982. }
  983. public function setStoreCode($storeCode)
  984. {
  985. $this->storeCode = $storeCode;
  986. }
  987. public function getStoreCode()
  988. {
  989. return $this->storeCode;
  990. }
  991. public function setStoreId($storeId)
  992. {
  993. $this->storeId = $storeId;
  994. }
  995. public function getStoreId()
  996. {
  997. return $this->storeId;
  998. }
  999. public function setStoreName($storeName)
  1000. {
  1001. $this->storeName = $storeName;
  1002. }
  1003. public function getStoreName()
  1004. {
  1005. return $this->storeName;
  1006. }
  1007. public function setTelephone($telephone)
  1008. {
  1009. $this->telephone = $telephone;
  1010. }
  1011. public function getTelephone()
  1012. {
  1013. return $this->telephone;
  1014. }
  1015. }
  1016. class Google_Service_Shopping_ShoppingModelCategoryJsonV1 extends Google_Collection
  1017. {
  1018. public $id;
  1019. public $parents;
  1020. public $shortName;
  1021. public $url;
  1022. public function setId($id)
  1023. {
  1024. $this->id = $id;
  1025. }
  1026. public function getId()
  1027. {
  1028. return $this->id;
  1029. }
  1030. public function setParents($parents)
  1031. {
  1032. $this->parents = $parents;
  1033. }
  1034. public function getParents()
  1035. {
  1036. return $this->parents;
  1037. }
  1038. public function setShortName($shortName)
  1039. {
  1040. $this->shortName = $shortName;
  1041. }
  1042. public function getShortName()
  1043. {
  1044. return $this->shortName;
  1045. }
  1046. public function setUrl($url)
  1047. {
  1048. $this->url = $url;
  1049. }
  1050. public function getUrl()
  1051. {
  1052. return $this->url;
  1053. }
  1054. }
  1055. class Google_Service_Shopping_ShoppingModelDebugJsonV1 extends Google_Collection
  1056. {
  1057. protected $backendTimesType = 'Google_Service_Shopping_ShoppingModelDebugJsonV1BackendTimes';
  1058. protected $backendTimesDataType = 'array';
  1059. public $elapsedMillis;
  1060. public $facetsRequest;
  1061. public $facetsResponse;
  1062. public $rdcResponse;
  1063. public $recommendedItemsRequest;
  1064. public $recommendedItemsResponse;
  1065. public $searchRequest;
  1066. public $searchResponse;
  1067. public function setBackendTimes($backendTimes)
  1068. {
  1069. $this->backendTimes = $backendTimes;
  1070. }
  1071. public function getBackendTimes()
  1072. {
  1073. return $this->backendTimes;
  1074. }
  1075. public function setElapsedMillis($elapsedMillis)
  1076. {
  1077. $this->elapsedMillis = $elapsedMillis;
  1078. }
  1079. public function getElapsedMillis()
  1080. {
  1081. return $this->elapsedMillis;
  1082. }
  1083. public function setFacetsRequest($facetsRequest)
  1084. {
  1085. $this->facetsRequest = $facetsRequest;
  1086. }
  1087. public function getFacetsRequest()
  1088. {
  1089. return $this->facetsRequest;
  1090. }
  1091. public function setFacetsResponse($facetsResponse)
  1092. {
  1093. $this->facetsResponse = $facetsResponse;
  1094. }
  1095. public function getFacetsResponse()
  1096. {
  1097. return $this->facetsResponse;
  1098. }
  1099. public function setRdcResponse($rdcResponse)
  1100. {
  1101. $this->rdcResponse = $rdcResponse;
  1102. }
  1103. public function getRdcResponse()
  1104. {
  1105. return $this->rdcResponse;
  1106. }
  1107. public function setRecommendedItemsRequest($recommendedItemsRequest)
  1108. {
  1109. $this->recommendedItemsRequest = $recommendedItemsRequest;
  1110. }
  1111. public function getRecommendedItemsRequest()
  1112. {
  1113. return $this->recommendedItemsRequest;
  1114. }
  1115. public function setRecommendedItemsResponse($recommendedItemsResponse)
  1116. {
  1117. $this->recommendedItemsResponse = $recommendedItemsResponse;
  1118. }
  1119. public function getRecommendedItemsResponse()
  1120. {
  1121. return $this->recommendedItemsResponse;
  1122. }
  1123. public function setSearchRequest($searchRequest)
  1124. {
  1125. $this->searchRequest = $searchRequest;
  1126. }
  1127. public function getSearchRequest()
  1128. {
  1129. return $this->searchRequest;
  1130. }
  1131. public function setSearchResponse($searchResponse)
  1132. {
  1133. $this->searchResponse = $searchResponse;
  1134. }
  1135. public function getSearchResponse()
  1136. {
  1137. return $this->searchResponse;
  1138. }
  1139. }
  1140. class Google_Service_Shopping_ShoppingModelDebugJsonV1BackendTimes extends Google_Model
  1141. {
  1142. public $elapsedMillis;
  1143. public $hostName;
  1144. public $name;
  1145. public $serverMillis;
  1146. public function setElapsedMillis($elapsedMillis)
  1147. {
  1148. $this->elapsedMillis = $elapsedMillis;
  1149. }
  1150. public function getElapsedMillis()
  1151. {
  1152. return $this->elapsedMillis;
  1153. }
  1154. public function setHostName($hostName)
  1155. {
  1156. $this->hostName = $hostName;
  1157. }
  1158. public function getHostName()
  1159. {
  1160. return $this->hostName;
  1161. }
  1162. public function setName($name)
  1163. {
  1164. $this->name = $name;
  1165. }
  1166. public function getName()
  1167. {
  1168. return $this->name;
  1169. }
  1170. public function setServerMillis($serverMillis)
  1171. {
  1172. $this->serverMillis = $serverMillis;
  1173. }
  1174. public function getServerMillis()
  1175. {
  1176. return $this->serverMillis;
  1177. }
  1178. }
  1179. class Google_Service_Shopping_ShoppingModelExtrasJsonV1 extends Google_Collection
  1180. {
  1181. protected $facetRulesType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1FacetRules';
  1182. protected $facetRulesDataType = 'array';
  1183. protected $rankingRulesType = 'Google_Service_Shopping_ShoppingModelExtrasJsonV1RankingRules';
  1184. protected $rankingRulesDataType = 'array';
  1185. public function setFacetRules($facetRules)
  1186. {
  1187. $this->facetRules = $facetRules;
  1188. }
  1189. public function getFacetRules()
  1190. {
  1191. return $this->facetRules;
  1192. }
  1193. public function setRankingRules($rankingRules)
  1194. {
  1195. $this->rankingRules = $rankingRules;
  1196. }
  1197. public function getRankingRules()
  1198. {
  1199. return $this->rankingRules;
  1200. }
  1201. }
  1202. class Google_Service_Shopping_ShoppingModelExtrasJsonV1FacetRules extends Google_Model
  1203. {
  1204. public $name;
  1205. public function setName($name)
  1206. {
  1207. $this->name = $name;
  1208. }
  1209. public function getName()
  1210. {
  1211. return $this->name;
  1212. }
  1213. }
  1214. class Google_Service_Shopping_ShoppingModelExtrasJsonV1RankingRules extends Google_Model
  1215. {
  1216. public $name;
  1217. public function setName($name)
  1218. {
  1219. $this->name = $name;
  1220. }
  1221. public function getName()
  1222. {
  1223. return $this->name;
  1224. }
  1225. }
  1226. class Google_Service_Shopping_ShoppingModelProductJsonV1 extends Google_Collection
  1227. {
  1228. protected $attributesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Attributes';
  1229. protected $attributesDataType = 'array';
  1230. protected $authorType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Author';
  1231. protected $authorDataType = '';
  1232. public $brand;
  1233. public $categories;
  1234. public $condition;
  1235. public $country;
  1236. public $creationTime;
  1237. public $description;
  1238. public $googleId;
  1239. public $gtin;
  1240. public $gtins;
  1241. protected $imagesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Images';
  1242. protected $imagesDataType = 'array';
  1243. protected $internal16Type = 'Google_Service_Shopping_ShoppingModelProductJsonV1Internal16';
  1244. protected $internal16DataType = '';
  1245. protected $inventoriesType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Inventories';
  1246. protected $inventoriesDataType = 'array';
  1247. public $language;
  1248. public $link;
  1249. public $modificationTime;
  1250. public $mpns;
  1251. public $providedId;
  1252. public $queryMatched;
  1253. public $score;
  1254. public $title;
  1255. public $totalMatchingVariants;
  1256. protected $variantsType = 'Google_Service_Shopping_ShoppingModelProductJsonV1Variants';
  1257. protected $variantsDataType = 'array';
  1258. public function setAttributes($attributes)
  1259. {
  1260. $this->attributes = $attributes;
  1261. }
  1262. public function getAttributes()
  1263. {
  1264. return $this->attributes;
  1265. }
  1266. public function setAuthor(Google_Service_Shopping_ShoppingModelProductJsonV1Author $author)
  1267. {
  1268. $this->author = $author;
  1269. }
  1270. public function getAuthor()
  1271. {
  1272. return $this->author;
  1273. }
  1274. public function setBrand($brand)
  1275. {
  1276. $this->brand = $brand;
  1277. }
  1278. public function getBrand()
  1279. {
  1280. return $this->brand;
  1281. }
  1282. public function setCategories($categories)
  1283. {
  1284. $this->categories = $categories;
  1285. }
  1286. public function getCategories()
  1287. {
  1288. return $this->categories;
  1289. }
  1290. public function setCondition($condition)
  1291. {
  1292. $this->condition = $condition;
  1293. }
  1294. public function getCondition()
  1295. {
  1296. return $this->condition;
  1297. }
  1298. public function setCountry($country)
  1299. {
  1300. $this->country = $country;
  1301. }
  1302. public function getCountry()
  1303. {
  1304. return $this->country;
  1305. }
  1306. public function setCreationTime($creationTime)
  1307. {
  1308. $this->creationTime = $creationTime;
  1309. }
  1310. public function getCreationTime()
  1311. {
  1312. return $this->creationTime;
  1313. }
  1314. public function setDescription($description)
  1315. {
  1316. $this->description = $description;
  1317. }
  1318. public function getDescription()
  1319. {
  1320. return $this->description;
  1321. }
  1322. public function setGoogleId($googleId)
  1323. {
  1324. $this->googleId = $googleId;
  1325. }
  1326. public function getGoogleId()
  1327. {
  1328. return $this->googleId;
  1329. }
  1330. public function setGtin($gtin)
  1331. {
  1332. $this->gtin = $gtin;
  1333. }
  1334. public function getGtin()
  1335. {
  1336. return $this->gtin;
  1337. }
  1338. public function setGtins($gtins)
  1339. {
  1340. $this->gtins = $gtins;
  1341. }
  1342. public function getGtins()
  1343. {
  1344. return $this->gtins;
  1345. }
  1346. public function setImages($images)
  1347. {
  1348. $this->images = $images;
  1349. }
  1350. public function getImages()
  1351. {
  1352. return $this->images;
  1353. }
  1354. public function setInternal16(Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 $internal16)
  1355. {
  1356. $this->internal16 = $internal16;
  1357. }
  1358. public function getInternal16()
  1359. {
  1360. return $this->internal16;
  1361. }
  1362. public function setInventories($inventories)
  1363. {
  1364. $this->inventories = $inventories;
  1365. }
  1366. public function getInventories()
  1367. {
  1368. return $this->inventories;
  1369. }
  1370. public function setLanguage($language)
  1371. {
  1372. $this->language = $language;
  1373. }
  1374. public function getLanguage()
  1375. {
  1376. return $this->language;
  1377. }
  1378. public function setLink($link)
  1379. {
  1380. $this->link = $link;
  1381. }
  1382. public function getLink()
  1383. {
  1384. return $this->link;
  1385. }
  1386. public function setModificationTime($modificationTime)
  1387. {
  1388. $this->modificationTime = $modificationTime;
  1389. }
  1390. public function getModificationTime()
  1391. {
  1392. return $this->modificationTime;
  1393. }
  1394. public function setMpns($mpns)
  1395. {
  1396. $this->mpns = $mpns;
  1397. }
  1398. public function getMpns()
  1399. {
  1400. return $this->mpns;
  1401. }
  1402. public function setProvidedId($providedId)
  1403. {
  1404. $this->providedId = $providedId;
  1405. }
  1406. public function getProvidedId()
  1407. {
  1408. return $this->providedId;
  1409. }
  1410. public function setQueryMatched($queryMatched)
  1411. {
  1412. $this->queryMatched = $queryMatched;
  1413. }
  1414. public function getQueryMatched()
  1415. {
  1416. return $this->queryMatched;
  1417. }
  1418. public function setScore($score)
  1419. {
  1420. $this->score = $score;
  1421. }
  1422. public function getScore()
  1423. {
  1424. return $this->score;
  1425. }
  1426. public function setTitle($title)
  1427. {
  1428. $this->title = $title;
  1429. }
  1430. public function getTitle()
  1431. {
  1432. return $this->title;
  1433. }
  1434. public function setTotalMatchingVariants($totalMatchingVariants)
  1435. {
  1436. $this->totalMatchingVariants = $totalMatchingVariants;
  1437. }
  1438. public function getTotalMatchingVariants()
  1439. {
  1440. return $this->totalMatchingVariants;
  1441. }
  1442. public function setVariants($variants)
  1443. {
  1444. $this->variants = $variants;
  1445. }
  1446. public function getVariants()
  1447. {
  1448. return $this->variants;
  1449. }
  1450. }
  1451. class Google_Service_Shopping_ShoppingModelProductJsonV1Attributes extends Google_Model
  1452. {
  1453. public $displayName;
  1454. public $name;
  1455. public $type;
  1456. public $unit;
  1457. public $value;
  1458. public function setDisplayName($displayName)
  1459. {
  1460. $this->displayName = $displayName;
  1461. }
  1462. public function getDisplayName()
  1463. {
  1464. return $this->displayName;
  1465. }
  1466. public function setName($name)
  1467. {
  1468. $this->name = $name;
  1469. }
  1470. public function getName()
  1471. {
  1472. return $this->name;
  1473. }
  1474. public function setType($type)
  1475. {
  1476. $this->type = $type;
  1477. }
  1478. public function getType()
  1479. {
  1480. return $this->type;
  1481. }
  1482. public function setUnit($unit)
  1483. {
  1484. $this->unit = $unit;
  1485. }
  1486. public function getUnit()
  1487. {
  1488. return $this->unit;
  1489. }
  1490. public function setValue($value)
  1491. {
  1492. $this->value = $value;
  1493. }
  1494. public function getValue()
  1495. {
  1496. return $this->value;
  1497. }
  1498. }
  1499. class Google_Service_Shopping_ShoppingModelProductJsonV1Author extends Google_Model
  1500. {
  1501. public $accountId;
  1502. public $name;
  1503. public function setAccountId($accountId)
  1504. {
  1505. $this->accountId = $accountId;
  1506. }
  1507. public function getAccountId()
  1508. {
  1509. return $this->accountId;
  1510. }
  1511. public function setName($name)
  1512. {
  1513. $this->name = $name;
  1514. }
  1515. public function getName()
  1516. {
  1517. return $this->name;
  1518. }
  1519. }
  1520. class Google_Service_Shopping_ShoppingModelProductJsonV1Images extends Google_Collection
  1521. {
  1522. public $link;
  1523. public $status;
  1524. protected $thumbnailsType = 'Google_Service_Shopping_ShoppingModelProductJsonV1ImagesThumbnails';
  1525. protected $thumbnailsDataType = 'array';
  1526. public function setLink($link)
  1527. {
  1528. $this->link = $link;
  1529. }
  1530. public function getLink()
  1531. {
  1532. return $this->link;
  1533. }
  1534. public function setStatus($status)
  1535. {
  1536. $this->status = $status;
  1537. }
  1538. public function getStatus()
  1539. {
  1540. return $this->status;
  1541. }
  1542. public function setThumbnails($thumbnails)
  1543. {
  1544. $this->thumbnails = $thumbnails;
  1545. }
  1546. public function getThumbnails()
  1547. {
  1548. return $this->thumbnails;
  1549. }
  1550. }
  1551. class Google_Service_Shopping_ShoppingModelProductJsonV1ImagesThumbnails extends Google_Model
  1552. {
  1553. public $content;
  1554. public $height;
  1555. public $link;
  1556. public $width;
  1557. public function setContent($content)
  1558. {
  1559. $this->content = $content;
  1560. }
  1561. public function getContent()
  1562. {
  1563. return $this->content;
  1564. }
  1565. public function setHeight($height)
  1566. {
  1567. $this->height = $height;
  1568. }
  1569. public function getHeight()
  1570. {
  1571. return $this->height;
  1572. }
  1573. public function setLink($link)
  1574. {
  1575. $this->link = $link;
  1576. }
  1577. public function getLink()
  1578. {
  1579. return $this->link;
  1580. }
  1581. public function setWidth($width)
  1582. {
  1583. $this->width = $width;
  1584. }
  1585. public function getWidth()
  1586. {
  1587. return $this->width;
  1588. }
  1589. }
  1590. class Google_Service_Shopping_ShoppingModelProductJsonV1Internal16 extends Google_Model
  1591. {
  1592. public $length;
  1593. public $number;
  1594. public $size;
  1595. public function setLength($length)
  1596. {
  1597. $this->length = $length;
  1598. }
  1599. public function getLength()
  1600. {
  1601. return $this->length;
  1602. }
  1603. public function setNumber($number)
  1604. {
  1605. $this->number = $number;
  1606. }
  1607. public function getNumber()
  1608. {
  1609. return $this->number;
  1610. }
  1611. public function setSize($size)
  1612. {
  1613. $this->size = $size;
  1614. }
  1615. public function getSize()
  1616. {
  1617. return $this->size;
  1618. }
  1619. }
  1620. class Google_Service_Shopping_ShoppingModelProductJsonV1Inventories extends Google_Model
  1621. {
  1622. public $availability;
  1623. public $channel;
  1624. public $currency;
  1625. public $distance;
  1626. public $distanceUnit;
  1627. public $installmentMonths;
  1628. public $installmentPrice;
  1629. public $originalPrice;
  1630. public $price;
  1631. public $saleEndDate;
  1632. public $salePrice;
  1633. public $saleStartDate;
  1634. public $shipping;
  1635. public $storeId;
  1636. public $tax;
  1637. public function setAvailability($availability)
  1638. {
  1639. $this->availability = $availability;
  1640. }
  1641. public function getAvailability()
  1642. {
  1643. return $this->availability;
  1644. }
  1645. public function setChannel($channel)
  1646. {
  1647. $this->channel = $channel;
  1648. }
  1649. public function getChannel()
  1650. {
  1651. return $this->channel;
  1652. }
  1653. public function setCurrency($currency)
  1654. {
  1655. $this->currency = $currency;
  1656. }
  1657. public function getCurrency()
  1658. {
  1659. return $this->currency;
  1660. }
  1661. public function setDistance($distance)
  1662. {
  1663. $this->distance = $distance;
  1664. }
  1665. public function getDistance()
  1666. {
  1667. return $this->distance;
  1668. }
  1669. public function setDistanceUnit($distanceUnit)
  1670. {
  1671. $this->distanceUnit = $distanceUnit;
  1672. }
  1673. public function getDistanceUnit()
  1674. {
  1675. return $this->distanceUnit;
  1676. }
  1677. public function setInstallmentMonths($installmentMonths)
  1678. {
  1679. $this->installmentMonths = $installmentMonths;
  1680. }
  1681. public function getInstallmentMonths()
  1682. {
  1683. return $this->installmentMonths;
  1684. }
  1685. public function setInstallmentPrice($installmentPrice)
  1686. {
  1687. $this->installmentPrice = $installmentPrice;
  1688. }
  1689. public function getInstallmentPrice()
  1690. {
  1691. return $this->installmentPrice;
  1692. }
  1693. public function setOriginalPrice($originalPrice)
  1694. {
  1695. $this->originalPrice = $originalPrice;
  1696. }
  1697. public function getOriginalPrice()
  1698. {
  1699. return $this->originalPrice;
  1700. }
  1701. public function setPrice($price)
  1702. {
  1703. $this->price = $price;
  1704. }
  1705. public function getPrice()
  1706. {
  1707. return $this->price;
  1708. }
  1709. public function setSaleEndDate($saleEndDate)
  1710. {
  1711. $this->saleEndDate = $saleEndDate;
  1712. }
  1713. public function getSaleEndDate()
  1714. {
  1715. return $this->saleEndDate;
  1716. }
  1717. public function setSalePrice($salePrice)
  1718. {
  1719. $this->salePrice = $salePrice;
  1720. }
  1721. public function getSalePrice()
  1722. {
  1723. return $this->salePrice;
  1724. }
  1725. public function setSaleStartDate($saleStartDate)
  1726. {
  1727. $this->saleStartDate = $saleStartDate;
  1728. }
  1729. public function getSaleStartDate()
  1730. {
  1731. return $this->saleStartDate;
  1732. }
  1733. public function setShipping($shipping)
  1734. {
  1735. $this->shipping = $shipping;
  1736. }
  1737. public function getShipping()
  1738. {
  1739. return $this->shipping;
  1740. }
  1741. public function setStoreId($storeId)
  1742. {
  1743. $this->storeId = $storeId;
  1744. }
  1745. public function getStoreId()
  1746. {
  1747. return $this->storeId;
  1748. }
  1749. public function setTax($tax)
  1750. {
  1751. $this->tax = $tax;
  1752. }
  1753. public function getTax()
  1754. {
  1755. return $this->tax;
  1756. }
  1757. }
  1758. class Google_Service_Shopping_ShoppingModelProductJsonV1Variants extends Google_Model
  1759. {
  1760. protected $variantType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
  1761. protected $variantDataType = '';
  1762. public function setVariant(Google_Service_Shopping_ShoppingModelProductJsonV1 $variant)
  1763. {
  1764. $this->variant = $variant;
  1765. }
  1766. public function getVariant()
  1767. {
  1768. return $this->variant;
  1769. }
  1770. }
  1771. class Google_Service_Shopping_ShoppingModelRecommendationsJsonV1 extends Google_Collection
  1772. {
  1773. protected $recommendationListType = 'Google_Service_Shopping_ShoppingModelRecommendationsJsonV1RecommendationList';
  1774. protected $recommendationListDataType = 'array';
  1775. public $type;
  1776. public function setRecommendationList($recommendationList)
  1777. {
  1778. $this->recommendationList = $recommendationList;
  1779. }
  1780. public function getRecommendationList()
  1781. {
  1782. return $this->recommendationList;
  1783. }
  1784. public function setType($type)
  1785. {
  1786. $this->type = $type;
  1787. }
  1788. public function getType()
  1789. {
  1790. return $this->type;
  1791. }
  1792. }
  1793. class Google_Service_Shopping_ShoppingModelRecommendationsJsonV1RecommendationList extends Google_Model
  1794. {
  1795. protected $productType = 'Google_Service_Shopping_ShoppingModelProductJsonV1';
  1796. protected $productDataType = '';
  1797. public function setProduct(Google_Service_Shopping_ShoppingModelProductJsonV1 $product)
  1798. {
  1799. $this->product = $product;
  1800. }
  1801. public function getProduct()
  1802. {
  1803. return $this->product;
  1804. }
  1805. }