Interface CustomerOrderInfoHydrationService
- All Known Implementing Classes:
DefaultCustomerOrderInfoHydrationService
public interface CustomerOrderInfoHydrationService
Service to hydrate the additional data for the Orders to the
CustomerOrderInfo.- Author:
- Dima Myroniuk (dmyroniuk)
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.data.domain.Page<CustomerOrderInfo>hydrateCustomerOrderInfo(org.springframework.data.domain.Page<CustomerOrderInfo> customerOrderInfos, @NonNull ReadCustomerOrdersRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Uses theCustomerOrderInfoContributorto hydrate the additional data for the Orders to theCustomerOrderInfo.
-
Method Details
-
hydrateCustomerOrderInfo
org.springframework.data.domain.Page<CustomerOrderInfo> hydrateCustomerOrderInfo(org.springframework.data.domain.Page<CustomerOrderInfo> customerOrderInfos, @NonNull @NonNull ReadCustomerOrdersRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Uses theCustomerOrderInfoContributorto hydrate the additional data for the Orders to theCustomerOrderInfo.- Parameters:
customerOrderInfos- the page of theCustomerOrderInforequest- the request to read the Orders and the related datacontextInfo- context information around sandbox and multitenant state- Returns:
- the page of the
CustomerOrderInfowith the additional requested data if any
-