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 GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport extends \Google\Model
21{
22  /**
23   * @var string
24   */
25  public $accountId;
26  protected $aggregatorInfoType = GoogleAdsHomeservicesLocalservicesV1AggregatorInfo::class;
27  protected $aggregatorInfoDataType = '';
28  protected $bookingLeadType = GoogleAdsHomeservicesLocalservicesV1BookingLead::class;
29  protected $bookingLeadDataType = '';
30  /**
31   * @var string
32   */
33  public $businessName;
34  /**
35   * @var string
36   */
37  public $chargeStatus;
38  /**
39   * @var string
40   */
41  public $currencyCode;
42  /**
43   * @var string
44   */
45  public $disputeStatus;
46  /**
47   * @var string
48   */
49  public $geo;
50  /**
51   * @var string
52   */
53  public $leadCategory;
54  /**
55   * @var string
56   */
57  public $leadCreationTimestamp;
58  /**
59   * @var string
60   */
61  public $leadId;
62  public $leadPrice;
63  /**
64   * @var string
65   */
66  public $leadType;
67  protected $messageLeadType = GoogleAdsHomeservicesLocalservicesV1MessageLead::class;
68  protected $messageLeadDataType = '';
69  protected $phoneLeadType = GoogleAdsHomeservicesLocalservicesV1PhoneLead::class;
70  protected $phoneLeadDataType = '';
71  protected $timezoneType = GoogleTypeTimeZone::class;
72  protected $timezoneDataType = '';
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  /**
103   * @param GoogleAdsHomeservicesLocalservicesV1BookingLead
104   */
105  public function setBookingLead(GoogleAdsHomeservicesLocalservicesV1BookingLead $bookingLead)
106  {
107    $this->bookingLead = $bookingLead;
108  }
109  /**
110   * @return GoogleAdsHomeservicesLocalservicesV1BookingLead
111   */
112  public function getBookingLead()
113  {
114    return $this->bookingLead;
115  }
116  /**
117   * @param string
118   */
119  public function setBusinessName($businessName)
120  {
121    $this->businessName = $businessName;
122  }
123  /**
124   * @return string
125   */
126  public function getBusinessName()
127  {
128    return $this->businessName;
129  }
130  /**
131   * @param string
132   */
133  public function setChargeStatus($chargeStatus)
134  {
135    $this->chargeStatus = $chargeStatus;
136  }
137  /**
138   * @return string
139   */
140  public function getChargeStatus()
141  {
142    return $this->chargeStatus;
143  }
144  /**
145   * @param string
146   */
147  public function setCurrencyCode($currencyCode)
148  {
149    $this->currencyCode = $currencyCode;
150  }
151  /**
152   * @return string
153   */
154  public function getCurrencyCode()
155  {
156    return $this->currencyCode;
157  }
158  /**
159   * @param string
160   */
161  public function setDisputeStatus($disputeStatus)
162  {
163    $this->disputeStatus = $disputeStatus;
164  }
165  /**
166   * @return string
167   */
168  public function getDisputeStatus()
169  {
170    return $this->disputeStatus;
171  }
172  /**
173   * @param string
174   */
175  public function setGeo($geo)
176  {
177    $this->geo = $geo;
178  }
179  /**
180   * @return string
181   */
182  public function getGeo()
183  {
184    return $this->geo;
185  }
186  /**
187   * @param string
188   */
189  public function setLeadCategory($leadCategory)
190  {
191    $this->leadCategory = $leadCategory;
192  }
193  /**
194   * @return string
195   */
196  public function getLeadCategory()
197  {
198    return $this->leadCategory;
199  }
200  /**
201   * @param string
202   */
203  public function setLeadCreationTimestamp($leadCreationTimestamp)
204  {
205    $this->leadCreationTimestamp = $leadCreationTimestamp;
206  }
207  /**
208   * @return string
209   */
210  public function getLeadCreationTimestamp()
211  {
212    return $this->leadCreationTimestamp;
213  }
214  /**
215   * @param string
216   */
217  public function setLeadId($leadId)
218  {
219    $this->leadId = $leadId;
220  }
221  /**
222   * @return string
223   */
224  public function getLeadId()
225  {
226    return $this->leadId;
227  }
228  public function setLeadPrice($leadPrice)
229  {
230    $this->leadPrice = $leadPrice;
231  }
232  public function getLeadPrice()
233  {
234    return $this->leadPrice;
235  }
236  /**
237   * @param string
238   */
239  public function setLeadType($leadType)
240  {
241    $this->leadType = $leadType;
242  }
243  /**
244   * @return string
245   */
246  public function getLeadType()
247  {
248    return $this->leadType;
249  }
250  /**
251   * @param GoogleAdsHomeservicesLocalservicesV1MessageLead
252   */
253  public function setMessageLead(GoogleAdsHomeservicesLocalservicesV1MessageLead $messageLead)
254  {
255    $this->messageLead = $messageLead;
256  }
257  /**
258   * @return GoogleAdsHomeservicesLocalservicesV1MessageLead
259   */
260  public function getMessageLead()
261  {
262    return $this->messageLead;
263  }
264  /**
265   * @param GoogleAdsHomeservicesLocalservicesV1PhoneLead
266   */
267  public function setPhoneLead(GoogleAdsHomeservicesLocalservicesV1PhoneLead $phoneLead)
268  {
269    $this->phoneLead = $phoneLead;
270  }
271  /**
272   * @return GoogleAdsHomeservicesLocalservicesV1PhoneLead
273   */
274  public function getPhoneLead()
275  {
276    return $this->phoneLead;
277  }
278  /**
279   * @param GoogleTypeTimeZone
280   */
281  public function setTimezone(GoogleTypeTimeZone $timezone)
282  {
283    $this->timezone = $timezone;
284  }
285  /**
286   * @return GoogleTypeTimeZone
287   */
288  public function getTimezone()
289  {
290    return $this->timezone;
291  }
292}
293
294// Adding a class alias for backwards compatibility with the previous class name.
295class_alias(GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport::class, 'Google_Service_Localservices_GoogleAdsHomeservicesLocalservicesV1DetailedLeadReport');
296