Interface ICityHallNotice

  • All Known Implementing Classes:
    CityHallNotice

    public interface ICityHallNotice
    Notice on the board in the city hall for delivering wares to other cities fo a fixed price.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2014 Created on Dec 31, 2014
    • Method Detail

      • getContact

        IContractBroker getContact()
        Whom to contact in the destination city for delivery.
        Returns:
        contract broker to contact
      • getRequiredWare

        IWare getRequiredWare()
        What ware is required.
        Returns:
        ware that is required
      • getDestination

        ICity getDestination()
        Destination to deliver the ware to.
        Returns:
        city where the ware is required
      • getWareAndAmount

        AmountablePrice<IWare> getWareAndAmount()
        Required amount and their guaranteed price.
        Returns:
        amount and price for the ware.
      • getDueDate

        java.time.LocalDateTime getDueDate()
        Time untill when the ware has to be delivered.
        Returns:
        deadline until when the ware needs to be supplied.