Interface CustomerService
- All Known Implementing Classes:
DefaultCustomerService
public interface CustomerService
Provides methods for retrieving customers
-
Method Summary
Modifier and TypeMethodDescriptiongetCustomerByCustomerId(String customerId) Gets the customer by customerIdbooleanVerifies if given id is in UUID format
-
Method Details
-
isUUID
Verifies if given id is in UUID format- Parameters:
id- the id- Returns:
trueif UUID format
-
getCustomerByCustomerId
Gets the customer by customerId- Parameters:
customerId- the customerID in UUID format of the customer- Returns:
- the found customer
-