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

LeasingSavings

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

Cost and benefit of leasing a particular configuration of solar panels with a particular electricity usage.

interface LeasingSavings {
annualLeasingCost?: Money;
leasesAllowed?: boolean;
leasesSupported?: boolean;
savings?: SavingsOverTime;
}

§Properties

§
annualLeasingCost?: Money
[src]

Estimated annual leasing cost.

§
leasesAllowed?: boolean
[src]

Whether leases are allowed in this juristiction (leases are not allowed in some states). If this field is false, then the values in this message should probably be ignored.

§
leasesSupported?: boolean
[src]

Whether leases are supported in this juristiction by the financial calculation engine. If this field is false, then the values in this message should probably be ignored. This is independent of leases_allowed: in some areas leases are allowed, but under conditions that aren't handled by the financial models.

§

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