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_AndroidPublisher_SubscriptionPurchase extends Google_Model
19{
20  public $acknowledgementState;
21  public $autoRenewing;
22  public $autoResumeTimeMillis;
23  public $cancelReason;
24  protected $cancelSurveyResultType = 'Google_Service_AndroidPublisher_SubscriptionCancelSurveyResult';
25  protected $cancelSurveyResultDataType = '';
26  public $countryCode;
27  public $developerPayload;
28  public $emailAddress;
29  public $expiryTimeMillis;
30  public $externalAccountId;
31  public $familyName;
32  public $givenName;
33  protected $introductoryPriceInfoType = 'Google_Service_AndroidPublisher_IntroductoryPriceInfo';
34  protected $introductoryPriceInfoDataType = '';
35  public $kind;
36  public $linkedPurchaseToken;
37  public $obfuscatedExternalAccountId;
38  public $obfuscatedExternalProfileId;
39  public $orderId;
40  public $paymentState;
41  public $priceAmountMicros;
42  protected $priceChangeType = 'Google_Service_AndroidPublisher_SubscriptionPriceChange';
43  protected $priceChangeDataType = '';
44  public $priceCurrencyCode;
45  public $profileId;
46  public $profileName;
47  public $promotionCode;
48  public $promotionType;
49  public $purchaseType;
50  public $startTimeMillis;
51  public $userCancellationTimeMillis;
52
53  public function setAcknowledgementState($acknowledgementState)
54  {
55    $this->acknowledgementState = $acknowledgementState;
56  }
57  public function getAcknowledgementState()
58  {
59    return $this->acknowledgementState;
60  }
61  public function setAutoRenewing($autoRenewing)
62  {
63    $this->autoRenewing = $autoRenewing;
64  }
65  public function getAutoRenewing()
66  {
67    return $this->autoRenewing;
68  }
69  public function setAutoResumeTimeMillis($autoResumeTimeMillis)
70  {
71    $this->autoResumeTimeMillis = $autoResumeTimeMillis;
72  }
73  public function getAutoResumeTimeMillis()
74  {
75    return $this->autoResumeTimeMillis;
76  }
77  public function setCancelReason($cancelReason)
78  {
79    $this->cancelReason = $cancelReason;
80  }
81  public function getCancelReason()
82  {
83    return $this->cancelReason;
84  }
85  /**
86   * @param Google_Service_AndroidPublisher_SubscriptionCancelSurveyResult
87   */
88  public function setCancelSurveyResult(Google_Service_AndroidPublisher_SubscriptionCancelSurveyResult $cancelSurveyResult)
89  {
90    $this->cancelSurveyResult = $cancelSurveyResult;
91  }
92  /**
93   * @return Google_Service_AndroidPublisher_SubscriptionCancelSurveyResult
94   */
95  public function getCancelSurveyResult()
96  {
97    return $this->cancelSurveyResult;
98  }
99  public function setCountryCode($countryCode)
100  {
101    $this->countryCode = $countryCode;
102  }
103  public function getCountryCode()
104  {
105    return $this->countryCode;
106  }
107  public function setDeveloperPayload($developerPayload)
108  {
109    $this->developerPayload = $developerPayload;
110  }
111  public function getDeveloperPayload()
112  {
113    return $this->developerPayload;
114  }
115  public function setEmailAddress($emailAddress)
116  {
117    $this->emailAddress = $emailAddress;
118  }
119  public function getEmailAddress()
120  {
121    return $this->emailAddress;
122  }
123  public function setExpiryTimeMillis($expiryTimeMillis)
124  {
125    $this->expiryTimeMillis = $expiryTimeMillis;
126  }
127  public function getExpiryTimeMillis()
128  {
129    return $this->expiryTimeMillis;
130  }
131  public function setExternalAccountId($externalAccountId)
132  {
133    $this->externalAccountId = $externalAccountId;
134  }
135  public function getExternalAccountId()
136  {
137    return $this->externalAccountId;
138  }
139  public function setFamilyName($familyName)
140  {
141    $this->familyName = $familyName;
142  }
143  public function getFamilyName()
144  {
145    return $this->familyName;
146  }
147  public function setGivenName($givenName)
148  {
149    $this->givenName = $givenName;
150  }
151  public function getGivenName()
152  {
153    return $this->givenName;
154  }
155  /**
156   * @param Google_Service_AndroidPublisher_IntroductoryPriceInfo
157   */
158  public function setIntroductoryPriceInfo(Google_Service_AndroidPublisher_IntroductoryPriceInfo $introductoryPriceInfo)
159  {
160    $this->introductoryPriceInfo = $introductoryPriceInfo;
161  }
162  /**
163   * @return Google_Service_AndroidPublisher_IntroductoryPriceInfo
164   */
165  public function getIntroductoryPriceInfo()
166  {
167    return $this->introductoryPriceInfo;
168  }
169  public function setKind($kind)
170  {
171    $this->kind = $kind;
172  }
173  public function getKind()
174  {
175    return $this->kind;
176  }
177  public function setLinkedPurchaseToken($linkedPurchaseToken)
178  {
179    $this->linkedPurchaseToken = $linkedPurchaseToken;
180  }
181  public function getLinkedPurchaseToken()
182  {
183    return $this->linkedPurchaseToken;
184  }
185  public function setObfuscatedExternalAccountId($obfuscatedExternalAccountId)
186  {
187    $this->obfuscatedExternalAccountId = $obfuscatedExternalAccountId;
188  }
189  public function getObfuscatedExternalAccountId()
190  {
191    return $this->obfuscatedExternalAccountId;
192  }
193  public function setObfuscatedExternalProfileId($obfuscatedExternalProfileId)
194  {
195    $this->obfuscatedExternalProfileId = $obfuscatedExternalProfileId;
196  }
197  public function getObfuscatedExternalProfileId()
198  {
199    return $this->obfuscatedExternalProfileId;
200  }
201  public function setOrderId($orderId)
202  {
203    $this->orderId = $orderId;
204  }
205  public function getOrderId()
206  {
207    return $this->orderId;
208  }
209  public function setPaymentState($paymentState)
210  {
211    $this->paymentState = $paymentState;
212  }
213  public function getPaymentState()
214  {
215    return $this->paymentState;
216  }
217  public function setPriceAmountMicros($priceAmountMicros)
218  {
219    $this->priceAmountMicros = $priceAmountMicros;
220  }
221  public function getPriceAmountMicros()
222  {
223    return $this->priceAmountMicros;
224  }
225  /**
226   * @param Google_Service_AndroidPublisher_SubscriptionPriceChange
227   */
228  public function setPriceChange(Google_Service_AndroidPublisher_SubscriptionPriceChange $priceChange)
229  {
230    $this->priceChange = $priceChange;
231  }
232  /**
233   * @return Google_Service_AndroidPublisher_SubscriptionPriceChange
234   */
235  public function getPriceChange()
236  {
237    return $this->priceChange;
238  }
239  public function setPriceCurrencyCode($priceCurrencyCode)
240  {
241    $this->priceCurrencyCode = $priceCurrencyCode;
242  }
243  public function getPriceCurrencyCode()
244  {
245    return $this->priceCurrencyCode;
246  }
247  public function setProfileId($profileId)
248  {
249    $this->profileId = $profileId;
250  }
251  public function getProfileId()
252  {
253    return $this->profileId;
254  }
255  public function setProfileName($profileName)
256  {
257    $this->profileName = $profileName;
258  }
259  public function getProfileName()
260  {
261    return $this->profileName;
262  }
263  public function setPromotionCode($promotionCode)
264  {
265    $this->promotionCode = $promotionCode;
266  }
267  public function getPromotionCode()
268  {
269    return $this->promotionCode;
270  }
271  public function setPromotionType($promotionType)
272  {
273    $this->promotionType = $promotionType;
274  }
275  public function getPromotionType()
276  {
277    return $this->promotionType;
278  }
279  public function setPurchaseType($purchaseType)
280  {
281    $this->purchaseType = $purchaseType;
282  }
283  public function getPurchaseType()
284  {
285    return $this->purchaseType;
286  }
287  public function setStartTimeMillis($startTimeMillis)
288  {
289    $this->startTimeMillis = $startTimeMillis;
290  }
291  public function getStartTimeMillis()
292  {
293    return $this->startTimeMillis;
294  }
295  public function setUserCancellationTimeMillis($userCancellationTimeMillis)
296  {
297    $this->userCancellationTimeMillis = $userCancellationTimeMillis;
298  }
299  public function getUserCancellationTimeMillis()
300  {
301    return $this->userCancellationTimeMillis;
302  }
303}
304