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