Interface PricingOrderProvider
- All Known Implementing Classes:
ExternalPricingOrderProvider
public interface PricingOrderProvider
Proxy to communicate with OrderService
-
Method Summary
Modifier and TypeMethodDescriptionreadByOrderId(String orderId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads the order associated with a fulfillment status change event, identified by the given order ID.readByOrderLink(String orderLink, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads order by specified link
-
Method Details
-
readByOrderLink
Order readByOrderLink(String orderLink, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads order by specified link- Parameters:
orderLink- link to read order fromcontextInfo- the context info- Returns:
- order
-
readByOrderId
Order readByOrderId(String orderId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads the order associated with a fulfillment status change event, identified by the given order ID.- Parameters:
orderId- the ID of the order to be retrieved; must not be nullcontextInfo- optional context information for the operation- Returns:
- the order associated with the given order ID
-