1 10 11 package org.mule.samples.loanbroker.esb.message; 12 13 import java.io.Serializable ; 14 15 21 public class CustomerQuoteRequest implements Serializable 22 { 23 26 private static final long serialVersionUID = 6365612435470800746L; 27 28 29 private Customer customer; 30 31 32 private double loanAmount; 33 34 35 private int loanDuration; 36 37 public CustomerQuoteRequest(Customer customer, double loanAmount, int loanDuration) 38 { 39 this.customer = customer; 40 this.loanAmount = loanAmount; 41 this.loanDuration = loanDuration; 42 } 43 44 public Customer getCustomer() 45 { 46 return customer; 47 } 48 49 public void setCustomer(Customer customer) 50 { 51 this.customer = customer; 52 } 53 54 public double getLoanAmount() 55 { 56 return loanAmount; 57 } 58 59 public void setLoanAmount(double loanAmount) 60 { 61 this.loanAmount = loanAmount; 62 } 63 64 public int getLoanDuration() 65 { 66 return loanDuration; 67 } 68 69 public void setLoanDuration(int loanDuration) 70 { 71 this.loanDuration = loanDuration; 72 } 73 } 74 | Popular Tags |