source: vendor/google/apiclient-services/src/Reseller/Subscription.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: 6.2 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\Reseller;
19
20class Subscription extends \Google\Collection
21{
22 protected $collection_key = 'suspensionReasons';
23 /**
24 * @var string
25 */
26 public $billingMethod;
27 /**
28 * @var string
29 */
30 public $creationTime;
31 /**
32 * @var string
33 */
34 public $customerDomain;
35 /**
36 * @var string
37 */
38 public $customerId;
39 /**
40 * @var string
41 */
42 public $dealCode;
43 /**
44 * @var string
45 */
46 public $kind;
47 protected $planType = SubscriptionPlan::class;
48 protected $planDataType = '';
49 /**
50 * @var string
51 */
52 public $purchaseOrderId;
53 protected $renewalSettingsType = RenewalSettings::class;
54 protected $renewalSettingsDataType = '';
55 /**
56 * @var string
57 */
58 public $resourceUiUrl;
59 protected $seatsType = Seats::class;
60 protected $seatsDataType = '';
61 /**
62 * @var string
63 */
64 public $skuId;
65 /**
66 * @var string
67 */
68 public $skuName;
69 /**
70 * @var string
71 */
72 public $status;
73 /**
74 * @var string
75 */
76 public $subscriptionId;
77 /**
78 * @var string[]
79 */
80 public $suspensionReasons;
81 protected $transferInfoType = SubscriptionTransferInfo::class;
82 protected $transferInfoDataType = '';
83 protected $trialSettingsType = SubscriptionTrialSettings::class;
84 protected $trialSettingsDataType = '';
85
86 /**
87 * @param string
88 */
89 public function setBillingMethod($billingMethod)
90 {
91 $this->billingMethod = $billingMethod;
92 }
93 /**
94 * @return string
95 */
96 public function getBillingMethod()
97 {
98 return $this->billingMethod;
99 }
100 /**
101 * @param string
102 */
103 public function setCreationTime($creationTime)
104 {
105 $this->creationTime = $creationTime;
106 }
107 /**
108 * @return string
109 */
110 public function getCreationTime()
111 {
112 return $this->creationTime;
113 }
114 /**
115 * @param string
116 */
117 public function setCustomerDomain($customerDomain)
118 {
119 $this->customerDomain = $customerDomain;
120 }
121 /**
122 * @return string
123 */
124 public function getCustomerDomain()
125 {
126 return $this->customerDomain;
127 }
128 /**
129 * @param string
130 */
131 public function setCustomerId($customerId)
132 {
133 $this->customerId = $customerId;
134 }
135 /**
136 * @return string
137 */
138 public function getCustomerId()
139 {
140 return $this->customerId;
141 }
142 /**
143 * @param string
144 */
145 public function setDealCode($dealCode)
146 {
147 $this->dealCode = $dealCode;
148 }
149 /**
150 * @return string
151 */
152 public function getDealCode()
153 {
154 return $this->dealCode;
155 }
156 /**
157 * @param string
158 */
159 public function setKind($kind)
160 {
161 $this->kind = $kind;
162 }
163 /**
164 * @return string
165 */
166 public function getKind()
167 {
168 return $this->kind;
169 }
170 /**
171 * @param SubscriptionPlan
172 */
173 public function setPlan(SubscriptionPlan $plan)
174 {
175 $this->plan = $plan;
176 }
177 /**
178 * @return SubscriptionPlan
179 */
180 public function getPlan()
181 {
182 return $this->plan;
183 }
184 /**
185 * @param string
186 */
187 public function setPurchaseOrderId($purchaseOrderId)
188 {
189 $this->purchaseOrderId = $purchaseOrderId;
190 }
191 /**
192 * @return string
193 */
194 public function getPurchaseOrderId()
195 {
196 return $this->purchaseOrderId;
197 }
198 /**
199 * @param RenewalSettings
200 */
201 public function setRenewalSettings(RenewalSettings $renewalSettings)
202 {
203 $this->renewalSettings = $renewalSettings;
204 }
205 /**
206 * @return RenewalSettings
207 */
208 public function getRenewalSettings()
209 {
210 return $this->renewalSettings;
211 }
212 /**
213 * @param string
214 */
215 public function setResourceUiUrl($resourceUiUrl)
216 {
217 $this->resourceUiUrl = $resourceUiUrl;
218 }
219 /**
220 * @return string
221 */
222 public function getResourceUiUrl()
223 {
224 return $this->resourceUiUrl;
225 }
226 /**
227 * @param Seats
228 */
229 public function setSeats(Seats $seats)
230 {
231 $this->seats = $seats;
232 }
233 /**
234 * @return Seats
235 */
236 public function getSeats()
237 {
238 return $this->seats;
239 }
240 /**
241 * @param string
242 */
243 public function setSkuId($skuId)
244 {
245 $this->skuId = $skuId;
246 }
247 /**
248 * @return string
249 */
250 public function getSkuId()
251 {
252 return $this->skuId;
253 }
254 /**
255 * @param string
256 */
257 public function setSkuName($skuName)
258 {
259 $this->skuName = $skuName;
260 }
261 /**
262 * @return string
263 */
264 public function getSkuName()
265 {
266 return $this->skuName;
267 }
268 /**
269 * @param string
270 */
271 public function setStatus($status)
272 {
273 $this->status = $status;
274 }
275 /**
276 * @return string
277 */
278 public function getStatus()
279 {
280 return $this->status;
281 }
282 /**
283 * @param string
284 */
285 public function setSubscriptionId($subscriptionId)
286 {
287 $this->subscriptionId = $subscriptionId;
288 }
289 /**
290 * @return string
291 */
292 public function getSubscriptionId()
293 {
294 return $this->subscriptionId;
295 }
296 /**
297 * @param string[]
298 */
299 public function setSuspensionReasons($suspensionReasons)
300 {
301 $this->suspensionReasons = $suspensionReasons;
302 }
303 /**
304 * @return string[]
305 */
306 public function getSuspensionReasons()
307 {
308 return $this->suspensionReasons;
309 }
310 /**
311 * @param SubscriptionTransferInfo
312 */
313 public function setTransferInfo(SubscriptionTransferInfo $transferInfo)
314 {
315 $this->transferInfo = $transferInfo;
316 }
317 /**
318 * @return SubscriptionTransferInfo
319 */
320 public function getTransferInfo()
321 {
322 return $this->transferInfo;
323 }
324 /**
325 * @param SubscriptionTrialSettings
326 */
327 public function setTrialSettings(SubscriptionTrialSettings $trialSettings)
328 {
329 $this->trialSettings = $trialSettings;
330 }
331 /**
332 * @return SubscriptionTrialSettings
333 */
334 public function getTrialSettings()
335 {
336 return $this->trialSettings;
337 }
338}
339
340// Adding a class alias for backwards compatibility with the previous class name.
341class_alias(Subscription::class, 'Google_Service_Reseller_Subscription');
Note: See TracBrowser for help on using the repository browser.