1 | <?php |
||
13 | class FutureValueOfAnnuityCalculator |
||
14 | { |
||
15 | private $amount; |
||
16 | |||
17 | private $length; |
||
18 | |||
19 | private $rates; |
||
20 | |||
21 | private $rate; |
||
22 | |||
23 | public function __construct($amount, $length) |
||
39 | |||
40 | public function getProfit($length = null) |
||
49 | |||
50 | public function getProfitsByYear() |
||
59 | |||
60 | public function getTotalProfit() |
||
64 | |||
65 | public function getNetIncome() |
||
69 | |||
70 | public function getEffectiveEvaluation() |
||
78 | |||
79 | public function getTotalAmount() |
||
83 | |||
84 | public function getPurchaseAmount() |
||
88 | |||
89 | public function getProfitVat() |
||
93 | |||
94 | public function getCharge() |
||
98 | |||
99 | /** |
||
100 | * Gets the value of amount. |
||
101 | * |
||
102 | * @return mixed |
||
103 | */ |
||
104 | public function getAmount() |
||
108 | |||
109 | /** |
||
110 | * Sets the value of amount. |
||
111 | * |
||
112 | * @param mixed $amount the amount |
||
113 | * |
||
114 | * @return self |
||
115 | */ |
||
116 | public function setAmount($amount) |
||
122 | |||
123 | /** |
||
124 | * Gets the value of length. |
||
125 | * |
||
126 | * @return mixed |
||
127 | */ |
||
128 | public function getLength() |
||
132 | |||
133 | /** |
||
134 | * Sets the value of length. |
||
135 | * |
||
136 | * @param mixed $length the length |
||
137 | * |
||
138 | * @return self |
||
139 | */ |
||
140 | public function setLength($length) |
||
146 | |||
147 | /** |
||
148 | * Gets the value of rates. |
||
149 | * |
||
150 | * @return mixed |
||
151 | */ |
||
152 | public function getRates() |
||
156 | |||
157 | /** |
||
158 | * Sets the value of rates. |
||
159 | * |
||
160 | * @param mixed $rates the rates |
||
161 | * |
||
162 | * @return self |
||
163 | */ |
||
164 | public function setRates($rates) |
||
170 | |||
171 | /** |
||
172 | * Gets the value of rate. |
||
173 | * |
||
174 | * @return mixed |
||
175 | */ |
||
176 | public function getRate() |
||
180 | |||
181 | /** |
||
182 | * Sets the value of rate. |
||
183 | * |
||
184 | * @param mixed $rate the rate |
||
185 | * |
||
186 | * @return self |
||
187 | */ |
||
188 | public function setRate($rate) |
||
194 | } |
||
195 |