// ============================================================================ // // Copyright (C) 2006-2016 Talend Inc. - www.talend.com // // This source code is available under agreement available at // %InstallDIR%\features\org.talend.rcp.branding.%PRODUCTNAME%\%PRODUCTNAME%license.txt // // You should have received a copy of the agreement // along with this program; if not, write to Talend SA // 9 rue Pages 92150 Suresnes, France // // ============================================================================ package org.talend.bank; public class LoanSimulator { private int age; private double annualRevenue; private double loanAmount; private double loanDeposit; private double loanInterest; private double monthlyPayment; private int numberOfYears; private String reason; private boolean rejected = false; public LoanSimulator() { } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public double getAnnualRevenue() { return annualRevenue; } public void setAnnualRevenue(double annualRevenue) { this.annualRevenue = annualRevenue; } public double getLoanDeposit() { return loanDeposit; } public void setLoanDeposit(double loanDeposit) { this.loanDeposit = loanDeposit; } public double getLoanAmount() { return loanAmount; } public void setLoanAmount(double loanAmount) { this.loanAmount = loanAmount; } public double getLoanInterest() { return loanInterest; } public void setLoanInterest(double loanInterest) { this.loanInterest = loanInterest; } public int getNumberOfYears() { return numberOfYears; } public void setNumberOfYears(int numberOfYears) { this.numberOfYears = numberOfYears; } public double getMonthlyPayment() { return monthlyPayment; } public void setMonthlyPayment(double monthlyPayment) { this.monthlyPayment = monthlyPayment; } public Boolean getRejected() { return rejected; } public void setRejected(boolean rejected) { this.rejected = rejected; } public String getReason() { return reason; } public void setReason(String reason) { this.reason = reason; } }