Interface CustomerService

  • All Known Implementing Classes:
    DefaultCustomerService

    public interface CustomerService
    Provides methods for retrieving customers
    • Method Detail

      • isUUID

        boolean isUUID​(java.lang.String id)
        Verifies if given id is in UUID format
        Parameters:
        id - the id
        Returns:
        true if UUID format
      • getCustomerByCustomerId

        CustomerModel getCustomerByCustomerId​(java.lang.String customerId)
        Gets the customer by customerId
        Parameters:
        customerId - the customerID in UUID format of the customer
        Returns:
        the found customer