Class DefaultFulfillmentPricingService

    • Constructor Detail

    • Method Detail

      • 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

        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: