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_Headers extends Google_Collection 19{ 20 protected $collection_key = 'weights'; 21 protected $locationsType = 'Google_Service_ShoppingContent_LocationIdSet'; 22 protected $locationsDataType = 'array'; 23 public $numberOfItems; 24 public $postalCodeGroupNames; 25 protected $pricesType = 'Google_Service_ShoppingContent_Price'; 26 protected $pricesDataType = 'array'; 27 protected $weightsType = 'Google_Service_ShoppingContent_Weight'; 28 protected $weightsDataType = 'array'; 29 30 /** 31 * @param Google_Service_ShoppingContent_LocationIdSet[] 32 */ 33 public function setLocations($locations) 34 { 35 $this->locations = $locations; 36 } 37 /** 38 * @return Google_Service_ShoppingContent_LocationIdSet[] 39 */ 40 public function getLocations() 41 { 42 return $this->locations; 43 } 44 public function setNumberOfItems($numberOfItems) 45 { 46 $this->numberOfItems = $numberOfItems; 47 } 48 public function getNumberOfItems() 49 { 50 return $this->numberOfItems; 51 } 52 public function setPostalCodeGroupNames($postalCodeGroupNames) 53 { 54 $this->postalCodeGroupNames = $postalCodeGroupNames; 55 } 56 public function getPostalCodeGroupNames() 57 { 58 return $this->postalCodeGroupNames; 59 } 60 /** 61 * @param Google_Service_ShoppingContent_Price[] 62 */ 63 public function setPrices($prices) 64 { 65 $this->prices = $prices; 66 } 67 /** 68 * @return Google_Service_ShoppingContent_Price[] 69 */ 70 public function getPrices() 71 { 72 return $this->prices; 73 } 74 /** 75 * @param Google_Service_ShoppingContent_Weight[] 76 */ 77 public function setWeights($weights) 78 { 79 $this->weights = $weights; 80 } 81 /** 82 * @return Google_Service_ShoppingContent_Weight[] 83 */ 84 public function getWeights() 85 { 86 return $this->weights; 87 } 88} 89