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\Solar;
|
---|
19 |
|
---|
20 | class FinancialDetails extends \Google\Model
|
---|
21 | {
|
---|
22 | protected $costOfElectricityWithoutSolarType = Money::class;
|
---|
23 | protected $costOfElectricityWithoutSolarDataType = '';
|
---|
24 | protected $federalIncentiveType = Money::class;
|
---|
25 | protected $federalIncentiveDataType = '';
|
---|
26 | /**
|
---|
27 | * @var float
|
---|
28 | */
|
---|
29 | public $initialAcKwhPerYear;
|
---|
30 | protected $lifetimeSrecTotalType = Money::class;
|
---|
31 | protected $lifetimeSrecTotalDataType = '';
|
---|
32 | /**
|
---|
33 | * @var bool
|
---|
34 | */
|
---|
35 | public $netMeteringAllowed;
|
---|
36 | /**
|
---|
37 | * @var float
|
---|
38 | */
|
---|
39 | public $percentageExportedToGrid;
|
---|
40 | protected $remainingLifetimeUtilityBillType = Money::class;
|
---|
41 | protected $remainingLifetimeUtilityBillDataType = '';
|
---|
42 | /**
|
---|
43 | * @var float
|
---|
44 | */
|
---|
45 | public $solarPercentage;
|
---|
46 | protected $stateIncentiveType = Money::class;
|
---|
47 | protected $stateIncentiveDataType = '';
|
---|
48 | protected $utilityIncentiveType = Money::class;
|
---|
49 | protected $utilityIncentiveDataType = '';
|
---|
50 |
|
---|
51 | /**
|
---|
52 | * @param Money
|
---|
53 | */
|
---|
54 | public function setCostOfElectricityWithoutSolar(Money $costOfElectricityWithoutSolar)
|
---|
55 | {
|
---|
56 | $this->costOfElectricityWithoutSolar = $costOfElectricityWithoutSolar;
|
---|
57 | }
|
---|
58 | /**
|
---|
59 | * @return Money
|
---|
60 | */
|
---|
61 | public function getCostOfElectricityWithoutSolar()
|
---|
62 | {
|
---|
63 | return $this->costOfElectricityWithoutSolar;
|
---|
64 | }
|
---|
65 | /**
|
---|
66 | * @param Money
|
---|
67 | */
|
---|
68 | public function setFederalIncentive(Money $federalIncentive)
|
---|
69 | {
|
---|
70 | $this->federalIncentive = $federalIncentive;
|
---|
71 | }
|
---|
72 | /**
|
---|
73 | * @return Money
|
---|
74 | */
|
---|
75 | public function getFederalIncentive()
|
---|
76 | {
|
---|
77 | return $this->federalIncentive;
|
---|
78 | }
|
---|
79 | /**
|
---|
80 | * @param float
|
---|
81 | */
|
---|
82 | public function setInitialAcKwhPerYear($initialAcKwhPerYear)
|
---|
83 | {
|
---|
84 | $this->initialAcKwhPerYear = $initialAcKwhPerYear;
|
---|
85 | }
|
---|
86 | /**
|
---|
87 | * @return float
|
---|
88 | */
|
---|
89 | public function getInitialAcKwhPerYear()
|
---|
90 | {
|
---|
91 | return $this->initialAcKwhPerYear;
|
---|
92 | }
|
---|
93 | /**
|
---|
94 | * @param Money
|
---|
95 | */
|
---|
96 | public function setLifetimeSrecTotal(Money $lifetimeSrecTotal)
|
---|
97 | {
|
---|
98 | $this->lifetimeSrecTotal = $lifetimeSrecTotal;
|
---|
99 | }
|
---|
100 | /**
|
---|
101 | * @return Money
|
---|
102 | */
|
---|
103 | public function getLifetimeSrecTotal()
|
---|
104 | {
|
---|
105 | return $this->lifetimeSrecTotal;
|
---|
106 | }
|
---|
107 | /**
|
---|
108 | * @param bool
|
---|
109 | */
|
---|
110 | public function setNetMeteringAllowed($netMeteringAllowed)
|
---|
111 | {
|
---|
112 | $this->netMeteringAllowed = $netMeteringAllowed;
|
---|
113 | }
|
---|
114 | /**
|
---|
115 | * @return bool
|
---|
116 | */
|
---|
117 | public function getNetMeteringAllowed()
|
---|
118 | {
|
---|
119 | return $this->netMeteringAllowed;
|
---|
120 | }
|
---|
121 | /**
|
---|
122 | * @param float
|
---|
123 | */
|
---|
124 | public function setPercentageExportedToGrid($percentageExportedToGrid)
|
---|
125 | {
|
---|
126 | $this->percentageExportedToGrid = $percentageExportedToGrid;
|
---|
127 | }
|
---|
128 | /**
|
---|
129 | * @return float
|
---|
130 | */
|
---|
131 | public function getPercentageExportedToGrid()
|
---|
132 | {
|
---|
133 | return $this->percentageExportedToGrid;
|
---|
134 | }
|
---|
135 | /**
|
---|
136 | * @param Money
|
---|
137 | */
|
---|
138 | public function setRemainingLifetimeUtilityBill(Money $remainingLifetimeUtilityBill)
|
---|
139 | {
|
---|
140 | $this->remainingLifetimeUtilityBill = $remainingLifetimeUtilityBill;
|
---|
141 | }
|
---|
142 | /**
|
---|
143 | * @return Money
|
---|
144 | */
|
---|
145 | public function getRemainingLifetimeUtilityBill()
|
---|
146 | {
|
---|
147 | return $this->remainingLifetimeUtilityBill;
|
---|
148 | }
|
---|
149 | /**
|
---|
150 | * @param float
|
---|
151 | */
|
---|
152 | public function setSolarPercentage($solarPercentage)
|
---|
153 | {
|
---|
154 | $this->solarPercentage = $solarPercentage;
|
---|
155 | }
|
---|
156 | /**
|
---|
157 | * @return float
|
---|
158 | */
|
---|
159 | public function getSolarPercentage()
|
---|
160 | {
|
---|
161 | return $this->solarPercentage;
|
---|
162 | }
|
---|
163 | /**
|
---|
164 | * @param Money
|
---|
165 | */
|
---|
166 | public function setStateIncentive(Money $stateIncentive)
|
---|
167 | {
|
---|
168 | $this->stateIncentive = $stateIncentive;
|
---|
169 | }
|
---|
170 | /**
|
---|
171 | * @return Money
|
---|
172 | */
|
---|
173 | public function getStateIncentive()
|
---|
174 | {
|
---|
175 | return $this->stateIncentive;
|
---|
176 | }
|
---|
177 | /**
|
---|
178 | * @param Money
|
---|
179 | */
|
---|
180 | public function setUtilityIncentive(Money $utilityIncentive)
|
---|
181 | {
|
---|
182 | $this->utilityIncentive = $utilityIncentive;
|
---|
183 | }
|
---|
184 | /**
|
---|
185 | * @return Money
|
---|
186 | */
|
---|
187 | public function getUtilityIncentive()
|
---|
188 | {
|
---|
189 | return $this->utilityIncentive;
|
---|
190 | }
|
---|
191 | }
|
---|
192 |
|
---|
193 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
194 | class_alias(FinancialDetails::class, 'Google_Service_Solar_FinancialDetails');
|
---|