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

View Source

Analysis of the cost and benefits of the optimum solar layout for a particular electric bill size.

Attributes

  • averageKwhPerMonth (type: number(), default: nil) - How much electricity the house uses in an average month, based on the bill size and the local electricity rates.
  • cashPurchaseSavings (type: GoogleApi.Solar.V1.Model.CashPurchaseSavings.t, default: nil) - Cost and benefit of buying the solar panels with cash.
  • defaultBill (type: boolean(), default: nil) - Whether this is the bill size selected to be the default bill for the area this building is in. Exactly one FinancialAnalysis in BuildingSolarPotential should have default_bill set.
  • financedPurchaseSavings (type: GoogleApi.Solar.V1.Model.FinancedPurchaseSavings.t, default: nil) - Cost and benefit of buying the solar panels by financing the purchase.
  • financialDetails (type: GoogleApi.Solar.V1.Model.FinancialDetails.t, default: nil) - Financial information that applies regardless of the financing method used.
  • leasingSavings (type: GoogleApi.Solar.V1.Model.LeasingSavings.t, default: nil) - Cost and benefit of leasing the solar panels.
  • monthlyBill (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - The monthly electric bill this analysis assumes.
  • panelConfigIndex (type: integer(), default: nil) - Index in solar_panel_configs of the optimum solar layout for this bill size. This can be -1 indicating that there is no layout. In this case, the remaining submessages will be omitted.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.FinancialAnalysis{
  averageKwhPerMonth: number() | nil,
  cashPurchaseSavings: GoogleApi.Solar.V1.Model.CashPurchaseSavings.t() | nil,
  defaultBill: boolean() | nil,
  financedPurchaseSavings:
    GoogleApi.Solar.V1.Model.FinancedPurchaseSavings.t() | nil,
  financialDetails: GoogleApi.Solar.V1.Model.FinancialDetails.t() | nil,
  leasingSavings: GoogleApi.Solar.V1.Model.LeasingSavings.t() | nil,
  monthlyBill: GoogleApi.Solar.V1.Model.Money.t() | nil,
  panelConfigIndex: integer() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.