public interface PricingProvider
WebClient to
 make requests to an external REST API.| Modifier and Type | Method and Description | 
|---|---|
<C extends com.broadleafcommerce.cart.client.domain.CartItem> | 
retrievePrices(Collection<C> cartItems,
              Locale locale,
              javax.money.CurrencyUnit currency,
              com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve and attach prices for the provided cart items. 
 | 
<C extends com.broadleafcommerce.cart.client.domain.CartItem> List<C> retrievePrices(Collection<C> cartItems, Locale locale, javax.money.CurrencyUnit currency, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
cartItems - The cart items that we are pricing.locale - The locale to use to match prices.currency - The currency to use to match prices.contextInfo - Context information around sandbox and multitenant state.Copyright © 2021. All rights reserved.