public Customer createCustomer(Integer id, String name, String location) { Customer customer = new Customer(); customer.setId(id); customer.setName(name); customer.setLocation(location); return customer; }
public Customer getCustomerDetails(Integer id) { Customer customer = new Customer(); customer.setId(id); customer.setName("sriram of " + id); customer.setLocation("Ayodya of " + id); return customer; }