コード例 #1
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);
 }
コード例 #2
0
 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>();
 }