@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:98
LedgerCollection
add(
item):void
Defined in: ledger/ledger-collection.ts:128
LedgerItem | Iterable<LedgerItem, any, any>
void
clone():
ILedgerCollection
Defined in: ledger/ledger-collection.ts:419
filter(
pred?):LedgerItem[]
Defined in: ledger/ledger-collection.ts:102
getAvailableSavings(
date,properties,minMonthsRequired?):number
Defined in: ledger/ledger-collection.ts:397
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:181
number
getAverageCashFlowMonthByQuarter(
date?):number
Defined in: ledger/ledger-collection.ts:238
Date
number
ILedgerCollection.getAverageCashFlowMonthByQuarter
getBalance(
date?):number
Defined in: ledger/ledger-collection.ts:118
the total balance in the ledger collection
Date
number
getCashFlowMonth(
date?):number
Defined in: ledger/ledger-collection.ts:220
Date
number
ILedgerCollection.getCashFlowMonth
getCashFlowQuarter(
date?):number
Defined in: ledger/ledger-collection.ts:272
Date
number
ILedgerCollection.getCashFlowQuarter
getCashFlowYearAverage(
date?):number
Defined in: ledger/ledger-collection.ts:202
used to get the average cash flow for the year.
Date
number
ILedgerCollection.getCashFlowYearAverage
getLastLedgerMonth():
LedgerItem[]
Defined in: ledger/ledger-collection.ts:409
ILedgerCollection.getLastLedgerMonth
getLatestLedgerItem():
LedgerItem
Defined in: ledger/ledger-collection.ts:401
ILedgerCollection.getLatestLedgerItem
getMinimumSavings(
properties,date,minMonthsRequired?):number
Defined in: ledger/ledger-collection.ts:151
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:185
used to get the cashFlow of all 12 months
number
number[]
ILedgerCollection.getMonthlyCashFlowByYear
getSummariesAnnual(
year?):ILedgerDetailSummary[]
Defined in: ledger/ledger-collection.ts:353
number
ILedgerCollection.getSummariesAnnual
getSummaryAnnual(
year?):ILedgerDetailSummary
Defined in: ledger/ledger-collection.ts:325
number
ILedgerCollection.getSummaryAnnual
getSummaryMonth(
date):ILedgerDetailSummary
Defined in: ledger/ledger-collection.ts:288
Date
ILedgerCollection.getSummaryMonth
hasMinimumSavings(
properties,date,minMonthsRequired?):boolean
Defined in: ledger/ledger-collection.ts:177
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:137
is the collection empty?
boolean