source: vendor/google/apiclient-services/src/Cloudbilling/PricingExpression.php

Last change on this file was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 2 weeks ago

Upload project files

  • Property mode set to 100644
File size: 2.9 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\Cloudbilling;
19
20class PricingExpression extends \Google\Collection
21{
22 protected $collection_key = 'tieredRates';
23 /**
24 * @var string
25 */
26 public $baseUnit;
27 public $baseUnitConversionFactor;
28 /**
29 * @var string
30 */
31 public $baseUnitDescription;
32 public $displayQuantity;
33 protected $tieredRatesType = TierRate::class;
34 protected $tieredRatesDataType = 'array';
35 /**
36 * @var string
37 */
38 public $usageUnit;
39 /**
40 * @var string
41 */
42 public $usageUnitDescription;
43
44 /**
45 * @param string
46 */
47 public function setBaseUnit($baseUnit)
48 {
49 $this->baseUnit = $baseUnit;
50 }
51 /**
52 * @return string
53 */
54 public function getBaseUnit()
55 {
56 return $this->baseUnit;
57 }
58 public function setBaseUnitConversionFactor($baseUnitConversionFactor)
59 {
60 $this->baseUnitConversionFactor = $baseUnitConversionFactor;
61 }
62 public function getBaseUnitConversionFactor()
63 {
64 return $this->baseUnitConversionFactor;
65 }
66 /**
67 * @param string
68 */
69 public function setBaseUnitDescription($baseUnitDescription)
70 {
71 $this->baseUnitDescription = $baseUnitDescription;
72 }
73 /**
74 * @return string
75 */
76 public function getBaseUnitDescription()
77 {
78 return $this->baseUnitDescription;
79 }
80 public function setDisplayQuantity($displayQuantity)
81 {
82 $this->displayQuantity = $displayQuantity;
83 }
84 public function getDisplayQuantity()
85 {
86 return $this->displayQuantity;
87 }
88 /**
89 * @param TierRate[]
90 */
91 public function setTieredRates($tieredRates)
92 {
93 $this->tieredRates = $tieredRates;
94 }
95 /**
96 * @return TierRate[]
97 */
98 public function getTieredRates()
99 {
100 return $this->tieredRates;
101 }
102 /**
103 * @param string
104 */
105 public function setUsageUnit($usageUnit)
106 {
107 $this->usageUnit = $usageUnit;
108 }
109 /**
110 * @return string
111 */
112 public function getUsageUnit()
113 {
114 return $this->usageUnit;
115 }
116 /**
117 * @param string
118 */
119 public function setUsageUnitDescription($usageUnitDescription)
120 {
121 $this->usageUnitDescription = $usageUnitDescription;
122 }
123 /**
124 * @return string
125 */
126 public function getUsageUnitDescription()
127 {
128 return $this->usageUnitDescription;
129 }
130}
131
132// Adding a class alias for backwards compatibility with the previous class name.
133class_alias(PricingExpression::class, 'Google_Service_Cloudbilling_PricingExpression');
Note: See TracBrowser for help on using the repository browser.