protected AbstractRecommendationBasedEventImpl(final T recommendation) { this.participation = recommendation.descriptor().item(); this.loan = (Loan) recommendation.descriptor().related(); this.recommendation = recommendation.amount(); }
public InvestmentDelegatedEventImpl(final RecommendedLoan recommendation, final String confirmationProviderId) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); this.confirmationProviderId = confirmationProviderId; }
public LoanWrapper(final LoanDescriptor original) { super(original); this.loan = original.item(); }
public Optional<RecommendedInvestment> recommend() { return recommend(getRemainingPrincipal()); }
private static LoanDescriptor mockLoanDescriptor() { final Loan loan = RecommendedLoanTest.mockLoan(); return new LoanDescriptor(loan); }
@Override public BigDecimal getRecommendation() { return recommendation.amount(); }
public ParticipationWrapper(final ParticipationDescriptor descriptor) { super(descriptor); this.participation = descriptor.item(); }
public InvestmentWrapper(final InvestmentDescriptor original) { super(original); this.investment = original.item(); }
public InvestmentRejectedEventImpl(final RecommendedLoan recommendation, final String confirmationProviderId) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); this.confirmationProviderId = confirmationProviderId; }
protected AbstractRecommendationBasedEventImpl(final T recommendation) { this.participation = recommendation.descriptor().item(); this.loan = (Loan) recommendation.descriptor().related(); this.recommendation = recommendation.amount(); }
public LoanWrapper(final LoanDescriptor original) { super(original); this.loan = original.item(); }
@Override public BigDecimal getRecommendation() { return recommendation.amount(); }
public InvestmentDelegatedEventImpl(final RecommendedLoan recommendation, final String confirmationProviderId) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); this.confirmationProviderId = confirmationProviderId; }
public LoanRecommendedEventImpl(final RecommendedLoan recommendation) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); }
public InvestmentSkippedEventImpl(final RecommendedLoan recommendation) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); }
public InvestmentRejectedEventImpl(final RecommendedLoan recommendation, final String confirmationProviderId) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); this.confirmationProviderId = confirmationProviderId; }
public LoanRecommendedEventImpl(final RecommendedLoan recommendation) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); }
public InvestmentRequestedEventImpl(final RecommendedLoan recommendation) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); }
public InvestmentSkippedEventImpl(final RecommendedLoan recommendation) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); }
public InvestmentRequestedEventImpl(final RecommendedLoan recommendation) { this.loan = recommendation.descriptor().item(); this.recommendation = recommendation.amount(); }