Interface ReturnableFulfillmentInfoService

All Known Implementing Classes:
DefaultReturnableFulfillmentService

public interface ReturnableFulfillmentInfoService
Service responsible for determining the ReturnableFulfillmentInfo for a given context.
Since:
Order Services 2.2.0, Release Train 2.3.0
Author:
Nathan Moore (nathandmoore)
  • Method Details

    • getInfoForOrderFulfillment

      ReturnableFulfillmentInfo getInfoForOrderFulfillment(String orderId, String fulfillmentId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Produces a ReturnableFulfillmentInfo for the OrderFulfillment identified by fulfillmentId.
      Parameters:
      orderId - ID of the originating Order
      fulfillmentId - ID of the OrderFulfillment for which to determine returnable information
      contextInfo - Additional tracking context and other info
      Returns:
      A ReturnableFulfillmentInfo for the OrderFulfillment identified by fulfillmentId.
    • getInfoForOrder

      ReturnableFulfillmentInfo getInfoForOrder(String orderId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Produces a ReturnableFulfillmentInfo for the Order identified by orderId.
      Parameters:
      orderId - ID of the originating Order
      contextInfo - Additional tracking context and other info
      Returns:
      A ReturnableFulfillmentInfo for the OrderFulfillment identified by fulfillmentId.