Interface ITradeAgreement

  • All Known Implementing Classes:
    TradeAgreement

    public interface ITradeAgreement
    Interface describing a trade agreement.
    Author:
    Andi Hotz, (c) Sahits GmbH, 2016 Created on Dec 04, 2016
    • Method Detail

      • getTradeLocation

        IMediterreanCity getTradeLocation()
        Retrieve the partner city of the trade.
        Returns:
        city in the mediterrean sea.
      • getValidTill

        java.time.LocalDateTime getValidTill()
        Retrieve the date till when the agreement is valid.
        Returns:
        date until the agreement is valid.
      • getWareAndAmount

        AmountablePrice<IWare> getWareAndAmount()
        Retreive the amount and the price which is guaranteed.
        Returns:
        amount and price of the agreement
      • getWare

        IWare getWare()
        Retrieve the ware for this trade agreement.
        Returns:
        ware of the agreement.