Interface OrderProvider<O extends com.broadleafcommerce.order.client.domain.Order>
- All Known Implementing Classes:
ExternalOrderProvider
public interface OrderProvider<O extends com.broadleafcommerce.order.client.domain.Order>
-
Method Summary
Modifier and TypeMethodDescriptionreadByOrderId(String orderId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve theOrderwith the given ID.
-
Method Details
-
readByOrderId
O readByOrderId(String orderId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieve theOrderwith the given ID.- Parameters:
orderId- the ID of the order to retrievecontextInfo- context information around sandbox and multitenant state.- Returns:
- the order with the given ID
-