Coverage Report - org.mule.example.loanbroker.messages.CustomerQuoteRequest
 
Classes in this File Line Coverage Branch Coverage Complexity
CustomerQuoteRequest
0%
0/16
N/A
1
 
 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 java.io.Serializable;
 10  
 
 11  
 /**
 12  
  * <code>CustomerQuoteRequest</code> is the request sent by the the LoanBroker
 13  
  */
 14  
 public class CustomerQuoteRequest implements Serializable
 15  
 {
 16  
     /**
 17  
      * Serial version
 18  
      */
 19  
     private static final long serialVersionUID = 6365612435470800746L;
 20  
 
 21  
     /** The customer that requested the quote */
 22  
     private Customer customer;
 23  
 
 24  
     /** The requested loan Amount */
 25  
     private double loanAmount;
 26  
 
 27  
     /** the duration of the loan */
 28  
     private int loanDuration;
 29  
 
 30  
     public CustomerQuoteRequest()
 31  
     {
 32  0
         super();
 33  0
     }
 34  
 
 35  
     public CustomerQuoteRequest(Customer customer, double loanAmount, int loanDuration)
 36  0
     {
 37  0
         this.customer = customer;
 38  0
         this.loanAmount = loanAmount;
 39  0
         this.loanDuration = loanDuration;
 40  0
     }
 41  
 
 42  
     public Customer getCustomer()
 43  
     {
 44  0
         return customer;
 45  
     }
 46  
 
 47  
     public void setCustomer(Customer customer)
 48  
     {
 49  0
         this.customer = customer;
 50  0
     }
 51  
 
 52  
     public double getLoanAmount()
 53  
     {
 54  0
         return loanAmount;
 55  
     }
 56  
 
 57  
     public void setLoanAmount(double loanAmount)
 58  
     {
 59  0
         this.loanAmount = loanAmount;
 60  0
     }
 61  
 
 62  
     public int getLoanDuration()
 63  
     {
 64  0
         return loanDuration;
 65  
     }
 66  
 
 67  
     public void setLoanDuration(int loanDuration)
 68  
     {
 69  0
         this.loanDuration = loanDuration;
 70  0
     }
 71  
 }