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\Localservices; 19 20class GoogleAdsHomeservicesLocalservicesV1AccountReport extends \Google\Model 21{ 22 /** 23 * @var string 24 */ 25 public $accountId; 26 protected $aggregatorInfoType = GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::class; 27 protected $aggregatorInfoDataType = ''; 28 public $averageFiveStarRating; 29 public $averageWeeklyBudget; 30 /** 31 * @var string 32 */ 33 public $businessName; 34 /** 35 * @var string 36 */ 37 public $currencyCode; 38 /** 39 * @var string 40 */ 41 public $currentPeriodChargedLeads; 42 /** 43 * @var string 44 */ 45 public $currentPeriodConnectedPhoneCalls; 46 /** 47 * @var string 48 */ 49 public $currentPeriodPhoneCalls; 50 public $currentPeriodTotalCost; 51 /** 52 * @var string 53 */ 54 public $impressionsLastTwoDays; 55 public $phoneLeadResponsiveness; 56 /** 57 * @var string 58 */ 59 public $previousPeriodChargedLeads; 60 /** 61 * @var string 62 */ 63 public $previousPeriodConnectedPhoneCalls; 64 /** 65 * @var string 66 */ 67 public $previousPeriodPhoneCalls; 68 public $previousPeriodTotalCost; 69 /** 70 * @var int 71 */ 72 public $totalReview; 73 74 /** 75 * @param string 76 */ 77 public function setAccountId($accountId) 78 { 79 $this->accountId = $accountId; 80 } 81 /** 82 * @return string 83 */ 84 public function getAccountId() 85 { 86 return $this->accountId; 87 } 88 /** 89 * @param GoogleAdsHomeservicesLocalservicesV1AggregatorInfo 90 */ 91 public function setAggregatorInfo(GoogleAdsHomeservicesLocalservicesV1AggregatorInfo $aggregatorInfo) 92 { 93 $this->aggregatorInfo = $aggregatorInfo; 94 } 95 /** 96 * @return GoogleAdsHomeservicesLocalservicesV1AggregatorInfo 97 */ 98 public function getAggregatorInfo() 99 { 100 return $this->aggregatorInfo; 101 } 102 public function setAverageFiveStarRating($averageFiveStarRating) 103 { 104 $this->averageFiveStarRating = $averageFiveStarRating; 105 } 106 public function getAverageFiveStarRating() 107 { 108 return $this->averageFiveStarRating; 109 } 110 public function setAverageWeeklyBudget($averageWeeklyBudget) 111 { 112 $this->averageWeeklyBudget = $averageWeeklyBudget; 113 } 114 public function getAverageWeeklyBudget() 115 { 116 return $this->averageWeeklyBudget; 117 } 118 /** 119 * @param string 120 */ 121 public function setBusinessName($businessName) 122 { 123 $this->businessName = $businessName; 124 } 125 /** 126 * @return string 127 */ 128 public function getBusinessName() 129 { 130 return $this->businessName; 131 } 132 /** 133 * @param string 134 */ 135 public function setCurrencyCode($currencyCode) 136 { 137 $this->currencyCode = $currencyCode; 138 } 139 /** 140 * @return string 141 */ 142 public function getCurrencyCode() 143 { 144 return $this->currencyCode; 145 } 146 /** 147 * @param string 148 */ 149 public function setCurrentPeriodChargedLeads($currentPeriodChargedLeads) 150 { 151 $this->currentPeriodChargedLeads = $currentPeriodChargedLeads; 152 } 153 /** 154 * @return string 155 */ 156 public function getCurrentPeriodChargedLeads() 157 { 158 return $this->currentPeriodChargedLeads; 159 } 160 /** 161 * @param string 162 */ 163 public function setCurrentPeriodConnectedPhoneCalls($currentPeriodConnectedPhoneCalls) 164 { 165 $this->currentPeriodConnectedPhoneCalls = $currentPeriodConnectedPhoneCalls; 166 } 167 /** 168 * @return string 169 */ 170 public function getCurrentPeriodConnectedPhoneCalls() 171 { 172 return $this->currentPeriodConnectedPhoneCalls; 173 } 174 /** 175 * @param string 176 */ 177 public function setCurrentPeriodPhoneCalls($currentPeriodPhoneCalls) 178 { 179 $this->currentPeriodPhoneCalls = $currentPeriodPhoneCalls; 180 } 181 /** 182 * @return string 183 */ 184 public function getCurrentPeriodPhoneCalls() 185 { 186 return $this->currentPeriodPhoneCalls; 187 } 188 public function setCurrentPeriodTotalCost($currentPeriodTotalCost) 189 { 190 $this->currentPeriodTotalCost = $currentPeriodTotalCost; 191 } 192 public function getCurrentPeriodTotalCost() 193 { 194 return $this->currentPeriodTotalCost; 195 } 196 /** 197 * @param string 198 */ 199 public function setImpressionsLastTwoDays($impressionsLastTwoDays) 200 { 201 $this->impressionsLastTwoDays = $impressionsLastTwoDays; 202 } 203 /** 204 * @return string 205 */ 206 public function getImpressionsLastTwoDays() 207 { 208 return $this->impressionsLastTwoDays; 209 } 210 public function setPhoneLeadResponsiveness($phoneLeadResponsiveness) 211 { 212 $this->phoneLeadResponsiveness = $phoneLeadResponsiveness; 213 } 214 public function getPhoneLeadResponsiveness() 215 { 216 return $this->phoneLeadResponsiveness; 217 } 218 /** 219 * @param string 220 */ 221 public function setPreviousPeriodChargedLeads($previousPeriodChargedLeads) 222 { 223 $this->previousPeriodChargedLeads = $previousPeriodChargedLeads; 224 } 225 /** 226 * @return string 227 */ 228 public function getPreviousPeriodChargedLeads() 229 { 230 return $this->previousPeriodChargedLeads; 231 } 232 /** 233 * @param string 234 */ 235 public function setPreviousPeriodConnectedPhoneCalls($previousPeriodConnectedPhoneCalls) 236 { 237 $this->previousPeriodConnectedPhoneCalls = $previousPeriodConnectedPhoneCalls; 238 } 239 /** 240 * @return string 241 */ 242 public function getPreviousPeriodConnectedPhoneCalls() 243 { 244 return $this->previousPeriodConnectedPhoneCalls; 245 } 246 /** 247 * @param string 248 */ 249 public function setPreviousPeriodPhoneCalls($previousPeriodPhoneCalls) 250 { 251 $this->previousPeriodPhoneCalls = $previousPeriodPhoneCalls; 252 } 253 /** 254 * @return string 255 */ 256 public function getPreviousPeriodPhoneCalls() 257 { 258 return $this->previousPeriodPhoneCalls; 259 } 260 public function setPreviousPeriodTotalCost($previousPeriodTotalCost) 261 { 262 $this->previousPeriodTotalCost = $previousPeriodTotalCost; 263 } 264 public function getPreviousPeriodTotalCost() 265 { 266 return $this->previousPeriodTotalCost; 267 } 268 /** 269 * @param int 270 */ 271 public function setTotalReview($totalReview) 272 { 273 $this->totalReview = $totalReview; 274 } 275 /** 276 * @return int 277 */ 278 public function getTotalReview() 279 { 280 return $this->totalReview; 281 } 282} 283 284// Adding a class alias for backwards compatibility with the previous class name. 285class_alias(GoogleAdsHomeservicesLocalservicesV1AccountReport::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1AccountReport'); 286