Interface PricingProvider
- All Known Implementing Classes:
- ExternalPricingProvider
public interface PricingProvider
Provider component to fetch dynamic pricing for products.
- Author:
- Kelly Tisdell (ktisdell)
- 
Method SummaryModifier and TypeMethodDescriptionList<com.broadleafcommerce.pricing.client.domain.PriceInfo>readPricesForProducts(List<CollectedProduct> products, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method to call a PricingService to fetchPrice Infosfor the provided list of Products.
- 
Method Details- 
readPricesForProductsList<com.broadleafcommerce.pricing.client.domain.PriceInfo> readPricesForProducts(@NonNull List<CollectedProduct> products, @NonNull com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, @Nullable com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Method to call a PricingService to fetchPrice Infosfor the provided list of Products.- Parameters:
- products-
- priceInfoContext-
- priceContext-
- contextInfo-
- Returns:
 
 
-