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.message;
8   
9   import org.mule.example.loanbroker.bank.Bank;
10  import org.mule.example.loanbroker.model.CreditProfile;
11  import org.mule.example.loanbroker.model.LoanQuote;
12  
13  import java.io.Serializable;
14  
15  /**
16   * <code>LoanQuoteRequest</code> represents a customer request for a loan through a
17   * loan broker
18   */
19  public class LoanBrokerQuoteRequest implements Serializable
20  {
21      /**
22       * Serial version
23       */
24      private static final long serialVersionUID = 46866005259682607L;
25  
26      /** The customer request */
27      private CustomerQuoteRequest customerRequest;
28  
29      /** credit profile for the customer */
30      private CreditProfile creditProfile;
31  
32      /** A list of lenders for this request */
33      private Bank[] lenders;
34  
35      /** A loan quote from a bank */
36      private LoanQuote loanQuote;
37  
38      public LoanBrokerQuoteRequest()
39      {
40          super();
41      }
42  
43      public Bank[] getLenders()
44      {
45          return lenders;
46      }
47  
48      public void setLenders(Bank[] lenders)
49      {
50          this.lenders = lenders;
51      }
52  
53      public CustomerQuoteRequest getCustomerRequest()
54      {
55          return customerRequest;
56      }
57  
58      public void setCustomerRequest(CustomerQuoteRequest customerRequest)
59      {
60          this.customerRequest = customerRequest;
61      }
62  
63      public CreditProfile getCreditProfile()
64      {
65          return creditProfile;
66      }
67  
68      public void setCreditProfile(CreditProfile creditProfile)
69      {
70          this.creditProfile = creditProfile;
71      }
72  
73      public LoanQuote getLoanQuote()
74      {
75          return loanQuote;
76      }
77  
78      public void setLoanQuote(LoanQuote loanQuote)
79      {
80          this.loanQuote = loanQuote;
81      }
82  }