outOfPocketCost = $outOfPocketCost; } /** * @return Money */ public function getOutOfPocketCost() { return $this->outOfPocketCost; } /** * @param float */ public function setPaybackYears($paybackYears) { $this->paybackYears = $paybackYears; } /** * @return float */ public function getPaybackYears() { return $this->paybackYears; } /** * @param Money */ public function setRebateValue(Money $rebateValue) { $this->rebateValue = $rebateValue; } /** * @return Money */ public function getRebateValue() { return $this->rebateValue; } /** * @param SavingsOverTime */ public function setSavings(SavingsOverTime $savings) { $this->savings = $savings; } /** * @return SavingsOverTime */ public function getSavings() { return $this->savings; } /** * @param Money */ public function setUpfrontCost(Money $upfrontCost) { $this->upfrontCost = $upfrontCost; } /** * @return Money */ public function getUpfrontCost() { return $this->upfrontCost; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(CashPurchaseSavings::class, 'Google_Service_Solar_CashPurchaseSavings');