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 |
|
---|
18 | namespace Google\Service\Dfareporting;
|
---|
19 |
|
---|
20 | class Conversion extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'userIdentifiers';
|
---|
23 | /**
|
---|
24 | * @var string
|
---|
25 | */
|
---|
26 | public $adUserDataConsent;
|
---|
27 | protected $cartDataType = CartData::class;
|
---|
28 | protected $cartDataDataType = '';
|
---|
29 | /**
|
---|
30 | * @var bool
|
---|
31 | */
|
---|
32 | public $childDirectedTreatment;
|
---|
33 | protected $customVariablesType = CustomFloodlightVariable::class;
|
---|
34 | protected $customVariablesDataType = 'array';
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $dclid;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $encryptedUserId;
|
---|
43 | /**
|
---|
44 | * @var string[]
|
---|
45 | */
|
---|
46 | public $encryptedUserIdCandidates;
|
---|
47 | /**
|
---|
48 | * @var string
|
---|
49 | */
|
---|
50 | public $floodlightActivityId;
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $floodlightConfigurationId;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $gclid;
|
---|
59 | /**
|
---|
60 | * @var string
|
---|
61 | */
|
---|
62 | public $impressionId;
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $kind;
|
---|
67 | /**
|
---|
68 | * @var bool
|
---|
69 | */
|
---|
70 | public $limitAdTracking;
|
---|
71 | /**
|
---|
72 | * @var string
|
---|
73 | */
|
---|
74 | public $matchId;
|
---|
75 | /**
|
---|
76 | * @var string
|
---|
77 | */
|
---|
78 | public $mobileDeviceId;
|
---|
79 | /**
|
---|
80 | * @var bool
|
---|
81 | */
|
---|
82 | public $nonPersonalizedAd;
|
---|
83 | /**
|
---|
84 | * @var string
|
---|
85 | */
|
---|
86 | public $ordinal;
|
---|
87 | /**
|
---|
88 | * @var string
|
---|
89 | */
|
---|
90 | public $quantity;
|
---|
91 | /**
|
---|
92 | * @var string
|
---|
93 | */
|
---|
94 | public $timestampMicros;
|
---|
95 | /**
|
---|
96 | * @var bool
|
---|
97 | */
|
---|
98 | public $treatmentForUnderage;
|
---|
99 | protected $userIdentifiersType = UserIdentifier::class;
|
---|
100 | protected $userIdentifiersDataType = 'array';
|
---|
101 | public $value;
|
---|
102 |
|
---|
103 | /**
|
---|
104 | * @param string
|
---|
105 | */
|
---|
106 | public function setAdUserDataConsent($adUserDataConsent)
|
---|
107 | {
|
---|
108 | $this->adUserDataConsent = $adUserDataConsent;
|
---|
109 | }
|
---|
110 | /**
|
---|
111 | * @return string
|
---|
112 | */
|
---|
113 | public function getAdUserDataConsent()
|
---|
114 | {
|
---|
115 | return $this->adUserDataConsent;
|
---|
116 | }
|
---|
117 | /**
|
---|
118 | * @param CartData
|
---|
119 | */
|
---|
120 | public function setCartData(CartData $cartData)
|
---|
121 | {
|
---|
122 | $this->cartData = $cartData;
|
---|
123 | }
|
---|
124 | /**
|
---|
125 | * @return CartData
|
---|
126 | */
|
---|
127 | public function getCartData()
|
---|
128 | {
|
---|
129 | return $this->cartData;
|
---|
130 | }
|
---|
131 | /**
|
---|
132 | * @param bool
|
---|
133 | */
|
---|
134 | public function setChildDirectedTreatment($childDirectedTreatment)
|
---|
135 | {
|
---|
136 | $this->childDirectedTreatment = $childDirectedTreatment;
|
---|
137 | }
|
---|
138 | /**
|
---|
139 | * @return bool
|
---|
140 | */
|
---|
141 | public function getChildDirectedTreatment()
|
---|
142 | {
|
---|
143 | return $this->childDirectedTreatment;
|
---|
144 | }
|
---|
145 | /**
|
---|
146 | * @param CustomFloodlightVariable[]
|
---|
147 | */
|
---|
148 | public function setCustomVariables($customVariables)
|
---|
149 | {
|
---|
150 | $this->customVariables = $customVariables;
|
---|
151 | }
|
---|
152 | /**
|
---|
153 | * @return CustomFloodlightVariable[]
|
---|
154 | */
|
---|
155 | public function getCustomVariables()
|
---|
156 | {
|
---|
157 | return $this->customVariables;
|
---|
158 | }
|
---|
159 | /**
|
---|
160 | * @param string
|
---|
161 | */
|
---|
162 | public function setDclid($dclid)
|
---|
163 | {
|
---|
164 | $this->dclid = $dclid;
|
---|
165 | }
|
---|
166 | /**
|
---|
167 | * @return string
|
---|
168 | */
|
---|
169 | public function getDclid()
|
---|
170 | {
|
---|
171 | return $this->dclid;
|
---|
172 | }
|
---|
173 | /**
|
---|
174 | * @param string
|
---|
175 | */
|
---|
176 | public function setEncryptedUserId($encryptedUserId)
|
---|
177 | {
|
---|
178 | $this->encryptedUserId = $encryptedUserId;
|
---|
179 | }
|
---|
180 | /**
|
---|
181 | * @return string
|
---|
182 | */
|
---|
183 | public function getEncryptedUserId()
|
---|
184 | {
|
---|
185 | return $this->encryptedUserId;
|
---|
186 | }
|
---|
187 | /**
|
---|
188 | * @param string[]
|
---|
189 | */
|
---|
190 | public function setEncryptedUserIdCandidates($encryptedUserIdCandidates)
|
---|
191 | {
|
---|
192 | $this->encryptedUserIdCandidates = $encryptedUserIdCandidates;
|
---|
193 | }
|
---|
194 | /**
|
---|
195 | * @return string[]
|
---|
196 | */
|
---|
197 | public function getEncryptedUserIdCandidates()
|
---|
198 | {
|
---|
199 | return $this->encryptedUserIdCandidates;
|
---|
200 | }
|
---|
201 | /**
|
---|
202 | * @param string
|
---|
203 | */
|
---|
204 | public function setFloodlightActivityId($floodlightActivityId)
|
---|
205 | {
|
---|
206 | $this->floodlightActivityId = $floodlightActivityId;
|
---|
207 | }
|
---|
208 | /**
|
---|
209 | * @return string
|
---|
210 | */
|
---|
211 | public function getFloodlightActivityId()
|
---|
212 | {
|
---|
213 | return $this->floodlightActivityId;
|
---|
214 | }
|
---|
215 | /**
|
---|
216 | * @param string
|
---|
217 | */
|
---|
218 | public function setFloodlightConfigurationId($floodlightConfigurationId)
|
---|
219 | {
|
---|
220 | $this->floodlightConfigurationId = $floodlightConfigurationId;
|
---|
221 | }
|
---|
222 | /**
|
---|
223 | * @return string
|
---|
224 | */
|
---|
225 | public function getFloodlightConfigurationId()
|
---|
226 | {
|
---|
227 | return $this->floodlightConfigurationId;
|
---|
228 | }
|
---|
229 | /**
|
---|
230 | * @param string
|
---|
231 | */
|
---|
232 | public function setGclid($gclid)
|
---|
233 | {
|
---|
234 | $this->gclid = $gclid;
|
---|
235 | }
|
---|
236 | /**
|
---|
237 | * @return string
|
---|
238 | */
|
---|
239 | public function getGclid()
|
---|
240 | {
|
---|
241 | return $this->gclid;
|
---|
242 | }
|
---|
243 | /**
|
---|
244 | * @param string
|
---|
245 | */
|
---|
246 | public function setImpressionId($impressionId)
|
---|
247 | {
|
---|
248 | $this->impressionId = $impressionId;
|
---|
249 | }
|
---|
250 | /**
|
---|
251 | * @return string
|
---|
252 | */
|
---|
253 | public function getImpressionId()
|
---|
254 | {
|
---|
255 | return $this->impressionId;
|
---|
256 | }
|
---|
257 | /**
|
---|
258 | * @param string
|
---|
259 | */
|
---|
260 | public function setKind($kind)
|
---|
261 | {
|
---|
262 | $this->kind = $kind;
|
---|
263 | }
|
---|
264 | /**
|
---|
265 | * @return string
|
---|
266 | */
|
---|
267 | public function getKind()
|
---|
268 | {
|
---|
269 | return $this->kind;
|
---|
270 | }
|
---|
271 | /**
|
---|
272 | * @param bool
|
---|
273 | */
|
---|
274 | public function setLimitAdTracking($limitAdTracking)
|
---|
275 | {
|
---|
276 | $this->limitAdTracking = $limitAdTracking;
|
---|
277 | }
|
---|
278 | /**
|
---|
279 | * @return bool
|
---|
280 | */
|
---|
281 | public function getLimitAdTracking()
|
---|
282 | {
|
---|
283 | return $this->limitAdTracking;
|
---|
284 | }
|
---|
285 | /**
|
---|
286 | * @param string
|
---|
287 | */
|
---|
288 | public function setMatchId($matchId)
|
---|
289 | {
|
---|
290 | $this->matchId = $matchId;
|
---|
291 | }
|
---|
292 | /**
|
---|
293 | * @return string
|
---|
294 | */
|
---|
295 | public function getMatchId()
|
---|
296 | {
|
---|
297 | return $this->matchId;
|
---|
298 | }
|
---|
299 | /**
|
---|
300 | * @param string
|
---|
301 | */
|
---|
302 | public function setMobileDeviceId($mobileDeviceId)
|
---|
303 | {
|
---|
304 | $this->mobileDeviceId = $mobileDeviceId;
|
---|
305 | }
|
---|
306 | /**
|
---|
307 | * @return string
|
---|
308 | */
|
---|
309 | public function getMobileDeviceId()
|
---|
310 | {
|
---|
311 | return $this->mobileDeviceId;
|
---|
312 | }
|
---|
313 | /**
|
---|
314 | * @param bool
|
---|
315 | */
|
---|
316 | public function setNonPersonalizedAd($nonPersonalizedAd)
|
---|
317 | {
|
---|
318 | $this->nonPersonalizedAd = $nonPersonalizedAd;
|
---|
319 | }
|
---|
320 | /**
|
---|
321 | * @return bool
|
---|
322 | */
|
---|
323 | public function getNonPersonalizedAd()
|
---|
324 | {
|
---|
325 | return $this->nonPersonalizedAd;
|
---|
326 | }
|
---|
327 | /**
|
---|
328 | * @param string
|
---|
329 | */
|
---|
330 | public function setOrdinal($ordinal)
|
---|
331 | {
|
---|
332 | $this->ordinal = $ordinal;
|
---|
333 | }
|
---|
334 | /**
|
---|
335 | * @return string
|
---|
336 | */
|
---|
337 | public function getOrdinal()
|
---|
338 | {
|
---|
339 | return $this->ordinal;
|
---|
340 | }
|
---|
341 | /**
|
---|
342 | * @param string
|
---|
343 | */
|
---|
344 | public function setQuantity($quantity)
|
---|
345 | {
|
---|
346 | $this->quantity = $quantity;
|
---|
347 | }
|
---|
348 | /**
|
---|
349 | * @return string
|
---|
350 | */
|
---|
351 | public function getQuantity()
|
---|
352 | {
|
---|
353 | return $this->quantity;
|
---|
354 | }
|
---|
355 | /**
|
---|
356 | * @param string
|
---|
357 | */
|
---|
358 | public function setTimestampMicros($timestampMicros)
|
---|
359 | {
|
---|
360 | $this->timestampMicros = $timestampMicros;
|
---|
361 | }
|
---|
362 | /**
|
---|
363 | * @return string
|
---|
364 | */
|
---|
365 | public function getTimestampMicros()
|
---|
366 | {
|
---|
367 | return $this->timestampMicros;
|
---|
368 | }
|
---|
369 | /**
|
---|
370 | * @param bool
|
---|
371 | */
|
---|
372 | public function setTreatmentForUnderage($treatmentForUnderage)
|
---|
373 | {
|
---|
374 | $this->treatmentForUnderage = $treatmentForUnderage;
|
---|
375 | }
|
---|
376 | /**
|
---|
377 | * @return bool
|
---|
378 | */
|
---|
379 | public function getTreatmentForUnderage()
|
---|
380 | {
|
---|
381 | return $this->treatmentForUnderage;
|
---|
382 | }
|
---|
383 | /**
|
---|
384 | * @param UserIdentifier[]
|
---|
385 | */
|
---|
386 | public function setUserIdentifiers($userIdentifiers)
|
---|
387 | {
|
---|
388 | $this->userIdentifiers = $userIdentifiers;
|
---|
389 | }
|
---|
390 | /**
|
---|
391 | * @return UserIdentifier[]
|
---|
392 | */
|
---|
393 | public function getUserIdentifiers()
|
---|
394 | {
|
---|
395 | return $this->userIdentifiers;
|
---|
396 | }
|
---|
397 | public function setValue($value)
|
---|
398 | {
|
---|
399 | $this->value = $value;
|
---|
400 | }
|
---|
401 | public function getValue()
|
---|
402 | {
|
---|
403 | return $this->value;
|
---|
404 | }
|
---|
405 | }
|
---|
406 |
|
---|
407 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
408 | class_alias(Conversion::class, 'Google_Service_Dfareporting_Conversion');
|
---|