Interface CustomerDirectory

All Known Implementing Classes:
CustomerApplicationService

public interface CustomerDirectory
Module API for resolving customers required by other modules.
  • Method Details

    • getRequiredCustomer

      CustomerSnapshot getRequiredCustomer(UUID customerId)
      Retrieves a customer by identifier.
      Parameters:
      customerId - customer identifier
      Returns:
      immutable customer snapshot
      Throws:
      ResourceNotFoundException - when the customer does not exist