source: vendor/google/apiclient-services/src/AndroidPublisher/SubscriptionPurchaseV2.php@ f9c482b

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

Upload new project files

  • Property mode set to 100644
File size: 5.5 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 SubscriptionPurchaseV2 extends \Google\Collection
21{
22 protected $collection_key = 'lineItems';
23 /**
24 * @var string
25 */
26 public $acknowledgementState;
27 protected $canceledStateContextType = CanceledStateContext::class;
28 protected $canceledStateContextDataType = '';
29 protected $externalAccountIdentifiersType = ExternalAccountIdentifiers::class;
30 protected $externalAccountIdentifiersDataType = '';
31 /**
32 * @var string
33 */
34 public $kind;
35 /**
36 * @var string
37 */
38 public $latestOrderId;
39 protected $lineItemsType = SubscriptionPurchaseLineItem::class;
40 protected $lineItemsDataType = 'array';
41 /**
42 * @var string
43 */
44 public $linkedPurchaseToken;
45 protected $pausedStateContextType = PausedStateContext::class;
46 protected $pausedStateContextDataType = '';
47 /**
48 * @var string
49 */
50 public $regionCode;
51 /**
52 * @var string
53 */
54 public $startTime;
55 protected $subscribeWithGoogleInfoType = SubscribeWithGoogleInfo::class;
56 protected $subscribeWithGoogleInfoDataType = '';
57 /**
58 * @var string
59 */
60 public $subscriptionState;
61 protected $testPurchaseType = TestPurchase::class;
62 protected $testPurchaseDataType = '';
63
64 /**
65 * @param string
66 */
67 public function setAcknowledgementState($acknowledgementState)
68 {
69 $this->acknowledgementState = $acknowledgementState;
70 }
71 /**
72 * @return string
73 */
74 public function getAcknowledgementState()
75 {
76 return $this->acknowledgementState;
77 }
78 /**
79 * @param CanceledStateContext
80 */
81 public function setCanceledStateContext(CanceledStateContext $canceledStateContext)
82 {
83 $this->canceledStateContext = $canceledStateContext;
84 }
85 /**
86 * @return CanceledStateContext
87 */
88 public function getCanceledStateContext()
89 {
90 return $this->canceledStateContext;
91 }
92 /**
93 * @param ExternalAccountIdentifiers
94 */
95 public function setExternalAccountIdentifiers(ExternalAccountIdentifiers $externalAccountIdentifiers)
96 {
97 $this->externalAccountIdentifiers = $externalAccountIdentifiers;
98 }
99 /**
100 * @return ExternalAccountIdentifiers
101 */
102 public function getExternalAccountIdentifiers()
103 {
104 return $this->externalAccountIdentifiers;
105 }
106 /**
107 * @param string
108 */
109 public function setKind($kind)
110 {
111 $this->kind = $kind;
112 }
113 /**
114 * @return string
115 */
116 public function getKind()
117 {
118 return $this->kind;
119 }
120 /**
121 * @param string
122 */
123 public function setLatestOrderId($latestOrderId)
124 {
125 $this->latestOrderId = $latestOrderId;
126 }
127 /**
128 * @return string
129 */
130 public function getLatestOrderId()
131 {
132 return $this->latestOrderId;
133 }
134 /**
135 * @param SubscriptionPurchaseLineItem[]
136 */
137 public function setLineItems($lineItems)
138 {
139 $this->lineItems = $lineItems;
140 }
141 /**
142 * @return SubscriptionPurchaseLineItem[]
143 */
144 public function getLineItems()
145 {
146 return $this->lineItems;
147 }
148 /**
149 * @param string
150 */
151 public function setLinkedPurchaseToken($linkedPurchaseToken)
152 {
153 $this->linkedPurchaseToken = $linkedPurchaseToken;
154 }
155 /**
156 * @return string
157 */
158 public function getLinkedPurchaseToken()
159 {
160 return $this->linkedPurchaseToken;
161 }
162 /**
163 * @param PausedStateContext
164 */
165 public function setPausedStateContext(PausedStateContext $pausedStateContext)
166 {
167 $this->pausedStateContext = $pausedStateContext;
168 }
169 /**
170 * @return PausedStateContext
171 */
172 public function getPausedStateContext()
173 {
174 return $this->pausedStateContext;
175 }
176 /**
177 * @param string
178 */
179 public function setRegionCode($regionCode)
180 {
181 $this->regionCode = $regionCode;
182 }
183 /**
184 * @return string
185 */
186 public function getRegionCode()
187 {
188 return $this->regionCode;
189 }
190 /**
191 * @param string
192 */
193 public function setStartTime($startTime)
194 {
195 $this->startTime = $startTime;
196 }
197 /**
198 * @return string
199 */
200 public function getStartTime()
201 {
202 return $this->startTime;
203 }
204 /**
205 * @param SubscribeWithGoogleInfo
206 */
207 public function setSubscribeWithGoogleInfo(SubscribeWithGoogleInfo $subscribeWithGoogleInfo)
208 {
209 $this->subscribeWithGoogleInfo = $subscribeWithGoogleInfo;
210 }
211 /**
212 * @return SubscribeWithGoogleInfo
213 */
214 public function getSubscribeWithGoogleInfo()
215 {
216 return $this->subscribeWithGoogleInfo;
217 }
218 /**
219 * @param string
220 */
221 public function setSubscriptionState($subscriptionState)
222 {
223 $this->subscriptionState = $subscriptionState;
224 }
225 /**
226 * @return string
227 */
228 public function getSubscriptionState()
229 {
230 return $this->subscriptionState;
231 }
232 /**
233 * @param TestPurchase
234 */
235 public function setTestPurchase(TestPurchase $testPurchase)
236 {
237 $this->testPurchase = $testPurchase;
238 }
239 /**
240 * @return TestPurchase
241 */
242 public function getTestPurchase()
243 {
244 return $this->testPurchase;
245 }
246}
247
248// Adding a class alias for backwards compatibility with the previous class name.
249class_alias(SubscriptionPurchaseV2::class, 'Google_Service_AndroidPublisher_SubscriptionPurchaseV2');
Note: See TracBrowser for help on using the repository browser.