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

View Source

Financial information that's shared between different financing methods.

Attributes

  • financiallyViable (type: boolean(), default: nil) - Indicates whether this scenario is financially viable. Will be false for scenarios with poor financial viability (e.g., money-losing).
  • presentValueOfSavingsLifetime (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Using the assumed discount rate, what is the present value of the cumulative lifetime savings?
  • presentValueOfSavingsYear20 (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Using the assumed discount rate, what is the present value of the cumulative 20-year savings?
  • savingsLifetime (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Savings in the entire panel lifetime.
  • savingsYear1 (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Savings in the first year after panel installation.
  • savingsYear20 (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Savings in the first twenty years after panel installation.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.SavingsOverTime{
  financiallyViable: boolean() | nil,
  presentValueOfSavingsLifetime: GoogleApi.Solar.V1.Model.Money.t() | nil,
  presentValueOfSavingsYear20: GoogleApi.Solar.V1.Model.Money.t() | nil,
  savingsLifetime: GoogleApi.Solar.V1.Model.Money.t() | nil,
  savingsYear1: GoogleApi.Solar.V1.Model.Money.t() | nil,
  savingsYear20: GoogleApi.Solar.V1.Model.Money.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.