/**
* Registers the customer and creates a customer number after succesful
* persisting.
- *
+ *
* @param customer Initial customer instance
* @return Prepared Customer instance
* @throws org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException If the customer is already registered.
*/
public String fetchAccessKey (final Customer customer);
- /**
- * Setter for access key
- *
- * @param accessKey Access key
- */
- public void setAccessKey (final String accessKey);
-
/**
* Getter for access key
*
public String getAccessKey ();
/**
- * Setter for customer instance
+ * Setter for access key
*
- * @param customer Customer instance
+ * @param accessKey Access key
*/
- public void setCustomer (final Customer customer);
+ public void setAccessKey (final String accessKey);
/**
* Getter for customer instance
* @return Customer instance
*/
public Customer getCustomer ();
+
+ /**
+ * Setter for customer instance
+ *
+ * @param customer Customer instance
+ */
+ public void setCustomer (final Customer customer);
}