Interface SAPCDPCustomerService
- All Known Implementing Classes:
DefaultSAPCDPCustomerService
public interface SAPCDPCustomerService
Fetches customer segments associated with the user. If cached segments are available, they are returned; otherwise,
segments are fetched from the Customer Data Platform (CDP), updated in the cache, and returned.
-
Method Summary
Modifier and TypeMethodDescriptionFetches customer segments associated with the user.
-
Method Details
-
fetchSegmentsFromCDP
Fetches customer segments associated with the user. If cached segments are available, they are returned; otherwise, segments are fetched from the Customer Data Platform (CDP), updated in the cache, and returned.- Parameters:
user- The UserModel representing the user for whom segments need to be fetched.- Returns:
- A list of strings representing the customer segments associated with the user in CDP.
-