Class DefaultFulfillmentPricingService

java.lang.Object
com.broadleafcommerce.shipping.service.DefaultFulfillmentPricingService
All Implemented Interfaces:
FulfillmentPricingService

public class DefaultFulfillmentPricingService extends Object implements FulfillmentPricingService
  • Constructor Details

  • Method Details

    • getFulfillmentOptionPricedResponses

      public List<com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse> getFulfillmentOptionPricedResponses(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: FulfillmentPricingService
      Get all shipping options for a given FulfillmentPricingRequest
      Specified by:
      getFulfillmentOptionPricedResponses in interface FulfillmentPricingService
      contextInfo - context information around sandbox and multitenant state
      Returns:
    • getFulfillmentOptionPricedResponse

      public com.broadleafcommerce.shipping.domain.FulfillmentOptionPricedResponse getFulfillmentOptionPricedResponse(com.broadleafcommerce.shipping.domain.FulfillmentPricingRequest fpRequest, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Description copied from interface: FulfillmentPricingService
      Get a single FulfillmentOptionPricedResponse that corresponds to the fulfillment option set on the given pricing request.
      Specified by:
      getFulfillmentOptionPricedResponse in interface FulfillmentPricingService
      contextInfo - context information around sandbox and multitenant state
      Returns:
    • getFulfillmentPricingProvider

      @Deprecated(since="1.1.0", forRemoval=true) protected Optional<FulfillmentPricingProvider> getFulfillmentPricingProvider(String fulfillmentOptionName)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Get the FulfillmentPricingProvider responsible for the given fulfillment option name
      Parameters:
      fulfillmentOptionName -
      Returns:
    • getFulfillmentPricingProvider

      protected Optional<FulfillmentPricingProvider> getFulfillmentPricingProvider(String fulfillmentOptionName, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
      Get the FulfillmentPricingProvider responsible for the given fulfillment option name
      Parameters:
      fulfillmentOptionName -
      Returns:
    • getFulfillmentPricingProviders

      protected List<FulfillmentPricingProvider> getFulfillmentPricingProviders()