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