public FlateKeepExpectedInstallments(Loan contract, CreditContractOptions pCCO)
 {
     _contract = contract;
     _paidInstallments = new List<Installment>();
     _methodToRepayInterest = new RepayInterestStrategy(pCCO);
     _methodToRepayFees = new RepayFeesStrategy(pCCO);
     _methodToRepayCommission = new RepayCommisionStrategy(pCCO);
 }
 public DecliningKeepExpectedInstallments(Loan pContract, CreditContractOptions pCco)
 {
     _paidInstallments = new List<Installment>();
     _contract = pContract;
     _methodToRepayInterest = new RepayInterestStrategy(pCco);
     _methodToRepayFees = new RepayFeesStrategy(pCco);
     _methodToRepayCommission = new RepayCommisionStrategy(pCco);
 }
Ejemplo n.º 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>();
 }