Interface CustomerDirectory
- All Known Implementing Classes:
CustomerApplicationService
public interface CustomerDirectory
Module API for resolving customers required by other modules.
-
Method Summary
Modifier and TypeMethodDescriptiongetRequiredCustomer(UUID customerId) Retrieves a customer by identifier.
-
Method Details
-
getRequiredCustomer
Retrieves a customer by identifier.- Parameters:
customerId- customer identifier- Returns:
- immutable customer snapshot
- Throws:
ResourceNotFoundException- when the customer does not exist
-