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