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 OrderLineItemProduct extends \Google\Collection 21{ 22 protected $collection_key = 'variantAttributes'; 23 /** 24 * @var string 25 */ 26 public $brand; 27 /** 28 * @var string 29 */ 30 public $condition; 31 /** 32 * @var string 33 */ 34 public $contentLanguage; 35 protected $feesType = OrderLineItemProductFee::class; 36 protected $feesDataType = 'array'; 37 /** 38 * @var string 39 */ 40 public $gtin; 41 /** 42 * @var string 43 */ 44 public $id; 45 /** 46 * @var string 47 */ 48 public $imageLink; 49 /** 50 * @var string 51 */ 52 public $itemGroupId; 53 /** 54 * @var string 55 */ 56 public $mpn; 57 /** 58 * @var string 59 */ 60 public $offerId; 61 protected $priceType = Price::class; 62 protected $priceDataType = ''; 63 /** 64 * @var string 65 */ 66 public $shownImage; 67 /** 68 * @var string 69 */ 70 public $targetCountry; 71 /** 72 * @var string 73 */ 74 public $title; 75 protected $variantAttributesType = OrderLineItemProductVariantAttribute::class; 76 protected $variantAttributesDataType = 'array'; 77 78 /** 79 * @param string 80 */ 81 public function setBrand($brand) 82 { 83 $this->brand = $brand; 84 } 85 /** 86 * @return string 87 */ 88 public function getBrand() 89 { 90 return $this->brand; 91 } 92 /** 93 * @param string 94 */ 95 public function setCondition($condition) 96 { 97 $this->condition = $condition; 98 } 99 /** 100 * @return string 101 */ 102 public function getCondition() 103 { 104 return $this->condition; 105 } 106 /** 107 * @param string 108 */ 109 public function setContentLanguage($contentLanguage) 110 { 111 $this->contentLanguage = $contentLanguage; 112 } 113 /** 114 * @return string 115 */ 116 public function getContentLanguage() 117 { 118 return $this->contentLanguage; 119 } 120 /** 121 * @param OrderLineItemProductFee[] 122 */ 123 public function setFees($fees) 124 { 125 $this->fees = $fees; 126 } 127 /** 128 * @return OrderLineItemProductFee[] 129 */ 130 public function getFees() 131 { 132 return $this->fees; 133 } 134 /** 135 * @param string 136 */ 137 public function setGtin($gtin) 138 { 139 $this->gtin = $gtin; 140 } 141 /** 142 * @return string 143 */ 144 public function getGtin() 145 { 146 return $this->gtin; 147 } 148 /** 149 * @param string 150 */ 151 public function setId($id) 152 { 153 $this->id = $id; 154 } 155 /** 156 * @return string 157 */ 158 public function getId() 159 { 160 return $this->id; 161 } 162 /** 163 * @param string 164 */ 165 public function setImageLink($imageLink) 166 { 167 $this->imageLink = $imageLink; 168 } 169 /** 170 * @return string 171 */ 172 public function getImageLink() 173 { 174 return $this->imageLink; 175 } 176 /** 177 * @param string 178 */ 179 public function setItemGroupId($itemGroupId) 180 { 181 $this->itemGroupId = $itemGroupId; 182 } 183 /** 184 * @return string 185 */ 186 public function getItemGroupId() 187 { 188 return $this->itemGroupId; 189 } 190 /** 191 * @param string 192 */ 193 public function setMpn($mpn) 194 { 195 $this->mpn = $mpn; 196 } 197 /** 198 * @return string 199 */ 200 public function getMpn() 201 { 202 return $this->mpn; 203 } 204 /** 205 * @param string 206 */ 207 public function setOfferId($offerId) 208 { 209 $this->offerId = $offerId; 210 } 211 /** 212 * @return string 213 */ 214 public function getOfferId() 215 { 216 return $this->offerId; 217 } 218 /** 219 * @param Price 220 */ 221 public function setPrice(Price $price) 222 { 223 $this->price = $price; 224 } 225 /** 226 * @return Price 227 */ 228 public function getPrice() 229 { 230 return $this->price; 231 } 232 /** 233 * @param string 234 */ 235 public function setShownImage($shownImage) 236 { 237 $this->shownImage = $shownImage; 238 } 239 /** 240 * @return string 241 */ 242 public function getShownImage() 243 { 244 return $this->shownImage; 245 } 246 /** 247 * @param string 248 */ 249 public function setTargetCountry($targetCountry) 250 { 251 $this->targetCountry = $targetCountry; 252 } 253 /** 254 * @return string 255 */ 256 public function getTargetCountry() 257 { 258 return $this->targetCountry; 259 } 260 /** 261 * @param string 262 */ 263 public function setTitle($title) 264 { 265 $this->title = $title; 266 } 267 /** 268 * @return string 269 */ 270 public function getTitle() 271 { 272 return $this->title; 273 } 274 /** 275 * @param OrderLineItemProductVariantAttribute[] 276 */ 277 public function setVariantAttributes($variantAttributes) 278 { 279 $this->variantAttributes = $variantAttributes; 280 } 281 /** 282 * @return OrderLineItemProductVariantAttribute[] 283 */ 284 public function getVariantAttributes() 285 { 286 return $this->variantAttributes; 287 } 288} 289 290// Adding a class alias for backwards compatibility with the previous class name. 291class_alias(OrderLineItemProduct::class, 'Google_Service_ShoppingContent_OrderLineItemProduct'); 292