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 theCustomerOrderInfoContributor
to 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 theCustomerOrderInfoContributor
to hydrate the additional data for the Orders to theCustomerOrderInfo
.- Parameters:
customerOrderInfos
- the page of theCustomerOrderInfo
request
- the request to read the Orders and the related datacontextInfo
- context information around sandbox and multitenant state- Returns:
- the page of the
CustomerOrderInfo
with the additional requested data if any
-