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\Apigee;
19
20class GoogleCloudApigeeV1RatePlan extends \Google\Collection
21{
22  protected $collection_key = 'revenueShareRates';
23  /**
24   * @var string
25   */
26  public $apiproduct;
27  /**
28   * @var string
29   */
30  public $billingPeriod;
31  protected $consumptionPricingRatesType = GoogleCloudApigeeV1RateRange::class;
32  protected $consumptionPricingRatesDataType = 'array';
33  /**
34   * @var string
35   */
36  public $consumptionPricingType;
37  /**
38   * @var string
39   */
40  public $createdAt;
41  /**
42   * @var string
43   */
44  public $currencyCode;
45  /**
46   * @var string
47   */
48  public $description;
49  /**
50   * @var string
51   */
52  public $displayName;
53  /**
54   * @var string
55   */
56  public $endTime;
57  /**
58   * @var int
59   */
60  public $fixedFeeFrequency;
61  protected $fixedRecurringFeeType = GoogleTypeMoney::class;
62  protected $fixedRecurringFeeDataType = '';
63  /**
64   * @var string
65   */
66  public $lastModifiedAt;
67  /**
68   * @var string
69   */
70  public $name;
71  /**
72   * @var string
73   */
74  public $paymentFundingModel;
75  protected $revenueShareRatesType = GoogleCloudApigeeV1RevenueShareRange::class;
76  protected $revenueShareRatesDataType = 'array';
77  /**
78   * @var string
79   */
80  public $revenueShareType;
81  protected $setupFeeType = GoogleTypeMoney::class;
82  protected $setupFeeDataType = '';
83  /**
84   * @var string
85   */
86  public $startTime;
87  /**
88   * @var string
89   */
90  public $state;
91
92  /**
93   * @param string
94   */
95  public function setApiproduct($apiproduct)
96  {
97    $this->apiproduct = $apiproduct;
98  }
99  /**
100   * @return string
101   */
102  public function getApiproduct()
103  {
104    return $this->apiproduct;
105  }
106  /**
107   * @param string
108   */
109  public function setBillingPeriod($billingPeriod)
110  {
111    $this->billingPeriod = $billingPeriod;
112  }
113  /**
114   * @return string
115   */
116  public function getBillingPeriod()
117  {
118    return $this->billingPeriod;
119  }
120  /**
121   * @param GoogleCloudApigeeV1RateRange[]
122   */
123  public function setConsumptionPricingRates($consumptionPricingRates)
124  {
125    $this->consumptionPricingRates = $consumptionPricingRates;
126  }
127  /**
128   * @return GoogleCloudApigeeV1RateRange[]
129   */
130  public function getConsumptionPricingRates()
131  {
132    return $this->consumptionPricingRates;
133  }
134  /**
135   * @param string
136   */
137  public function setConsumptionPricingType($consumptionPricingType)
138  {
139    $this->consumptionPricingType = $consumptionPricingType;
140  }
141  /**
142   * @return string
143   */
144  public function getConsumptionPricingType()
145  {
146    return $this->consumptionPricingType;
147  }
148  /**
149   * @param string
150   */
151  public function setCreatedAt($createdAt)
152  {
153    $this->createdAt = $createdAt;
154  }
155  /**
156   * @return string
157   */
158  public function getCreatedAt()
159  {
160    return $this->createdAt;
161  }
162  /**
163   * @param string
164   */
165  public function setCurrencyCode($currencyCode)
166  {
167    $this->currencyCode = $currencyCode;
168  }
169  /**
170   * @return string
171   */
172  public function getCurrencyCode()
173  {
174    return $this->currencyCode;
175  }
176  /**
177   * @param string
178   */
179  public function setDescription($description)
180  {
181    $this->description = $description;
182  }
183  /**
184   * @return string
185   */
186  public function getDescription()
187  {
188    return $this->description;
189  }
190  /**
191   * @param string
192   */
193  public function setDisplayName($displayName)
194  {
195    $this->displayName = $displayName;
196  }
197  /**
198   * @return string
199   */
200  public function getDisplayName()
201  {
202    return $this->displayName;
203  }
204  /**
205   * @param string
206   */
207  public function setEndTime($endTime)
208  {
209    $this->endTime = $endTime;
210  }
211  /**
212   * @return string
213   */
214  public function getEndTime()
215  {
216    return $this->endTime;
217  }
218  /**
219   * @param int
220   */
221  public function setFixedFeeFrequency($fixedFeeFrequency)
222  {
223    $this->fixedFeeFrequency = $fixedFeeFrequency;
224  }
225  /**
226   * @return int
227   */
228  public function getFixedFeeFrequency()
229  {
230    return $this->fixedFeeFrequency;
231  }
232  /**
233   * @param GoogleTypeMoney
234   */
235  public function setFixedRecurringFee(GoogleTypeMoney $fixedRecurringFee)
236  {
237    $this->fixedRecurringFee = $fixedRecurringFee;
238  }
239  /**
240   * @return GoogleTypeMoney
241   */
242  public function getFixedRecurringFee()
243  {
244    return $this->fixedRecurringFee;
245  }
246  /**
247   * @param string
248   */
249  public function setLastModifiedAt($lastModifiedAt)
250  {
251    $this->lastModifiedAt = $lastModifiedAt;
252  }
253  /**
254   * @return string
255   */
256  public function getLastModifiedAt()
257  {
258    return $this->lastModifiedAt;
259  }
260  /**
261   * @param string
262   */
263  public function setName($name)
264  {
265    $this->name = $name;
266  }
267  /**
268   * @return string
269   */
270  public function getName()
271  {
272    return $this->name;
273  }
274  /**
275   * @param string
276   */
277  public function setPaymentFundingModel($paymentFundingModel)
278  {
279    $this->paymentFundingModel = $paymentFundingModel;
280  }
281  /**
282   * @return string
283   */
284  public function getPaymentFundingModel()
285  {
286    return $this->paymentFundingModel;
287  }
288  /**
289   * @param GoogleCloudApigeeV1RevenueShareRange[]
290   */
291  public function setRevenueShareRates($revenueShareRates)
292  {
293    $this->revenueShareRates = $revenueShareRates;
294  }
295  /**
296   * @return GoogleCloudApigeeV1RevenueShareRange[]
297   */
298  public function getRevenueShareRates()
299  {
300    return $this->revenueShareRates;
301  }
302  /**
303   * @param string
304   */
305  public function setRevenueShareType($revenueShareType)
306  {
307    $this->revenueShareType = $revenueShareType;
308  }
309  /**
310   * @return string
311   */
312  public function getRevenueShareType()
313  {
314    return $this->revenueShareType;
315  }
316  /**
317   * @param GoogleTypeMoney
318   */
319  public function setSetupFee(GoogleTypeMoney $setupFee)
320  {
321    $this->setupFee = $setupFee;
322  }
323  /**
324   * @return GoogleTypeMoney
325   */
326  public function getSetupFee()
327  {
328    return $this->setupFee;
329  }
330  /**
331   * @param string
332   */
333  public function setStartTime($startTime)
334  {
335    $this->startTime = $startTime;
336  }
337  /**
338   * @return string
339   */
340  public function getStartTime()
341  {
342    return $this->startTime;
343  }
344  /**
345   * @param string
346   */
347  public function setState($state)
348  {
349    $this->state = $state;
350  }
351  /**
352   * @return string
353   */
354  public function getState()
355  {
356    return $this->state;
357  }
358}
359
360// Adding a class alias for backwards compatibility with the previous class name.
361class_alias(GoogleCloudApigeeV1RatePlan::class, 'Google_Service_Apigee_GoogleCloudApigeeV1RatePlan');
362