Package com.broadleafcommerce.shipping
Interface FulfillmentPricingProvider
-
- All Known Implementing Classes:
BandedFulfillmentPricingProvider,FixedFulfillmentPricingProvider,VirtualFulfillmentPricingProvider
@Deprecated public interface FulfillmentPricingProvider
Deprecated.Since 1.7.0. Moved to shipping service.Defines a service that provides fulfillment pricing, e.g., shipping.- Author:
- Chad Harchar (charchar)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description FulfillmentOptionPricedResponsecalculateCostForFulfillmentGroup(FulfillmentPricingRequest fulfillmentPricingRequest)Deprecated.Calculate shipping for a request that includes a specified fulfillment option.booleancanCalculateCostForOption(String option)Deprecated.Whether this provider has knowledge of the provided option and thus can provide cost information for it.default booleancanProvidePricedFulfillmentOptions(FulfillmentPricingRequest fulfillmentPricingRequest)Deprecated.Whether this provider can provide fulfillment options based on the "fulfillmentPricingRequest"FulfillmentOptionPricedResponseestimateCostForFulfillmentGroup(FulfillmentPricingRequest fulfillmentPricingRequest)Deprecated.Estimate shipping for a request that includes a specified fulfillment option.default List<FulfillmentOptionPricedResponse>getFulfillmentOptionPricingResponses(FulfillmentPricingRequest fulfillmentPricingRequest)Deprecated.List<FulfillmentOptionPricedResponse>providePricedFulfillmentOptions(FulfillmentPricingRequest fulfillmentPricingRequest)Deprecated.Retrieve all possible priced fulfillment options for the provided request.
-
-
-
Method Detail
-
getFulfillmentOptionPricingResponses
@Deprecated default List<FulfillmentOptionPricedResponse> getFulfillmentOptionPricingResponses(FulfillmentPricingRequest fulfillmentPricingRequest)
Deprecated.Retrieve all possible priced fulfillment options for the provided request. Intended to be used to display options to the customer for selection.- Parameters:
fulfillmentPricingRequest- The request for which to calculate shipping and return options.- Returns:
- All possible priced fulfillment options for the provided request.
-
providePricedFulfillmentOptions
List<FulfillmentOptionPricedResponse> providePricedFulfillmentOptions(FulfillmentPricingRequest fulfillmentPricingRequest)
Deprecated.Retrieve all possible priced fulfillment options for the provided request. Intended to be used to display options to the customer for selection.- Parameters:
fulfillmentPricingRequest- The request for which to calculate shipping and return options.- Returns:
- All possible priced fulfillment options for the provided request.
-
canProvidePricedFulfillmentOptions
default boolean canProvidePricedFulfillmentOptions(FulfillmentPricingRequest fulfillmentPricingRequest)
Deprecated.Whether this provider can provide fulfillment options based on the "fulfillmentPricingRequest"- Parameters:
fulfillmentPricingRequest- The request used to identify relevant fulfillment options- Returns:
- Whether this provider can provide fulfillment options based on the "fulfillmentPricingRequest"
-
calculateCostForFulfillmentGroup
FulfillmentOptionPricedResponse calculateCostForFulfillmentGroup(FulfillmentPricingRequest fulfillmentPricingRequest)
Deprecated.Calculate shipping for a request that includes a specified fulfillment option.- Parameters:
fulfillmentPricingRequest- The request for which to calculate shipping.- Returns:
- Response object with calculated shipping cost for the provided request.
-
canCalculateCostForOption
boolean canCalculateCostForOption(String option)
Deprecated.Whether this provider has knowledge of the provided option and thus can provide cost information for it.- Parameters:
option- The option to consider whether this provider can calculate cost information.- Returns:
- Whether this provider has knowledge of the provided option and thus can provide cost information for it.
-
estimateCostForFulfillmentGroup
FulfillmentOptionPricedResponse estimateCostForFulfillmentGroup(FulfillmentPricingRequest fulfillmentPricingRequest)
Deprecated.Estimate shipping for a request that includes a specified fulfillment option.- Parameters:
fulfillmentPricingRequest- The request for which to estimate shipping.- Returns:
- Response object with estimated shipping cost for the provided request.
-
-