Interface PriceInfoService
-
- All Known Implementing Classes:
DefaultPriceInfoService
public interface PriceInfoServiceThis service provides access to pricing info forPriceContexts. This includes retrieving allPriceListRefsapplicable to the price context as well as actualPriceInfosfiltered by price list or context.- Author:
- Nathan Moore (nathanmoore).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description org.springframework.data.domain.Page<com.broadleafcommerce.pricing.client.domain.PriceInfo>retrievePriceInfosByPriceContext(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext)First retrieves thePriceListRefsfor thePriceContextthen retrieves thePriceInfoassociated thereto.org.springframework.data.domain.Page<com.broadleafcommerce.pricing.client.domain.PriceInfo>retrievePriceInfosByPriceLists(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext)RetrievesPriceDatafor the providedPriceInfoContext.getPriceLists()andPriceInfoContext.getPriceableTargets(), then translates them into a list ofPriceInfo.
-
-
-
Method Detail
-
retrievePriceInfosByPriceLists
org.springframework.data.domain.Page<com.broadleafcommerce.pricing.client.domain.PriceInfo> retrievePriceInfosByPriceLists(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext)RetrievesPriceDatafor the providedPriceInfoContext.getPriceLists()andPriceInfoContext.getPriceableTargets(), then translates them into a list ofPriceInfo.
-
retrievePriceInfosByPriceContext
org.springframework.data.domain.Page<com.broadleafcommerce.pricing.client.domain.PriceInfo> retrievePriceInfosByPriceContext(com.broadleafcommerce.data.tracking.core.context.ContextInfo context, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext)First retrieves the
PriceListRefsfor thePriceContextthen retrieves thePriceInfoassociated thereto.Calls
retrievePriceInfosByPriceLists(ContextInfo, PriceInfoContext)
-
-