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