1
2
3
4
5
6
7 package org.mule.example.loanbroker.message;
8
9 import org.mule.example.loanbroker.model.Customer;
10
11 import java.io.Serializable;
12
13
14
15
16 public class CustomerQuoteRequest implements Serializable
17 {
18
19
20
21 private static final long serialVersionUID = 6365612435470800746L;
22
23
24 private Customer customer;
25
26
27 private double loanAmount;
28
29
30 private int loanDuration;
31
32 public CustomerQuoteRequest()
33 {
34 super();
35 }
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 }