Options
All
  • Public
  • Public/Protected
  • All
Menu

A flow of money out.

The fromStream parameter must be specified; it is the other end of the flow, where the money to pay the expense comes from (an IncomeStream).

Hierarchy

Implements

Index

Constructors

constructor

Properties

Private Optional #temporal

#temporal: Temporal<Expense> = ...

Readonly categories

categories: Category[]

Optional Readonly end

end: boolean

fraction

fraction: Rate

fromStream

fromStream: string

Readonly id

id: string

Readonly name

name: string

Optional notes

notes: string

prettyName

prettyName: string

Readonly scenario

scenario: IFScenario

Readonly scenarios

scenarios: string[]

sort

sort: number

Sort order

Readonly start

start: Date

Readonly type

type: "expense"

Readonly value

value: Money

Accessors

temporal

Methods

hasCategory

  • hasCategory(category: Category): boolean

inScenario

  • inScenario(scenario: string): boolean

states

Static inScenario

  • inScenario(scenario: string, scenarios: string[] | IItem<"incomeStream" | "person" | "scenario" | "asset" | "liability" | "income" | "expense" | "incomeTax" | "text">): boolean
  • Parameters

    • scenario: string
    • scenarios: string[] | IItem<"incomeStream" | "person" | "scenario" | "asset" | "liability" | "income" | "expense" | "incomeTax" | "text">

    Returns boolean

Generated using TypeDoc