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\Cloudchannel;
|
---|
19 |
|
---|
20 | class GoogleCloudChannelV1Entitlement extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'suspensionReasons';
|
---|
23 | protected $associationInfoType = GoogleCloudChannelV1AssociationInfo::class;
|
---|
24 | protected $associationInfoDataType = '';
|
---|
25 | /**
|
---|
26 | * @var string
|
---|
27 | */
|
---|
28 | public $billingAccount;
|
---|
29 | protected $commitmentSettingsType = GoogleCloudChannelV1CommitmentSettings::class;
|
---|
30 | protected $commitmentSettingsDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $createTime;
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $name;
|
---|
39 | /**
|
---|
40 | * @var string
|
---|
41 | */
|
---|
42 | public $offer;
|
---|
43 | protected $parametersType = GoogleCloudChannelV1Parameter::class;
|
---|
44 | protected $parametersDataType = 'array';
|
---|
45 | /**
|
---|
46 | * @var string
|
---|
47 | */
|
---|
48 | public $priceReferenceId;
|
---|
49 | protected $provisionedServiceType = GoogleCloudChannelV1ProvisionedService::class;
|
---|
50 | protected $provisionedServiceDataType = '';
|
---|
51 | /**
|
---|
52 | * @var string
|
---|
53 | */
|
---|
54 | public $provisioningState;
|
---|
55 | /**
|
---|
56 | * @var string
|
---|
57 | */
|
---|
58 | public $purchaseOrderId;
|
---|
59 | /**
|
---|
60 | * @var string[]
|
---|
61 | */
|
---|
62 | public $suspensionReasons;
|
---|
63 | protected $trialSettingsType = GoogleCloudChannelV1TrialSettings::class;
|
---|
64 | protected $trialSettingsDataType = '';
|
---|
65 | /**
|
---|
66 | * @var string
|
---|
67 | */
|
---|
68 | public $updateTime;
|
---|
69 |
|
---|
70 | /**
|
---|
71 | * @param GoogleCloudChannelV1AssociationInfo
|
---|
72 | */
|
---|
73 | public function setAssociationInfo(GoogleCloudChannelV1AssociationInfo $associationInfo)
|
---|
74 | {
|
---|
75 | $this->associationInfo = $associationInfo;
|
---|
76 | }
|
---|
77 | /**
|
---|
78 | * @return GoogleCloudChannelV1AssociationInfo
|
---|
79 | */
|
---|
80 | public function getAssociationInfo()
|
---|
81 | {
|
---|
82 | return $this->associationInfo;
|
---|
83 | }
|
---|
84 | /**
|
---|
85 | * @param string
|
---|
86 | */
|
---|
87 | public function setBillingAccount($billingAccount)
|
---|
88 | {
|
---|
89 | $this->billingAccount = $billingAccount;
|
---|
90 | }
|
---|
91 | /**
|
---|
92 | * @return string
|
---|
93 | */
|
---|
94 | public function getBillingAccount()
|
---|
95 | {
|
---|
96 | return $this->billingAccount;
|
---|
97 | }
|
---|
98 | /**
|
---|
99 | * @param GoogleCloudChannelV1CommitmentSettings
|
---|
100 | */
|
---|
101 | public function setCommitmentSettings(GoogleCloudChannelV1CommitmentSettings $commitmentSettings)
|
---|
102 | {
|
---|
103 | $this->commitmentSettings = $commitmentSettings;
|
---|
104 | }
|
---|
105 | /**
|
---|
106 | * @return GoogleCloudChannelV1CommitmentSettings
|
---|
107 | */
|
---|
108 | public function getCommitmentSettings()
|
---|
109 | {
|
---|
110 | return $this->commitmentSettings;
|
---|
111 | }
|
---|
112 | /**
|
---|
113 | * @param string
|
---|
114 | */
|
---|
115 | public function setCreateTime($createTime)
|
---|
116 | {
|
---|
117 | $this->createTime = $createTime;
|
---|
118 | }
|
---|
119 | /**
|
---|
120 | * @return string
|
---|
121 | */
|
---|
122 | public function getCreateTime()
|
---|
123 | {
|
---|
124 | return $this->createTime;
|
---|
125 | }
|
---|
126 | /**
|
---|
127 | * @param string
|
---|
128 | */
|
---|
129 | public function setName($name)
|
---|
130 | {
|
---|
131 | $this->name = $name;
|
---|
132 | }
|
---|
133 | /**
|
---|
134 | * @return string
|
---|
135 | */
|
---|
136 | public function getName()
|
---|
137 | {
|
---|
138 | return $this->name;
|
---|
139 | }
|
---|
140 | /**
|
---|
141 | * @param string
|
---|
142 | */
|
---|
143 | public function setOffer($offer)
|
---|
144 | {
|
---|
145 | $this->offer = $offer;
|
---|
146 | }
|
---|
147 | /**
|
---|
148 | * @return string
|
---|
149 | */
|
---|
150 | public function getOffer()
|
---|
151 | {
|
---|
152 | return $this->offer;
|
---|
153 | }
|
---|
154 | /**
|
---|
155 | * @param GoogleCloudChannelV1Parameter[]
|
---|
156 | */
|
---|
157 | public function setParameters($parameters)
|
---|
158 | {
|
---|
159 | $this->parameters = $parameters;
|
---|
160 | }
|
---|
161 | /**
|
---|
162 | * @return GoogleCloudChannelV1Parameter[]
|
---|
163 | */
|
---|
164 | public function getParameters()
|
---|
165 | {
|
---|
166 | return $this->parameters;
|
---|
167 | }
|
---|
168 | /**
|
---|
169 | * @param string
|
---|
170 | */
|
---|
171 | public function setPriceReferenceId($priceReferenceId)
|
---|
172 | {
|
---|
173 | $this->priceReferenceId = $priceReferenceId;
|
---|
174 | }
|
---|
175 | /**
|
---|
176 | * @return string
|
---|
177 | */
|
---|
178 | public function getPriceReferenceId()
|
---|
179 | {
|
---|
180 | return $this->priceReferenceId;
|
---|
181 | }
|
---|
182 | /**
|
---|
183 | * @param GoogleCloudChannelV1ProvisionedService
|
---|
184 | */
|
---|
185 | public function setProvisionedService(GoogleCloudChannelV1ProvisionedService $provisionedService)
|
---|
186 | {
|
---|
187 | $this->provisionedService = $provisionedService;
|
---|
188 | }
|
---|
189 | /**
|
---|
190 | * @return GoogleCloudChannelV1ProvisionedService
|
---|
191 | */
|
---|
192 | public function getProvisionedService()
|
---|
193 | {
|
---|
194 | return $this->provisionedService;
|
---|
195 | }
|
---|
196 | /**
|
---|
197 | * @param string
|
---|
198 | */
|
---|
199 | public function setProvisioningState($provisioningState)
|
---|
200 | {
|
---|
201 | $this->provisioningState = $provisioningState;
|
---|
202 | }
|
---|
203 | /**
|
---|
204 | * @return string
|
---|
205 | */
|
---|
206 | public function getProvisioningState()
|
---|
207 | {
|
---|
208 | return $this->provisioningState;
|
---|
209 | }
|
---|
210 | /**
|
---|
211 | * @param string
|
---|
212 | */
|
---|
213 | public function setPurchaseOrderId($purchaseOrderId)
|
---|
214 | {
|
---|
215 | $this->purchaseOrderId = $purchaseOrderId;
|
---|
216 | }
|
---|
217 | /**
|
---|
218 | * @return string
|
---|
219 | */
|
---|
220 | public function getPurchaseOrderId()
|
---|
221 | {
|
---|
222 | return $this->purchaseOrderId;
|
---|
223 | }
|
---|
224 | /**
|
---|
225 | * @param string[]
|
---|
226 | */
|
---|
227 | public function setSuspensionReasons($suspensionReasons)
|
---|
228 | {
|
---|
229 | $this->suspensionReasons = $suspensionReasons;
|
---|
230 | }
|
---|
231 | /**
|
---|
232 | * @return string[]
|
---|
233 | */
|
---|
234 | public function getSuspensionReasons()
|
---|
235 | {
|
---|
236 | return $this->suspensionReasons;
|
---|
237 | }
|
---|
238 | /**
|
---|
239 | * @param GoogleCloudChannelV1TrialSettings
|
---|
240 | */
|
---|
241 | public function setTrialSettings(GoogleCloudChannelV1TrialSettings $trialSettings)
|
---|
242 | {
|
---|
243 | $this->trialSettings = $trialSettings;
|
---|
244 | }
|
---|
245 | /**
|
---|
246 | * @return GoogleCloudChannelV1TrialSettings
|
---|
247 | */
|
---|
248 | public function getTrialSettings()
|
---|
249 | {
|
---|
250 | return $this->trialSettings;
|
---|
251 | }
|
---|
252 | /**
|
---|
253 | * @param string
|
---|
254 | */
|
---|
255 | public function setUpdateTime($updateTime)
|
---|
256 | {
|
---|
257 | $this->updateTime = $updateTime;
|
---|
258 | }
|
---|
259 | /**
|
---|
260 | * @return string
|
---|
261 | */
|
---|
262 | public function getUpdateTime()
|
---|
263 | {
|
---|
264 | return $this->updateTime;
|
---|
265 | }
|
---|
266 | }
|
---|
267 |
|
---|
268 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
269 | class_alias(GoogleCloudChannelV1Entitlement::class, 'Google_Service_Cloudchannel_GoogleCloudChannelV1Entitlement');
|
---|