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