* <p>
* @param customer Customer instance
* @param itemList Ordered items list
+ * <p>
* @return Access key
*/
public String registerItems (final Customer customer, final List<AddableBasketItem> itemList);
* Adds given category data from request to database
* <p>
* @param category Category instance
+ * <p>
* @return Updated category instance
+ * <p>
* @throws
* org.mxchange.jshopcore.exceptions.CategoryTitleAlreadyUsedException If
* the given title is already used
* Fills given customer instance with all available data
* <p>
* @param customer Initial Customer instance
+ * <p>
* @return Prepared Customer instance
*/
public Customer fillCustomerData (final Customer customer);
* Checks if the the given customer instance is already registered
* <p>
* @param customer Customer instance
+ * <p>
* @return Whether the customer is already registered
*/
public boolean isReqistered (final Customer customer);
* persisting.
* <p>
* @param customer Initial customer instance
+ * <p>
* @return Prepared Customer instance
+ * <p>
* @throws
* org.mxchange.jshopcore.exceptions.CustomerAlreadyRegisteredException If
* the customer is already registered.
* Adds given product data from request to database
* <p>
* @param product Product instance
+ * <p>
* @return Updated product instance
+ * <p>
* @throws
* org.mxchange.jshopcore.exceptions.ProductTitleAlreadyUsedException If the
* given product title is already used
* found.
* <p>
* @param accessKey Access key on the online PDF
+ * <p>
* @return Wrapped byte stream
*/
public WrapableReceipt createReceiptFromAccessKey (final String accessKey);
* Fetches access key, if customer instance matches, else null is returned
* <p>
* @param customer Customer instance
+ * <p>
* @return Access key or null
*/
public String fetchAccessKey (final Customer customer);