DebtPlannerPayoff 1.21.1.1922

There is a newer version of this package available.
See the version list below for details.
dotnet add package DebtPlannerPayoff --version 1.21.1.1922                
NuGet\Install-Package DebtPlannerPayoff -Version 1.21.1.1922                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DebtPlannerPayoff" Version="1.21.1.1922" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add DebtPlannerPayoff --version 1.21.1.1922                
#r "nuget: DebtPlannerPayoff, 1.21.1.1922"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install DebtPlannerPayoff as a Cake Addin
#addin nuget:?package=DebtPlannerPayoff&version=1.21.1.1922

// Install DebtPlannerPayoff as a Cake Tool
#tool nuget:?package=DebtPlannerPayoff&version=1.21.1.1922                

Debt Payment Planner and Payoff Intelligence

Calculate the best way to pay down your debt.

Feature Summary

  • Amortization Schedule
  • Order debt to payoff the fastest.
  • Debt Snowball
    • Order the debt so the bulk of the payments go toward the debt that will be paid off earlier.
    • As each card is paid off, that money is combined and added to the next card to be paid off quickly.
  • Payment Statistics: Number of payments, range, utilization, APRs, etc.

Create a Debt Info Object

Each DebtInfo object handles the majority of the logic and calculations. Combine these to create a portfolio.

public DebtInfo(string name, decimal balance, decimal rate, decimal minPayment, bool forceMinPayment = true)

Create a Portfolio Object

A portfolio combines all the debts to ensure that the amortization and payments are optimized.

var portfolio = new DebtPortfolio
            {
                new DebtInfo("A", 16345.44M, 3.25M, 225),
                new DebtInfo("B", 12000, 0, 125),
                new DebtInfo("C", 6000, 3.5M, 182),
                new DebtInfo("D", 4000, 12.25M, 50),
                new DebtInfo("E", 2000, 15.55M, 200),
                new DebtInfo("F", 1000, 22, 50),
                new DebtInfo("G", 500, 22, 50),
                new DebtInfo("H", 10, 50.3M, 250),
                new DebtInfo("I", balance: 13000, 12, 100),
            };

Sample Output

The debt summary shows the debt statistics and the amortization schedule. This is a calcuation available by executing or overriding:

public virtual string Header
{
    get
    {
        var builder = new StringBuilder();

        foreach (var keyValuePair in GetAmortization())
        {
            var debtInfo = keyValuePair.Key;
            var debtAmortization = keyValuePair.Value;
            builder.AppendLine($"\n{debtInfo}");
            builder.AppendLine($"\nNumber Payments: {debtAmortization.Count}\n");
            builder.AppendLine(debtAmortization.ToString());
        }

        return builder.ToString();
    }
}
Name: E

Balance      | % Rate | Minimum | Max Payment
------------ | ------ | ------- | -----------
   $2,000.00 | 15.55% | $200.00 |     $450.00

Number Payments: 6

Payment   1:    $200.00 |   $25.92 |    $174.08 |    $1,825.92
Payment   2:    $450.00 |   $23.67 |    $426.33 |    $1,399.59
Payment   3:    $450.00 |   $18.14 |    $431.86 |      $967.73
Payment   4:    $450.00 |   $12.55 |    $437.45 |      $530.28
Payment   5:    $450.00 |    $6.88 |    $443.12 |       $87.16
Payment   6:     $87.16 |    $0.00 |     $87.16 |        $0.00

Sample Payment Summary

Payment summary shows all payments combined for all debts. Each payment is the sum of all debt for that payment. This is a calculation available by executing or overriding:

public virtual string Payments
{
    get
    {
        var list = GetAmortization();
        var builder = new StringBuilder();

        var maxPayments = list.Values.ToList().Max(x => x.Count);

        for (var i = 0; i < maxPayments; i++)
        {
            var paymentNum = i + 1;
            builder.AppendLine(
                $"Payment {paymentNum,3}: {list.Values.Sum(x => x.Count > i ? x[i].Payment : 0),11:C}");
        }

        builder.AppendLine($"{"Total",11}: {list.Values.Sum(x => x.Sum(y => y.Payment)),11:C}");

        return builder.ToString();
    }
}
Payment   1:   $1,098.26
Payment   2:   $1,338.26
Payment   3:   $1,338.26
Payment   4:   $1,338.26
Payment   5:   $1,338.26
...
Payment  47:   $1,327.00
Payment  48:   $1,327.00
Payment  49:   $1,327.00
Payment  50:     $750.34
      Total:  $62,927.47

Release Notes

  • None

License

  • Copyright(c) 2021 Christopher Winland
  • [Apache-2.0 License]https://github.com/cwinland/DebtPaymentPlan/blob/master/LICENSE
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.21.1.2416 456 1/24/2021
1.21.1.1922 351 1/19/2021