GoogleApi.Solar.V1.Model.FinancedPurchaseSavings (google_api_solar v0.4.2)

View Source

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

Attributes

  • annualLoanPayment (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Annual loan payments.
  • loanInterestRate (type: number(), default: nil) - The interest rate on loans assumed in this set of calculations.
  • rebateValue (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - The value of all tax rebates (including Federal Investment Tax Credit (ITC)).
  • savings (type: GoogleApi.Solar.V1.Model.SavingsOverTime.t, default: nil) - How much is saved (or not) over the lifetime period.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.FinancedPurchaseSavings{
  annualLoanPayment: GoogleApi.Solar.V1.Model.Money.t() | nil,
  loanInterestRate: number() | nil,
  rebateValue: GoogleApi.Solar.V1.Model.Money.t() | nil,
  savings: GoogleApi.Solar.V1.Model.SavingsOverTime.t() | nil
}

Functions

decode(value, options)

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.