View Javadoc
1   /*
2    * Copyright (c) MuleSoft, Inc.  All rights reserved.  http://www.mulesoft.com
3    * The software in this package is published under the terms of the CPAL v1.0
4    * license, a copy of which has been included with this distribution in the
5    * LICENSE.txt file.
6    */
7   package org.mule.example.loanbroker.messages;
8   
9   import org.mule.example.loanbroker.bank.Bank;
10  
11  import java.io.Serializable;
12  
13  /**
14   * <code>LoanQuoteRequest</code> represents a customer request for a loan through a
15   * loan broker
16   */
17  public class LoanBrokerQuoteRequest implements Serializable
18  {
19      /**
20       * Serial version
21       */
22      private static final long serialVersionUID = 46866005259682607L;
23  
24      /** The customer request */
25      private CustomerQuoteRequest customerRequest;
26  
27      /** credit profile for the customer */
28      private CreditProfile creditProfile;
29  
30      /** A list of lenders for this request */
31      private Bank[] lenders;
32  
33      /** A loan quote from a bank */
34      private LoanQuote loanQuote;
35  
36      public LoanBrokerQuoteRequest()
37      {
38          super();
39      }
40  
41      public Bank[] getLenders()
42      {
43          return lenders;
44      }
45  
46      public void setLenders(Bank[] lenders)
47      {
48          this.lenders = lenders;
49      }
50  
51      public CustomerQuoteRequest getCustomerRequest()
52      {
53          return customerRequest;
54      }
55  
56      public void setCustomerRequest(CustomerQuoteRequest customerRequest)
57      {
58          this.customerRequest = customerRequest;
59      }
60  
61      public CreditProfile getCreditProfile()
62      {
63          return creditProfile;
64      }
65  
66      public void setCreditProfile(CreditProfile creditProfile)
67      {
68          this.creditProfile = creditProfile;
69      }
70  
71      public LoanQuote getLoanQuote()
72      {
73          return loanQuote;
74      }
75  
76      public void setLoanQuote(LoanQuote loanQuote)
77      {
78          this.loanQuote = loanQuote;
79      }
80  }