@cubedelement.com/realty-investor-timeline
@cubedelement.com/realty-investor-timeline / ledger/ledger-collection / ILedgerCollection
Defined in: ledger/ledger-collection.ts:10
add(
item):void
Defined in: ledger/ledger-collection.ts:19
LedgerItem |
Iterable<LedgerItem> |
void
clone():
ILedgerCollection
Defined in: ledger/ledger-collection.ts:77
filter(
pred?):LedgerItem[]
Defined in: ledger/ledger-collection.ts:17
getAvailableSavings(
date,properties,minMonthsRequired?):number
Defined in: ledger/ledger-collection.ts:71
should be the total balance - savings for single family
Date
number
number
getBalance(
date?):number
Defined in: ledger/ledger-collection.ts:15
the total balance in the ledger collection
Date
number
getCashFlowMonth(
date?):number
Defined in: ledger/ledger-collection.ts:21
Date
number
getCashFlowMonthCollection(
year?):number[]
Defined in: ledger/ledger-collection.ts:51
used to get the cashFlow of all 12 months
number
number[]
getCashFlowYearAverage(
date?):number
Defined in: ledger/ledger-collection.ts:57
used to get the average cash flow for the year.
Date
number
getLastLedgerMonth():
LedgerItem[]
Defined in: ledger/ledger-collection.ts:75
getLatestLedgerItem():
LedgerItem
Defined in: ledger/ledger-collection.ts:73
getMinimumSavings(
properties,date,minMonthsRequired?):number
Defined in: ledger/ledger-collection.ts:33
This method gets the total of savings needed for all properties by x amount of months.
Date
number
number
Example, you typically need 6 months of month per single family home, so if you had 3 homes at 6 months and mortgage was $1000. It would be doing the following: `getMinimumSavings = 3 (SF) * $1000 (mort) * 6 (months) = $18,000`
totals all properties getExpensesByDate * amount needed to save by month, so properties[].getExpensesByDate() * minMonthsRequired.
getSummariesAnnual(
year?):ILedgerSummary[]
Defined in: ledger/ledger-collection.ts:63
number
getSummaryAnnual(
year?):ILedgerSummary
Defined in: ledger/ledger-collection.ts:61
number
getSummaryMonth(
date):ILedgerSummary
Defined in: ledger/ledger-collection.ts:59
Date
hasMinimumSavings(
properties,date,minMonthsRequired?):boolean
Defined in: ledger/ledger-collection.ts:45
determines if there is enough money in the account while forcing a hold on the getMinimumSavings amount.
Date
number
boolean
hasMinimumSavings = getBalance >= getMinimumSavings