Uses of Record Class
com.dani.bff.dto.ProductRecommendation
Packages that use ProductRecommendation
-
Uses of ProductRecommendation in com.dani.bff.dto
Methods in com.dani.bff.dto that return ProductRecommendationModifier and TypeMethodDescriptionDownstreamProductResponse.toRecommendation()Converts the downstream contract into the stable BFF response contract.Methods in com.dani.bff.dto that return types with arguments of type ProductRecommendationModifier and TypeMethodDescriptionDashboardResponse.recommendedProducts()Returns the value of therecommendedProductsrecord component.Constructor parameters in com.dani.bff.dto with type arguments of type ProductRecommendationModifierConstructorDescriptionDashboardResponse(UserProfile user, List<ProductRecommendation> recommendedProducts) Creates an instance of aDashboardResponserecord class. -
Uses of ProductRecommendation in com.dani.bff.gateway
Methods in com.dani.bff.gateway that return types with arguments of type ProductRecommendationModifier and TypeMethodDescriptionreactor.core.publisher.Mono<List<ProductRecommendation>> ProductServiceClient.fetchRecommendedProducts(String userId) Fetches product recommendations for a user from the product service.reactor.core.publisher.Mono<List<ProductRecommendation>> ResilientDashboardGateway.getRecommendedProducts(String userId) Reads recommendations with an empty-list fallback.