/**
* Fills given customer instance with all available data
*
- * @param customer Customer instance
+ * @param customer Initial Customer instance
+ * @return Prepared Customer instance
*/
- public void fillCustomerData (final Customer customer);
+ public Customer fillCustomerData (final Customer customer);
/**
* Checks if the the given customer instance is already registered
* Registers the customer and creates a customer number after succesful
* persisting.
*
- * @param customer Customer instance
+ * @param customer Initial customer instance
+ * @return Prepared Customer instance
* @throws org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException If the customer is already registered.
*/
- public void registerCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
+ public Customer registerCustomer (final Customer customer) throws CustomerAlreadyRegisteredException;
}