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

CashPurchaseSavings

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

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

interface CashPurchaseSavings {
outOfPocketCost?: Money;
paybackYears?: number;
rebateValue?: Money;
savings?: SavingsOverTime;
upfrontCost?: Money;
}

§Properties

§
outOfPocketCost?: Money
[src]

Initial cost before tax incentives: the amount that must be paid out-of-pocket. Contrast with upfront_cost, which is after tax incentives.

§
paybackYears?: number
[src]

Number of years until payback occurs. A negative value means payback never occurs within the lifetime period.

§
rebateValue?: Money
[src]

The value of all tax rebates.

§

How much is saved (or not) over the lifetime period.

§
upfrontCost?: Money
[src]

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.