source: vendor/google/apiclient-services/src/ShoppingContent/LocalInventory.php

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

Upload project files

  • Property mode set to 100644
File size: 4.1 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\ShoppingContent;
19
20class LocalInventory extends \Google\Collection
21{
22 protected $collection_key = 'customAttributes';
23 /**
24 * @var string
25 */
26 public $availability;
27 protected $customAttributesType = CustomAttribute::class;
28 protected $customAttributesDataType = 'array';
29 /**
30 * @var string
31 */
32 public $instoreProductLocation;
33 /**
34 * @var string
35 */
36 public $kind;
37 /**
38 * @var string
39 */
40 public $pickupMethod;
41 /**
42 * @var string
43 */
44 public $pickupSla;
45 protected $priceType = Price::class;
46 protected $priceDataType = '';
47 /**
48 * @var string
49 */
50 public $quantity;
51 protected $salePriceType = Price::class;
52 protected $salePriceDataType = '';
53 /**
54 * @var string
55 */
56 public $salePriceEffectiveDate;
57 /**
58 * @var string
59 */
60 public $storeCode;
61
62 /**
63 * @param string
64 */
65 public function setAvailability($availability)
66 {
67 $this->availability = $availability;
68 }
69 /**
70 * @return string
71 */
72 public function getAvailability()
73 {
74 return $this->availability;
75 }
76 /**
77 * @param CustomAttribute[]
78 */
79 public function setCustomAttributes($customAttributes)
80 {
81 $this->customAttributes = $customAttributes;
82 }
83 /**
84 * @return CustomAttribute[]
85 */
86 public function getCustomAttributes()
87 {
88 return $this->customAttributes;
89 }
90 /**
91 * @param string
92 */
93 public function setInstoreProductLocation($instoreProductLocation)
94 {
95 $this->instoreProductLocation = $instoreProductLocation;
96 }
97 /**
98 * @return string
99 */
100 public function getInstoreProductLocation()
101 {
102 return $this->instoreProductLocation;
103 }
104 /**
105 * @param string
106 */
107 public function setKind($kind)
108 {
109 $this->kind = $kind;
110 }
111 /**
112 * @return string
113 */
114 public function getKind()
115 {
116 return $this->kind;
117 }
118 /**
119 * @param string
120 */
121 public function setPickupMethod($pickupMethod)
122 {
123 $this->pickupMethod = $pickupMethod;
124 }
125 /**
126 * @return string
127 */
128 public function getPickupMethod()
129 {
130 return $this->pickupMethod;
131 }
132 /**
133 * @param string
134 */
135 public function setPickupSla($pickupSla)
136 {
137 $this->pickupSla = $pickupSla;
138 }
139 /**
140 * @return string
141 */
142 public function getPickupSla()
143 {
144 return $this->pickupSla;
145 }
146 /**
147 * @param Price
148 */
149 public function setPrice(Price $price)
150 {
151 $this->price = $price;
152 }
153 /**
154 * @return Price
155 */
156 public function getPrice()
157 {
158 return $this->price;
159 }
160 /**
161 * @param string
162 */
163 public function setQuantity($quantity)
164 {
165 $this->quantity = $quantity;
166 }
167 /**
168 * @return string
169 */
170 public function getQuantity()
171 {
172 return $this->quantity;
173 }
174 /**
175 * @param Price
176 */
177 public function setSalePrice(Price $salePrice)
178 {
179 $this->salePrice = $salePrice;
180 }
181 /**
182 * @return Price
183 */
184 public function getSalePrice()
185 {
186 return $this->salePrice;
187 }
188 /**
189 * @param string
190 */
191 public function setSalePriceEffectiveDate($salePriceEffectiveDate)
192 {
193 $this->salePriceEffectiveDate = $salePriceEffectiveDate;
194 }
195 /**
196 * @return string
197 */
198 public function getSalePriceEffectiveDate()
199 {
200 return $this->salePriceEffectiveDate;
201 }
202 /**
203 * @param string
204 */
205 public function setStoreCode($storeCode)
206 {
207 $this->storeCode = $storeCode;
208 }
209 /**
210 * @return string
211 */
212 public function getStoreCode()
213 {
214 return $this->storeCode;
215 }
216}
217
218// Adding a class alias for backwards compatibility with the previous class name.
219class_alias(LocalInventory::class, 'Google_Service_ShoppingContent_LocalInventory');
Note: See TracBrowser for help on using the repository browser.