source: vendor/google/apiclient-services/src/RecommendationsAI/GoogleCloudRecommendationengineV1beta1ProductCatalogItem.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 9 days ago

Upload project files

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?php
2/*
3 * Copyright 2014 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
18namespace Google\Service\RecommendationsAI;
19
20class GoogleCloudRecommendationengineV1beta1ProductCatalogItem extends \Google\Collection
21{
22 protected $collection_key = 'images';
23 /**
24 * @var string
25 */
26 public $availableQuantity;
27 /**
28 * @var string
29 */
30 public $canonicalProductUri;
31 /**
32 * @var float[]
33 */
34 public $costs;
35 /**
36 * @var string
37 */
38 public $currencyCode;
39 protected $exactPriceType = GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice::class;
40 protected $exactPriceDataType = '';
41 protected $imagesType = GoogleCloudRecommendationengineV1beta1Image::class;
42 protected $imagesDataType = 'array';
43 protected $priceRangeType = GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange::class;
44 protected $priceRangeDataType = '';
45 /**
46 * @var string
47 */
48 public $stockState;
49
50 /**
51 * @param string
52 */
53 public function setAvailableQuantity($availableQuantity)
54 {
55 $this->availableQuantity = $availableQuantity;
56 }
57 /**
58 * @return string
59 */
60 public function getAvailableQuantity()
61 {
62 return $this->availableQuantity;
63 }
64 /**
65 * @param string
66 */
67 public function setCanonicalProductUri($canonicalProductUri)
68 {
69 $this->canonicalProductUri = $canonicalProductUri;
70 }
71 /**
72 * @return string
73 */
74 public function getCanonicalProductUri()
75 {
76 return $this->canonicalProductUri;
77 }
78 /**
79 * @param float[]
80 */
81 public function setCosts($costs)
82 {
83 $this->costs = $costs;
84 }
85 /**
86 * @return float[]
87 */
88 public function getCosts()
89 {
90 return $this->costs;
91 }
92 /**
93 * @param string
94 */
95 public function setCurrencyCode($currencyCode)
96 {
97 $this->currencyCode = $currencyCode;
98 }
99 /**
100 * @return string
101 */
102 public function getCurrencyCode()
103 {
104 return $this->currencyCode;
105 }
106 /**
107 * @param GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice
108 */
109 public function setExactPrice(GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice $exactPrice)
110 {
111 $this->exactPrice = $exactPrice;
112 }
113 /**
114 * @return GoogleCloudRecommendationengineV1beta1ProductCatalogItemExactPrice
115 */
116 public function getExactPrice()
117 {
118 return $this->exactPrice;
119 }
120 /**
121 * @param GoogleCloudRecommendationengineV1beta1Image[]
122 */
123 public function setImages($images)
124 {
125 $this->images = $images;
126 }
127 /**
128 * @return GoogleCloudRecommendationengineV1beta1Image[]
129 */
130 public function getImages()
131 {
132 return $this->images;
133 }
134 /**
135 * @param GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange
136 */
137 public function setPriceRange(GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange $priceRange)
138 {
139 $this->priceRange = $priceRange;
140 }
141 /**
142 * @return GoogleCloudRecommendationengineV1beta1ProductCatalogItemPriceRange
143 */
144 public function getPriceRange()
145 {
146 return $this->priceRange;
147 }
148 /**
149 * @param string
150 */
151 public function setStockState($stockState)
152 {
153 $this->stockState = $stockState;
154 }
155 /**
156 * @return string
157 */
158 public function getStockState()
159 {
160 return $this->stockState;
161 }
162}
163
164// Adding a class alias for backwards compatibility with the previous class name.
165class_alias(GoogleCloudRecommendationengineV1beta1ProductCatalogItem::class, 'Google_Service_RecommendationsAI_GoogleCloudRecommendationengineV1beta1ProductCatalogItem');
Note: See TracBrowser for help on using the repository browser.