Interface ILoanRequest

  • All Known Implementing Classes:
    LoanRequest

    public interface ILoanRequest
    Request for a loan.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 30, 2014
    • Method Detail

      • issued

        java.time.LocalDateTime issued()
        Retrieve the date when the request was issued. This date is always in the past.
        Returns:
        date when the request has been issued.
      • getCitizen

        ICitizen getCitizen()
        Who wants the loan.
        Returns:
        citizen who issued the request
      • getDurationInWeeks

        int getDurationInWeeks()
        Retrieve the duration of the loan.
        Returns:
        duration of the loan request in weeks
      • getSum

        int getSum()
        Amount to be loaned.
        Returns:
        amount to be loaned.