package com.bigcommerce.api.resources;

import java.util.List;

import com.bigcommerce.api.Filter;
import com.bigcommerce.api.Form;
import com.bigcommerce.api.Response;

public interface Resource {
	public List<? extends Response> listAll();
	public List<? extends Response> listAll(Filter filter);
	public Response getOne(Integer Id);
	public Boolean update(Integer Id, Form data);
}

@@ -191,16 +191,118 @@
 ource %7B%0A
+%09public void setId(Integer id);%0A%09public Boolean create(Form data);%0A%09public Boolean update(Form data);%0A
 %09public 
@@ -418,22 +418,9 @@
  get
-One(Integer Id
+(
 );%0A%09
@@ -438,36 +438,15 @@
 ean 
-update(Integer Id, Form data
+delete(
 );%0A%7D

Update Resource.java