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 Type
    Method
    Description
    readByOrderId(String orderId, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Retrieve the Order with the given ID.
  • Method Details

    • readByOrderId

      O readByOrderId(String orderId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Retrieve the Order with the given ID.
      Parameters:
      orderId - the ID of the order to retrieve
      contextInfo - context information around sandbox and multitenant state.
      Returns:
      the order with the given ID