Class CityCreditor

  • All Implemented Interfaces:
    ICreditor

    public class CityCreditor
    extends java.lang.Object
    implements ICreditor
    For debts at the loaner that arice from fines, the city is the creditor of that debt.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2017 Created on Nov 01, 2017
    • Constructor Summary

      Constructors 
      Constructor Description
      CityCreditor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void receiveSum​(long amount)
      Handle method for recieving a payment
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CityCreditor

        public CityCreditor()
    • Method Detail

      • receiveSum

        public void receiveSum​(long amount)
        Description copied from interface: ICreditor
        Handle method for recieving a payment
        Specified by:
        receiveSum in interface ICreditor
        Parameters:
        amount - paid money amount.