Options
All
  • Public
  • Public/Protected
  • All
Menu

A composite stream of money used to pay expenses (or potentially, to contribute to assets, NYI).

Hierarchy

  • CashFlow<"incomeStream">
    • IncomeStream

Implements

Index

Constructors

constructor

Properties

Private Optional #boundSpec

Private #rawSpec

Private Optional #temporal

#temporal?: Temporal<ItemImpl<"incomeStream">> = undefined

Readonly categories

categories: Category[]

Optional Readonly end

end?: boolean

Readonly id

id: `incomeStream/${string}`

Readonly name

name: string

Optional notes

notes?: string

paymentPeriod

paymentPeriod: CalendarUnit

Payment frequency

prettyName

prettyName: string

Readonly scenario

scenario: IFScenario

Readonly scenarios

scenarios: string[]

sort

sort: number

Sort order

Readonly start

start: Date

Readonly type

type: "incomeStream"

Readonly value

value: Money

Accessors

temporal

Methods

hasCategory

  • hasCategory(category: Category): boolean
  • Determine if an item is in a specified category.

    Parameters

    Returns boolean

inScenario

  • inScenario(scenario: string): boolean
  • Determine if an item is in a specified scenario.

    Parameters

    • scenario: string

    Returns boolean

stepper

withdraw

Static inScenario

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

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

    Returns boolean

Generated using TypeDoc