1
2
3
4
5
6
7 package org.mule.example.loanbroker.messages;
8
9 import java.io.Serializable;
10
11
12
13
14 public class CustomerQuoteRequest implements Serializable
15 {
16
17
18
19 private static final long serialVersionUID = 6365612435470800746L;
20
21
22 private Customer customer;
23
24
25 private double loanAmount;
26
27
28 private int loanDuration;
29
30 public CustomerQuoteRequest()
31 {
32 super();
33 }
34
35 public CustomerQuoteRequest(Customer customer, double loanAmount, int loanDuration)
36 {
37 this.customer = customer;
38 this.loanAmount = loanAmount;
39 this.loanDuration = loanDuration;
40 }
41
42 public Customer getCustomer()
43 {
44 return customer;
45 }
46
47 public void setCustomer(Customer customer)
48 {
49 this.customer = customer;
50 }
51
52 public double getLoanAmount()
53 {
54 return loanAmount;
55 }
56
57 public void setLoanAmount(double loanAmount)
58 {
59 this.loanAmount = loanAmount;
60 }
61
62 public int getLoanDuration()
63 {
64 return loanDuration;
65 }
66
67 public void setLoanDuration(int loanDuration)
68 {
69 this.loanDuration = loanDuration;
70 }
71 }