public DecliningKeepExpectedInstallments(Loan pContract, CreditContractOptions pCco)
 {
     _paidInstallments = new List<Installment>();
     _contract = pContract;
     _methodToRepayInterest = new RepayInterestStrategy(pCco);
     _methodToRepayFees = new RepayFeesStrategy(pCco);
     _methodToRepayCommission = new RepayCommisionStrategy(pCco);
 }
 public FlateKeepExpectedInstallments(Loan contract, CreditContractOptions pCCO)
 {
     _contract = contract;
     _paidInstallments = new List<Installment>();
     _methodToRepayInterest = new RepayInterestStrategy(pCCO);
     _methodToRepayFees = new RepayFeesStrategy(pCCO);
     _methodToRepayCommission = new RepayCommisionStrategy(pCCO);
 }
예제 #3
0
 public CalculateInstallments(CreditContractOptions pCco, Loan pContract, User pUser, ApplicationSettings pGeneralSettings,NonWorkingDateSingleton pNonWorkingDate)
 {
     _generalSettings = pGeneralSettings;
     _nWds = pNonWorkingDate;
     _contract = pContract;
     _cCo = pCco;
     _methodToRepayFees = new RepayFeesStrategy(pCco);
     _methodToRepayInterest = new RepayInterestStrategy(pCco);
     _methodToRepayCommission = new RepayCommisionStrategy(pCco);
     PaidIstallments = new List<Installment>();
 }