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 Segments extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $brand; 26 /** 27 * @var string 28 */ 29 public $categoryL1; 30 /** 31 * @var string 32 */ 33 public $categoryL2; 34 /** 35 * @var string 36 */ 37 public $categoryL3; 38 /** 39 * @var string 40 */ 41 public $categoryL4; 42 /** 43 * @var string 44 */ 45 public $categoryL5; 46 /** 47 * @var string 48 */ 49 public $currencyCode; 50 /** 51 * @var string 52 */ 53 public $customLabel0; 54 /** 55 * @var string 56 */ 57 public $customLabel1; 58 /** 59 * @var string 60 */ 61 public $customLabel2; 62 /** 63 * @var string 64 */ 65 public $customLabel3; 66 /** 67 * @var string 68 */ 69 public $customLabel4; 70 protected $dateType = Date::class; 71 protected $dateDataType = ''; 72 /** 73 * @var string 74 */ 75 public $offerId; 76 /** 77 * @var string 78 */ 79 public $productTypeL1; 80 /** 81 * @var string 82 */ 83 public $productTypeL2; 84 /** 85 * @var string 86 */ 87 public $productTypeL3; 88 /** 89 * @var string 90 */ 91 public $productTypeL4; 92 /** 93 * @var string 94 */ 95 public $productTypeL5; 96 /** 97 * @var string 98 */ 99 public $program; 100 /** 101 * @var string 102 */ 103 public $title; 104 protected $weekType = Date::class; 105 protected $weekDataType = ''; 106 107 /** 108 * @param string 109 */ 110 public function setBrand($brand) 111 { 112 $this->brand = $brand; 113 } 114 /** 115 * @return string 116 */ 117 public function getBrand() 118 { 119 return $this->brand; 120 } 121 /** 122 * @param string 123 */ 124 public function setCategoryL1($categoryL1) 125 { 126 $this->categoryL1 = $categoryL1; 127 } 128 /** 129 * @return string 130 */ 131 public function getCategoryL1() 132 { 133 return $this->categoryL1; 134 } 135 /** 136 * @param string 137 */ 138 public function setCategoryL2($categoryL2) 139 { 140 $this->categoryL2 = $categoryL2; 141 } 142 /** 143 * @return string 144 */ 145 public function getCategoryL2() 146 { 147 return $this->categoryL2; 148 } 149 /** 150 * @param string 151 */ 152 public function setCategoryL3($categoryL3) 153 { 154 $this->categoryL3 = $categoryL3; 155 } 156 /** 157 * @return string 158 */ 159 public function getCategoryL3() 160 { 161 return $this->categoryL3; 162 } 163 /** 164 * @param string 165 */ 166 public function setCategoryL4($categoryL4) 167 { 168 $this->categoryL4 = $categoryL4; 169 } 170 /** 171 * @return string 172 */ 173 public function getCategoryL4() 174 { 175 return $this->categoryL4; 176 } 177 /** 178 * @param string 179 */ 180 public function setCategoryL5($categoryL5) 181 { 182 $this->categoryL5 = $categoryL5; 183 } 184 /** 185 * @return string 186 */ 187 public function getCategoryL5() 188 { 189 return $this->categoryL5; 190 } 191 /** 192 * @param string 193 */ 194 public function setCurrencyCode($currencyCode) 195 { 196 $this->currencyCode = $currencyCode; 197 } 198 /** 199 * @return string 200 */ 201 public function getCurrencyCode() 202 { 203 return $this->currencyCode; 204 } 205 /** 206 * @param string 207 */ 208 public function setCustomLabel0($customLabel0) 209 { 210 $this->customLabel0 = $customLabel0; 211 } 212 /** 213 * @return string 214 */ 215 public function getCustomLabel0() 216 { 217 return $this->customLabel0; 218 } 219 /** 220 * @param string 221 */ 222 public function setCustomLabel1($customLabel1) 223 { 224 $this->customLabel1 = $customLabel1; 225 } 226 /** 227 * @return string 228 */ 229 public function getCustomLabel1() 230 { 231 return $this->customLabel1; 232 } 233 /** 234 * @param string 235 */ 236 public function setCustomLabel2($customLabel2) 237 { 238 $this->customLabel2 = $customLabel2; 239 } 240 /** 241 * @return string 242 */ 243 public function getCustomLabel2() 244 { 245 return $this->customLabel2; 246 } 247 /** 248 * @param string 249 */ 250 public function setCustomLabel3($customLabel3) 251 { 252 $this->customLabel3 = $customLabel3; 253 } 254 /** 255 * @return string 256 */ 257 public function getCustomLabel3() 258 { 259 return $this->customLabel3; 260 } 261 /** 262 * @param string 263 */ 264 public function setCustomLabel4($customLabel4) 265 { 266 $this->customLabel4 = $customLabel4; 267 } 268 /** 269 * @return string 270 */ 271 public function getCustomLabel4() 272 { 273 return $this->customLabel4; 274 } 275 /** 276 * @param Date 277 */ 278 public function setDate(Date $date) 279 { 280 $this->date = $date; 281 } 282 /** 283 * @return Date 284 */ 285 public function getDate() 286 { 287 return $this->date; 288 } 289 /** 290 * @param string 291 */ 292 public function setOfferId($offerId) 293 { 294 $this->offerId = $offerId; 295 } 296 /** 297 * @return string 298 */ 299 public function getOfferId() 300 { 301 return $this->offerId; 302 } 303 /** 304 * @param string 305 */ 306 public function setProductTypeL1($productTypeL1) 307 { 308 $this->productTypeL1 = $productTypeL1; 309 } 310 /** 311 * @return string 312 */ 313 public function getProductTypeL1() 314 { 315 return $this->productTypeL1; 316 } 317 /** 318 * @param string 319 */ 320 public function setProductTypeL2($productTypeL2) 321 { 322 $this->productTypeL2 = $productTypeL2; 323 } 324 /** 325 * @return string 326 */ 327 public function getProductTypeL2() 328 { 329 return $this->productTypeL2; 330 } 331 /** 332 * @param string 333 */ 334 public function setProductTypeL3($productTypeL3) 335 { 336 $this->productTypeL3 = $productTypeL3; 337 } 338 /** 339 * @return string 340 */ 341 public function getProductTypeL3() 342 { 343 return $this->productTypeL3; 344 } 345 /** 346 * @param string 347 */ 348 public function setProductTypeL4($productTypeL4) 349 { 350 $this->productTypeL4 = $productTypeL4; 351 } 352 /** 353 * @return string 354 */ 355 public function getProductTypeL4() 356 { 357 return $this->productTypeL4; 358 } 359 /** 360 * @param string 361 */ 362 public function setProductTypeL5($productTypeL5) 363 { 364 $this->productTypeL5 = $productTypeL5; 365 } 366 /** 367 * @return string 368 */ 369 public function getProductTypeL5() 370 { 371 return $this->productTypeL5; 372 } 373 /** 374 * @param string 375 */ 376 public function setProgram($program) 377 { 378 $this->program = $program; 379 } 380 /** 381 * @return string 382 */ 383 public function getProgram() 384 { 385 return $this->program; 386 } 387 /** 388 * @param string 389 */ 390 public function setTitle($title) 391 { 392 $this->title = $title; 393 } 394 /** 395 * @return string 396 */ 397 public function getTitle() 398 { 399 return $this->title; 400 } 401 /** 402 * @param Date 403 */ 404 public function setWeek(Date $week) 405 { 406 $this->week = $week; 407 } 408 /** 409 * @return Date 410 */ 411 public function getWeek() 412 { 413 return $this->week; 414 } 415} 416 417// Adding a class alias for backwards compatibility with the previous class name. 418class_alias(Segments::class, 'Google_Service_ShoppingContent_Segments'); 419