source: vendor/google/apiclient-services/src/Solar/CashPurchaseSavings.php@ e3d4e0a

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

Upload project files

  • Property mode set to 100644
File size: 2.4 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\Solar;
19
20class CashPurchaseSavings extends \Google\Model
21{
22 protected $outOfPocketCostType = Money::class;
23 protected $outOfPocketCostDataType = '';
24 /**
25 * @var float
26 */
27 public $paybackYears;
28 protected $rebateValueType = Money::class;
29 protected $rebateValueDataType = '';
30 protected $savingsType = SavingsOverTime::class;
31 protected $savingsDataType = '';
32 protected $upfrontCostType = Money::class;
33 protected $upfrontCostDataType = '';
34
35 /**
36 * @param Money
37 */
38 public function setOutOfPocketCost(Money $outOfPocketCost)
39 {
40 $this->outOfPocketCost = $outOfPocketCost;
41 }
42 /**
43 * @return Money
44 */
45 public function getOutOfPocketCost()
46 {
47 return $this->outOfPocketCost;
48 }
49 /**
50 * @param float
51 */
52 public function setPaybackYears($paybackYears)
53 {
54 $this->paybackYears = $paybackYears;
55 }
56 /**
57 * @return float
58 */
59 public function getPaybackYears()
60 {
61 return $this->paybackYears;
62 }
63 /**
64 * @param Money
65 */
66 public function setRebateValue(Money $rebateValue)
67 {
68 $this->rebateValue = $rebateValue;
69 }
70 /**
71 * @return Money
72 */
73 public function getRebateValue()
74 {
75 return $this->rebateValue;
76 }
77 /**
78 * @param SavingsOverTime
79 */
80 public function setSavings(SavingsOverTime $savings)
81 {
82 $this->savings = $savings;
83 }
84 /**
85 * @return SavingsOverTime
86 */
87 public function getSavings()
88 {
89 return $this->savings;
90 }
91 /**
92 * @param Money
93 */
94 public function setUpfrontCost(Money $upfrontCost)
95 {
96 $this->upfrontCost = $upfrontCost;
97 }
98 /**
99 * @return Money
100 */
101 public function getUpfrontCost()
102 {
103 return $this->upfrontCost;
104 }
105}
106
107// Adding a class alias for backwards compatibility with the previous class name.
108class_alias(CashPurchaseSavings::class, 'Google_Service_Solar_CashPurchaseSavings');
Note: See TracBrowser for help on using the repository browser.