Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AmortizationResult ¶
type AmortizationResult struct {
MonthlyPayments []MonthlyPayment
}
type AmortizationResults ¶
type AmortizationResults struct {
PaymentPlans []AmortizationResult
}
type MonthlyPayment ¶
type MonthlyPayment struct { ID string Month int Interest float64 PrincipalPayment float64 RemainingBalance float64 }
Tradeline Input Array request for getting information on the debt accounts.
type Payment ¶
type Payment struct { Month string TotalPayment float64 TotalPrincipalPayment float64 TotalInterest float64 MonthlyPayments []MonthlyPayment }
type PaymentTable ¶
type Payoff ¶
type Payoff struct { ID string `json:"id"` TimeInMonths float64 `json:"time_in_months"` TotalAmount float64 `json:"total_amount"` TotalInterest float64 `json:"total_interest"` LastPayment float64 `json:"last_payment"` PaidOff bool `json:"paid_off"` }
Payoff structure for paying off debt
type PayoffResult ¶
type PayoffResult struct {
Payoff Payoff `json:"payoff"`
}
type Results ¶
type Results struct { PayoffResult []PayoffResult `json:"result"` Amortization AmortizationResults `json:"amortization"` PaymentTables map[int]PaymentTable `json:"aggregated"` }
type Tradeline ¶
type Tradeline struct { ID string `json:"id"` AccountName string `json:"account_name"` Balance float64 `json:"balance"` MinimumPayment int `json:"minimum_payment"` InterestRate float64 `json:"interest_rate"` RevolvingOrInstallement string `json:"revolving_or_installement"` }
Tradeline Input Array request for getting information on the debt accounts.
Click to show internal directories.
Click to hide internal directories.