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 TypeMethodDescriptioncom.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionResponse
findFulfillmentOptions
(com.broadleafcommerce.fulfillment.common.domain.FulfillmentOptionRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Returns aFulfillmentOptionResponse
, which containsPricedFulfillmentOptions
for a given request andContextInfo
.com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig
readFulfillmentPricingConfig
(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads theFulfillmentPricingConfig
for a givenContextInfo
.
-
Method Details
-
readFulfillmentPricingConfig
com.broadleafcommerce.fulfillment.common.domain.FulfillmentPricingConfig readFulfillmentPricingConfig(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Reads theFulfillmentPricingConfig
for a givenContextInfo
.- Parameters:
contextInfo
- The application and user context of the request.- Returns:
- The
FulfillmentPricingConfig
for the givenContextInfo
.
-
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 aFulfillmentOptionResponse
, which containsPricedFulfillmentOptions
for a given request andContextInfo
.- Parameters:
request
- Cart data needed by FulfillmentServices to produce fulfillment options.contextInfo
- The application and user context of the request.- Returns:
- Response containing PricedFulfillmentOptions
-