public int addNewCoupons(User session, int storeId, String couponId, int type, List <int> pisId, List <string> catOrProductsNames , int percentage, string dueDate, string restrictions) { Store s = StoreManagement.getInstance().getStore(storeId); StoreRole sR = StoreRole.getStoreRole(s, session); if (sR == null) { return(-1); } return(sR.addNewCoupons(session, storeId, couponId, type, pisId, catOrProductsNames, percentage , dueDate, restrictions)); }