import java.util.List; public interface ShopAgentInterface { /** * Get the price for the current period. * * @return price * @throws Exception */ public double getPrice() throws Exception; /** * Parses the number of sales for the current period. * * @param sales * number of sales * @throws Exception */ public void parseSales(int sales) throws Exception; /** * Parses the prices of the competitors. * * @param prices * prices of competitors * @throws Exception */ public void parsePrices(List prices) throws Exception; }