} // ApproveCustomer private void PendingInvestor(NL_Decisions newDecision) { Log.Info("Investor not found for customer {0} cr {1}, mark as pending investor", this.decisionToApply.Customer.ID, this.decisionToApply.CashRequest.ID); this.decisionToApply.Customer.CreditResult = CreditResultStatus.PendingInvestor.ToString(); this.decisionToApply.CashRequest.UnderwriterDecision = CreditResultStatus.PendingInvestor.ToString(); SaveDecision <ManuallySuspend>(); var notifyRiskPendingInvestorCustomer = new NotifyRiskPendingInvestorOffer( this.decisionToApply.Customer.ID, this.currentState.OfferedCreditLine, this.currentState.OfferValidUntil ); notifyRiskPendingInvestorCustomer.Execute(); //TODO newDecision PendingInvestor status }
public void TestNotifyRiskPendingInvestorOffer() { var stra = new NotifyRiskPendingInvestorOffer(154, 1000, DateTime.UtcNow.AddDays(1)); stra.Execute(); }