Esempio n. 1
0
 protected BankLoanBase(decimal principal, int term, decimal interestRatePercentage, CurrencyType currency)
 {
     Id        = Guid.NewGuid();
     Currency  = currency;
     Principal = principal;
     Term      = term;
     InterestRatePercentage = interestRatePercentage;
     _repaymentStrategy     = CreateRepaymentStrategy();
 }
Esempio n. 2
0
 public LoanBundle(IRepaymentStrategy strat)
 {
     RepaymentStrategy = strat;
 }