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 18class Google_Service_ShoppingContent_TestOrderLineItemProduct extends Google_Collection 19{ 20 protected $collection_key = 'variantAttributes'; 21 public $brand; 22 public $condition; 23 public $contentLanguage; 24 public $gtin; 25 public $imageLink; 26 public $itemGroupId; 27 public $mpn; 28 public $offerId; 29 protected $priceType = 'Google_Service_ShoppingContent_Price'; 30 protected $priceDataType = ''; 31 public $targetCountry; 32 public $title; 33 protected $variantAttributesType = 'Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute'; 34 protected $variantAttributesDataType = 'array'; 35 36 public function setBrand($brand) 37 { 38 $this->brand = $brand; 39 } 40 public function getBrand() 41 { 42 return $this->brand; 43 } 44 public function setCondition($condition) 45 { 46 $this->condition = $condition; 47 } 48 public function getCondition() 49 { 50 return $this->condition; 51 } 52 public function setContentLanguage($contentLanguage) 53 { 54 $this->contentLanguage = $contentLanguage; 55 } 56 public function getContentLanguage() 57 { 58 return $this->contentLanguage; 59 } 60 public function setGtin($gtin) 61 { 62 $this->gtin = $gtin; 63 } 64 public function getGtin() 65 { 66 return $this->gtin; 67 } 68 public function setImageLink($imageLink) 69 { 70 $this->imageLink = $imageLink; 71 } 72 public function getImageLink() 73 { 74 return $this->imageLink; 75 } 76 public function setItemGroupId($itemGroupId) 77 { 78 $this->itemGroupId = $itemGroupId; 79 } 80 public function getItemGroupId() 81 { 82 return $this->itemGroupId; 83 } 84 public function setMpn($mpn) 85 { 86 $this->mpn = $mpn; 87 } 88 public function getMpn() 89 { 90 return $this->mpn; 91 } 92 public function setOfferId($offerId) 93 { 94 $this->offerId = $offerId; 95 } 96 public function getOfferId() 97 { 98 return $this->offerId; 99 } 100 /** 101 * @param Google_Service_ShoppingContent_Price 102 */ 103 public function setPrice(Google_Service_ShoppingContent_Price $price) 104 { 105 $this->price = $price; 106 } 107 /** 108 * @return Google_Service_ShoppingContent_Price 109 */ 110 public function getPrice() 111 { 112 return $this->price; 113 } 114 public function setTargetCountry($targetCountry) 115 { 116 $this->targetCountry = $targetCountry; 117 } 118 public function getTargetCountry() 119 { 120 return $this->targetCountry; 121 } 122 public function setTitle($title) 123 { 124 $this->title = $title; 125 } 126 public function getTitle() 127 { 128 return $this->title; 129 } 130 /** 131 * @param Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute 132 */ 133 public function setVariantAttributes($variantAttributes) 134 { 135 $this->variantAttributes = $variantAttributes; 136 } 137 /** 138 * @return Google_Service_ShoppingContent_OrderLineItemProductVariantAttribute 139 */ 140 public function getVariantAttributes() 141 { 142 return $this->variantAttributes; 143 } 144} 145