Interface FulfillmentProvider

All Known Implementing Classes:
ExternalFulfillmentProvider

public interface FulfillmentProvider
Aggregate interface to allow for internal or external calls to interact with fulfillment pricing services and other fulfillment services.
Author:
Kelly Tisdell (ktisdell)
  • Method Summary

    Modifier and Type
    Method
    Description
    com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse
    findFulfillmentOptions(com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Returns a FulfillmentOptionResponse, which contains PricedFulfillmentOptions for a given request and ContextInfo.
    com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig
    readFulfillmentPricingConfig(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
    Reads the FulfillmentPricingConfig for a given ContextInfo.
  • Method Details

    • readFulfillmentPricingConfig

      com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig readFulfillmentPricingConfig(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Reads the FulfillmentPricingConfig for a given ContextInfo.
      Parameters:
      contextInfo - The application and user context of the request.
      Returns:
      The FulfillmentPricingConfig for the given ContextInfo.
    • findFulfillmentOptions

      com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse findFulfillmentOptions(@NonNull com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionRequest request, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Returns a FulfillmentOptionResponse, which contains PricedFulfillmentOptions for a given request and ContextInfo.
      Parameters:
      request - Cart data needed by FulfillmentServices to produce fulfillment options.
      contextInfo - The application and user context of the request.
      Returns:
      Response containing PricedFulfillmentOptions