All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.solar.v1.model.FinancedPurchaseSavings Maven / Gradle / Ivy

/*
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/googleapis/google-api-java-client-services/
 * Modify at your own risk.
 */

package com.google.api.services.solar.v1.model;

/**
 * Cost and benefit of using a loan to buy a particular configuration of solar panels with a
 * particular electricity usage.
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the Solar API. For a detailed explanation see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class FinancedPurchaseSavings extends com.google.api.client.json.GenericJson { /** * Annual loan payments. * The value may be {@code null}. */ @com.google.api.client.util.Key private Money annualLoanPayment; /** * The interest rate on loans assumed in this set of calculations. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Float loanInterestRate; /** * The value of all tax rebates (including Federal Investment Tax Credit (ITC)). * The value may be {@code null}. */ @com.google.api.client.util.Key private Money rebateValue; /** * How much is saved (or not) over the lifetime period. * The value may be {@code null}. */ @com.google.api.client.util.Key private SavingsOverTime savings; /** * Annual loan payments. * @return value or {@code null} for none */ public Money getAnnualLoanPayment() { return annualLoanPayment; } /** * Annual loan payments. * @param annualLoanPayment annualLoanPayment or {@code null} for none */ public FinancedPurchaseSavings setAnnualLoanPayment(Money annualLoanPayment) { this.annualLoanPayment = annualLoanPayment; return this; } /** * The interest rate on loans assumed in this set of calculations. * @return value or {@code null} for none */ public java.lang.Float getLoanInterestRate() { return loanInterestRate; } /** * The interest rate on loans assumed in this set of calculations. * @param loanInterestRate loanInterestRate or {@code null} for none */ public FinancedPurchaseSavings setLoanInterestRate(java.lang.Float loanInterestRate) { this.loanInterestRate = loanInterestRate; return this; } /** * The value of all tax rebates (including Federal Investment Tax Credit (ITC)). * @return value or {@code null} for none */ public Money getRebateValue() { return rebateValue; } /** * The value of all tax rebates (including Federal Investment Tax Credit (ITC)). * @param rebateValue rebateValue or {@code null} for none */ public FinancedPurchaseSavings setRebateValue(Money rebateValue) { this.rebateValue = rebateValue; return this; } /** * How much is saved (or not) over the lifetime period. * @return value or {@code null} for none */ public SavingsOverTime getSavings() { return savings; } /** * How much is saved (or not) over the lifetime period. * @param savings savings or {@code null} for none */ public FinancedPurchaseSavings setSavings(SavingsOverTime savings) { this.savings = savings; return this; } @Override public FinancedPurchaseSavings set(String fieldName, Object value) { return (FinancedPurchaseSavings) super.set(fieldName, value); } @Override public FinancedPurchaseSavings clone() { return (FinancedPurchaseSavings) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy