Interface OrderLinksService
- All Known Implementing Classes:
DefaultOrderLinksService
public interface OrderLinksService
The service is used to build the
OrderLink
that is included in message payloads and used
by message listeners to fetch the additional data if needed.- Author:
- Dima Myroniuk (dmyroniuk)
-
Method Summary
Modifier and TypeMethodDescriptionbuildReadOrderFulfillmentsLink
(com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds the link to read the Order fulfillments by order id.buildReadOrderLink
(com.broadleafcommerce.order.client.domain.Order order, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds the link to read the Order by id.
-
Method Details
-
buildReadOrderLink
OrderLink buildReadOrderLink(com.broadleafcommerce.order.client.domain.Order order, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds the link to read the Order by id.- Parameters:
order
- the order to build the link forcontextInfo
- context information surrounding sandboxing/multitenant state- Returns:
-
buildReadOrderFulfillmentsLink
OrderLink buildReadOrderFulfillmentsLink(com.broadleafcommerce.order.client.domain.Order order, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds the link to read the Order fulfillments by order id.- Parameters:
order
- the order to build the link forcontextInfo
- context information surrounding sandboxing/multitenant state- Returns:
-