@cubedelement.com/realty-investor-timeline
@cubedelement.com/realty-investor-timeline / ledger/ledger-collection / LedgerCollection
Defined in: ledger/ledger-collection.ts:86
new LedgerCollection():
LedgerCollection
Defined in: ledger/ledger-collection.ts:97
add(
item):void
Defined in: ledger/ledger-collection.ts:127
LedgerItem |
Iterable<LedgerItem> |
void
clone():
ILedgerCollection
Defined in: ledger/ledger-collection.ts:414
filter(
pred?):LedgerItem[]
Defined in: ledger/ledger-collection.ts:101
getAvailableSavings(
date,properties,minMonthsRequired):number
Defined in: ledger/ledger-collection.ts:392
should be the total balance - savings for single family
Date
number = 6
number
ILedgerCollection.getAvailableSavings
getAverageByType(
collection,type):number
Defined in: ledger/ledger-collection.ts:178
number
getAverageCashFlowMonthByQuarter(
date?):number
Defined in: ledger/ledger-collection.ts:235
Date
number
ILedgerCollection.getAverageCashFlowMonthByQuarter
getBalance(
date?):number
Defined in: ledger/ledger-collection.ts:117
the total balance in the ledger collection
Date
number
getCashFlowMonth(
date?):number
Defined in: ledger/ledger-collection.ts:217
Date
number
ILedgerCollection.getCashFlowMonth
getCashFlowQuarter(
date?):number
Defined in: ledger/ledger-collection.ts:269
Date
number
ILedgerCollection.getCashFlowQuarter
getCashFlowYearAverage(
date?):number
Defined in: ledger/ledger-collection.ts:199
used to get the average cash flow for the year.
Date
number
ILedgerCollection.getCashFlowYearAverage
getLastLedgerMonth():
LedgerItem[]
Defined in: ledger/ledger-collection.ts:404
ILedgerCollection.getLastLedgerMonth
getLatestLedgerItem():
LedgerItem
Defined in: ledger/ledger-collection.ts:396
ILedgerCollection.getLatestLedgerItem
getMinimumSavings(
properties,date,minMonthsRequired):number
Defined in: ledger/ledger-collection.ts:148
This method gets the total of savings needed for all properties by x amount of months.
Date
number = 6
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.
ILedgerCollection.getMinimumSavings
getMonthlyCashFlowByYear(
year?):number[]
Defined in: ledger/ledger-collection.ts:182
used to get the cashFlow of all 12 months
number
number[]
ILedgerCollection.getMonthlyCashFlowByYear
getSummariesAnnual(
year?):ILedgerSummary[]
Defined in: ledger/ledger-collection.ts:348
number
ILedgerCollection.getSummariesAnnual
getSummaryAnnual(
year?):ILedgerSummary
Defined in: ledger/ledger-collection.ts:322
number
ILedgerCollection.getSummaryAnnual
getSummaryMonth(
date):ILedgerDetailSummary
Defined in: ledger/ledger-collection.ts:285
Date
ILedgerCollection.getSummaryMonth
hasMinimumSavings(
properties,date,minMonthsRequired):boolean
Defined in: ledger/ledger-collection.ts:174
determines if there is enough money in the account while forcing a hold on the getMinimumSavings amount.
Date
number = 6
boolean
hasMinimumSavings = getBalance >= getMinimumSavings
ILedgerCollection.hasMinimumSavings
isEmpty():
boolean
Defined in: ledger/ledger-collection.ts:134
is the collection empty?
boolean