Interface PricingOrderProvider

All Known Implementing Classes:
ExternalPricingOrderProvider

public interface PricingOrderProvider
Proxy to communicate with OrderService
  • Method Summary

    Modifier and Type
    Method
    Description
    readByOrderId(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 from
      contextInfo - 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 null
      contextInfo - optional context information for the operation
      Returns:
      the order associated with the given order ID