Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

SavingsOverTime

import type { SavingsOverTime } from "https://googleapis.deno.dev/v1/solar:v1.ts";

Financial information that's shared between different financing methods.

interface SavingsOverTime {
financiallyViable?: boolean;
presentValueOfSavingsLifetime?: Money;
presentValueOfSavingsYear20?: Money;
savingsLifetime?: Money;
savingsYear1?: Money;
savingsYear20?: Money;
}

§Properties

§
financiallyViable?: boolean
[src]

Indicates whether this scenario is financially viable. Will be false for scenarios with poor financial viability (e.g., money-losing).

§
presentValueOfSavingsLifetime?: Money
[src]

Using the assumed discount rate, what is the present value of the cumulative lifetime savings?

§
presentValueOfSavingsYear20?: Money
[src]

Using the assumed discount rate, what is the present value of the cumulative 20-year savings?

§
savingsLifetime?: Money
[src]

Savings in the entire panel lifetime.

§
savingsYear1?: Money
[src]

Savings in the first year after panel installation.

§
savingsYear20?: Money
[src]

Savings in the first twenty years after panel installation.