public FlateKeepExpectedInstallments(Loan contract, CreditContractOptions pCCO)
 {
     _contract                = contract;
     _paidInstallments        = new List <Installment>();
     _methodToRepayInterest   = new RepayInterestStrategy(pCCO);
     _methodToRepayFees       = new RepayFeesStrategy(pCCO);
     _methodToRepayCommission = new RepayCommisionStrategy(pCCO);
 }
Beispiel #2
0
 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 CalculateRealInterestInstallments(CreditContractOptions pCco,
                                          CalculateMaximumAmountToRepayStrategy calculateMaximumAmount, Loan pContract,
                                          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>();
     _calculateMaximumAmount  = calculateMaximumAmount;
 }