public void GetPayments() { Loan loan = new Loan { Amount = 10000, DueDate = DateTime.Now }; decimal newPayment = loan.GetNextPaymentAmount(); }