[e3d4e0a] | 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 FinancialAnalysis extends \Google\Model
|
---|
| 21 | {
|
---|
| 22 | /**
|
---|
| 23 | * @var float
|
---|
| 24 | */
|
---|
| 25 | public $averageKwhPerMonth;
|
---|
| 26 | protected $cashPurchaseSavingsType = CashPurchaseSavings::class;
|
---|
| 27 | protected $cashPurchaseSavingsDataType = '';
|
---|
| 28 | /**
|
---|
| 29 | * @var bool
|
---|
| 30 | */
|
---|
| 31 | public $defaultBill;
|
---|
| 32 | protected $financedPurchaseSavingsType = FinancedPurchaseSavings::class;
|
---|
| 33 | protected $financedPurchaseSavingsDataType = '';
|
---|
| 34 | protected $financialDetailsType = FinancialDetails::class;
|
---|
| 35 | protected $financialDetailsDataType = '';
|
---|
| 36 | protected $leasingSavingsType = LeasingSavings::class;
|
---|
| 37 | protected $leasingSavingsDataType = '';
|
---|
| 38 | protected $monthlyBillType = Money::class;
|
---|
| 39 | protected $monthlyBillDataType = '';
|
---|
| 40 | /**
|
---|
| 41 | * @var int
|
---|
| 42 | */
|
---|
| 43 | public $panelConfigIndex;
|
---|
| 44 |
|
---|
| 45 | /**
|
---|
| 46 | * @param float
|
---|
| 47 | */
|
---|
| 48 | public function setAverageKwhPerMonth($averageKwhPerMonth)
|
---|
| 49 | {
|
---|
| 50 | $this->averageKwhPerMonth = $averageKwhPerMonth;
|
---|
| 51 | }
|
---|
| 52 | /**
|
---|
| 53 | * @return float
|
---|
| 54 | */
|
---|
| 55 | public function getAverageKwhPerMonth()
|
---|
| 56 | {
|
---|
| 57 | return $this->averageKwhPerMonth;
|
---|
| 58 | }
|
---|
| 59 | /**
|
---|
| 60 | * @param CashPurchaseSavings
|
---|
| 61 | */
|
---|
| 62 | public function setCashPurchaseSavings(CashPurchaseSavings $cashPurchaseSavings)
|
---|
| 63 | {
|
---|
| 64 | $this->cashPurchaseSavings = $cashPurchaseSavings;
|
---|
| 65 | }
|
---|
| 66 | /**
|
---|
| 67 | * @return CashPurchaseSavings
|
---|
| 68 | */
|
---|
| 69 | public function getCashPurchaseSavings()
|
---|
| 70 | {
|
---|
| 71 | return $this->cashPurchaseSavings;
|
---|
| 72 | }
|
---|
| 73 | /**
|
---|
| 74 | * @param bool
|
---|
| 75 | */
|
---|
| 76 | public function setDefaultBill($defaultBill)
|
---|
| 77 | {
|
---|
| 78 | $this->defaultBill = $defaultBill;
|
---|
| 79 | }
|
---|
| 80 | /**
|
---|
| 81 | * @return bool
|
---|
| 82 | */
|
---|
| 83 | public function getDefaultBill()
|
---|
| 84 | {
|
---|
| 85 | return $this->defaultBill;
|
---|
| 86 | }
|
---|
| 87 | /**
|
---|
| 88 | * @param FinancedPurchaseSavings
|
---|
| 89 | */
|
---|
| 90 | public function setFinancedPurchaseSavings(FinancedPurchaseSavings $financedPurchaseSavings)
|
---|
| 91 | {
|
---|
| 92 | $this->financedPurchaseSavings = $financedPurchaseSavings;
|
---|
| 93 | }
|
---|
| 94 | /**
|
---|
| 95 | * @return FinancedPurchaseSavings
|
---|
| 96 | */
|
---|
| 97 | public function getFinancedPurchaseSavings()
|
---|
| 98 | {
|
---|
| 99 | return $this->financedPurchaseSavings;
|
---|
| 100 | }
|
---|
| 101 | /**
|
---|
| 102 | * @param FinancialDetails
|
---|
| 103 | */
|
---|
| 104 | public function setFinancialDetails(FinancialDetails $financialDetails)
|
---|
| 105 | {
|
---|
| 106 | $this->financialDetails = $financialDetails;
|
---|
| 107 | }
|
---|
| 108 | /**
|
---|
| 109 | * @return FinancialDetails
|
---|
| 110 | */
|
---|
| 111 | public function getFinancialDetails()
|
---|
| 112 | {
|
---|
| 113 | return $this->financialDetails;
|
---|
| 114 | }
|
---|
| 115 | /**
|
---|
| 116 | * @param LeasingSavings
|
---|
| 117 | */
|
---|
| 118 | public function setLeasingSavings(LeasingSavings $leasingSavings)
|
---|
| 119 | {
|
---|
| 120 | $this->leasingSavings = $leasingSavings;
|
---|
| 121 | }
|
---|
| 122 | /**
|
---|
| 123 | * @return LeasingSavings
|
---|
| 124 | */
|
---|
| 125 | public function getLeasingSavings()
|
---|
| 126 | {
|
---|
| 127 | return $this->leasingSavings;
|
---|
| 128 | }
|
---|
| 129 | /**
|
---|
| 130 | * @param Money
|
---|
| 131 | */
|
---|
| 132 | public function setMonthlyBill(Money $monthlyBill)
|
---|
| 133 | {
|
---|
| 134 | $this->monthlyBill = $monthlyBill;
|
---|
| 135 | }
|
---|
| 136 | /**
|
---|
| 137 | * @return Money
|
---|
| 138 | */
|
---|
| 139 | public function getMonthlyBill()
|
---|
| 140 | {
|
---|
| 141 | return $this->monthlyBill;
|
---|
| 142 | }
|
---|
| 143 | /**
|
---|
| 144 | * @param int
|
---|
| 145 | */
|
---|
| 146 | public function setPanelConfigIndex($panelConfigIndex)
|
---|
| 147 | {
|
---|
| 148 | $this->panelConfigIndex = $panelConfigIndex;
|
---|
| 149 | }
|
---|
| 150 | /**
|
---|
| 151 | * @return int
|
---|
| 152 | */
|
---|
| 153 | public function getPanelConfigIndex()
|
---|
| 154 | {
|
---|
| 155 | return $this->panelConfigIndex;
|
---|
| 156 | }
|
---|
| 157 | }
|
---|
| 158 |
|
---|
| 159 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
| 160 | class_alias(FinancialAnalysis::class, 'Google_Service_Solar_FinancialAnalysis');
|
---|