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