Interface ITradePerson

    • Method Detail

      • getWare

        IWare getWare()
        The ware the broker is to be delivered.
        Returns:
        ware the trader whiches to aquire.
      • getAmount

        int getAmount()
        Amount of the ware that is to be delivered. The amount is in the ware specific quantity.
        Returns:
        amount of the ware
      • getAvgPricePerItem

        int getAvgPricePerItem()
        Get the price of a single item
        Returns:
        average price per item.
      • setWare

        void setWare​(IWare ware)
        Set the ware for the trade.
        Parameters:
        ware - of the trade
      • setAmount

        void setAmount​(int amount)
        Set the amount of the trade
        Parameters:
        amount - of the ware to be traded
      • setAvgPricePerItem

        void setAvgPricePerItem​(int avgPricePerItem)
        Set the price per item
        Parameters:
        avgPricePerItem - average price per item of the ware.