source: vendor/google/apiclient-services/src/AndroidPublisher/ProductPurchase.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.3 KB
Line 
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\AndroidPublisher;
19
20class ProductPurchase extends \Google\Model
21{
22 /**
23 * @var int
24 */
25 public $acknowledgementState;
26 /**
27 * @var int
28 */
29 public $consumptionState;
30 /**
31 * @var string
32 */
33 public $developerPayload;
34 /**
35 * @var string
36 */
37 public $kind;
38 /**
39 * @var string
40 */
41 public $obfuscatedExternalAccountId;
42 /**
43 * @var string
44 */
45 public $obfuscatedExternalProfileId;
46 /**
47 * @var string
48 */
49 public $orderId;
50 /**
51 * @var string
52 */
53 public $productId;
54 /**
55 * @var int
56 */
57 public $purchaseState;
58 /**
59 * @var string
60 */
61 public $purchaseTimeMillis;
62 /**
63 * @var string
64 */
65 public $purchaseToken;
66 /**
67 * @var int
68 */
69 public $purchaseType;
70 /**
71 * @var int
72 */
73 public $quantity;
74 /**
75 * @var int
76 */
77 public $refundableQuantity;
78 /**
79 * @var string
80 */
81 public $regionCode;
82
83 /**
84 * @param int
85 */
86 public function setAcknowledgementState($acknowledgementState)
87 {
88 $this->acknowledgementState = $acknowledgementState;
89 }
90 /**
91 * @return int
92 */
93 public function getAcknowledgementState()
94 {
95 return $this->acknowledgementState;
96 }
97 /**
98 * @param int
99 */
100 public function setConsumptionState($consumptionState)
101 {
102 $this->consumptionState = $consumptionState;
103 }
104 /**
105 * @return int
106 */
107 public function getConsumptionState()
108 {
109 return $this->consumptionState;
110 }
111 /**
112 * @param string
113 */
114 public function setDeveloperPayload($developerPayload)
115 {
116 $this->developerPayload = $developerPayload;
117 }
118 /**
119 * @return string
120 */
121 public function getDeveloperPayload()
122 {
123 return $this->developerPayload;
124 }
125 /**
126 * @param string
127 */
128 public function setKind($kind)
129 {
130 $this->kind = $kind;
131 }
132 /**
133 * @return string
134 */
135 public function getKind()
136 {
137 return $this->kind;
138 }
139 /**
140 * @param string
141 */
142 public function setObfuscatedExternalAccountId($obfuscatedExternalAccountId)
143 {
144 $this->obfuscatedExternalAccountId = $obfuscatedExternalAccountId;
145 }
146 /**
147 * @return string
148 */
149 public function getObfuscatedExternalAccountId()
150 {
151 return $this->obfuscatedExternalAccountId;
152 }
153 /**
154 * @param string
155 */
156 public function setObfuscatedExternalProfileId($obfuscatedExternalProfileId)
157 {
158 $this->obfuscatedExternalProfileId = $obfuscatedExternalProfileId;
159 }
160 /**
161 * @return string
162 */
163 public function getObfuscatedExternalProfileId()
164 {
165 return $this->obfuscatedExternalProfileId;
166 }
167 /**
168 * @param string
169 */
170 public function setOrderId($orderId)
171 {
172 $this->orderId = $orderId;
173 }
174 /**
175 * @return string
176 */
177 public function getOrderId()
178 {
179 return $this->orderId;
180 }
181 /**
182 * @param string
183 */
184 public function setProductId($productId)
185 {
186 $this->productId = $productId;
187 }
188 /**
189 * @return string
190 */
191 public function getProductId()
192 {
193 return $this->productId;
194 }
195 /**
196 * @param int
197 */
198 public function setPurchaseState($purchaseState)
199 {
200 $this->purchaseState = $purchaseState;
201 }
202 /**
203 * @return int
204 */
205 public function getPurchaseState()
206 {
207 return $this->purchaseState;
208 }
209 /**
210 * @param string
211 */
212 public function setPurchaseTimeMillis($purchaseTimeMillis)
213 {
214 $this->purchaseTimeMillis = $purchaseTimeMillis;
215 }
216 /**
217 * @return string
218 */
219 public function getPurchaseTimeMillis()
220 {
221 return $this->purchaseTimeMillis;
222 }
223 /**
224 * @param string
225 */
226 public function setPurchaseToken($purchaseToken)
227 {
228 $this->purchaseToken = $purchaseToken;
229 }
230 /**
231 * @return string
232 */
233 public function getPurchaseToken()
234 {
235 return $this->purchaseToken;
236 }
237 /**
238 * @param int
239 */
240 public function setPurchaseType($purchaseType)
241 {
242 $this->purchaseType = $purchaseType;
243 }
244 /**
245 * @return int
246 */
247 public function getPurchaseType()
248 {
249 return $this->purchaseType;
250 }
251 /**
252 * @param int
253 */
254 public function setQuantity($quantity)
255 {
256 $this->quantity = $quantity;
257 }
258 /**
259 * @return int
260 */
261 public function getQuantity()
262 {
263 return $this->quantity;
264 }
265 /**
266 * @param int
267 */
268 public function setRefundableQuantity($refundableQuantity)
269 {
270 $this->refundableQuantity = $refundableQuantity;
271 }
272 /**
273 * @return int
274 */
275 public function getRefundableQuantity()
276 {
277 return $this->refundableQuantity;
278 }
279 /**
280 * @param string
281 */
282 public function setRegionCode($regionCode)
283 {
284 $this->regionCode = $regionCode;
285 }
286 /**
287 * @return string
288 */
289 public function getRegionCode()
290 {
291 return $this->regionCode;
292 }
293}
294
295// Adding a class alias for backwards compatibility with the previous class name.
296class_alias(ProductPurchase::class, 'Google_Service_AndroidPublisher_ProductPurchase');
Note: See TracBrowser for help on using the repository browser.