Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

constructor

Properties

[toStringTag]

[toStringTag]: string

categories

categories: Category[]

Optional Readonly end

end?: boolean

Readonly fromStream

fromStream: string

id

id: `expense/${string}`

Readonly item

item: IExpense

Readonly name

name: string

Optional notes

notes?: string

Readonly paymentPeriod

paymentPeriod: CalendarUnit

Payment frequency

prettyName

prettyName: string

scenario

scenario: IScenario & ItemMethods<"scenario"> & { asset_list: IFAsset[]; assets: NamedIndex<IFAsset>; byId: {}; dateRange: [start: Date, end: Date]; expense_list: IFExpense[]; expenses: NamedIndex<IFExpense>; incomeStream_list: IFIncomeStream[]; incomeStreams: NamedIndex<IFIncomeStream>; income_list: IFIncome[]; incomes: NamedIndex<IFIncome>; liabilities: NamedIndex<IFLiability>; liability_list: IFLiability[]; people: NamedIndex<IFPerson>; person_list: IFPerson[]; scenario: IFScenario; spouse1: IFPerson; spouse2: null | IFPerson; tax_list: IFIncomeTax[]; taxes: NamedIndex<IFIncomeTax>; text_list: IFText[]; texts: NamedIndex<IFText> } & { findItem: any; findItems: any; findText: any } & TemporalItemImpl<"scenario"> & { id: `scenario/${string}`; prettyName: string; scenario: ItemImpl<"scenario"> }

scenarios

scenarios: string[]

sort

sort: number

Readonly start

start: Date

Readonly state

state: ItemState<"expense">

temporal

temporal: Temporal<ItemImpl<"expense">>

Readonly type

type: "expense"

Readonly value

value: Money

Methods

hasCategory

  • hasCategory(category: Category): boolean
  • Parameters

    Returns boolean

inScenario

  • inScenario(scenario: string): boolean
  • Parameters

    • scenario: string

    Returns boolean

stepper

Generated using TypeDoc