Interface IWarehouseTenant

    • Method Detail

      • getName

        java.lang.String getName()
        Retrieve the name of the trader.
        Returns:
        of the warehouse tenant
      • getAmount

        int getAmount()
        Retrieve the amount to be stored in bales.
        Returns:
        amount required to store in bales.
      • getRentPerWeek

        int getRentPerWeek()
        Retrieve the sum that will be payed per week.
        Returns:
        weekly rent
      • setName

        void setName​(java.lang.String name)
        Set the tenents name
        Parameters:
        name - of the warehouse tenant
      • setAmount

        void setAmount​(int amount)
        Set the required amount of space to be rented
        Parameters:
        amount - of space in bales.