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

View Source

Cost and benefit of an outright purchase of a particular configuration of solar panels with a particular electricity usage.

Attributes

  • outOfPocketCost (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Initial cost before tax incentives: the amount that must be paid out-of-pocket. Contrast with upfront_cost, which is after tax incentives.
  • paybackYears (type: number(), default: nil) - Number of years until payback occurs. A negative value means payback never occurs within the lifetime period.
  • rebateValue (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - The value of all tax rebates.
  • savings (type: GoogleApi.Solar.V1.Model.SavingsOverTime.t, default: nil) - How much is saved (or not) over the lifetime period.
  • upfrontCost (type: GoogleApi.Solar.V1.Model.Money.t, default: nil) - Initial cost after tax incentives: it's the amount that must be paid during first year. Contrast with out_of_pocket_cost, which is before tax incentives.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Solar.V1.Model.CashPurchaseSavings{
  outOfPocketCost: GoogleApi.Solar.V1.Model.Money.t() | nil,
  paybackYears: number() | nil,
  rebateValue: GoogleApi.Solar.V1.Model.Money.t() | nil,
  savings: GoogleApi.Solar.V1.Model.SavingsOverTime.t() | nil,
  upfrontCost: 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.