Interface PriceInfoService
-
- All Known Implementing Classes:
DefaultPriceInfoService
public interface PriceInfoService
This service provides access to pricing info forPriceContexts
. This includes retrieving allPriceListRefs
applicable to the price context as well as actualPriceInfos
filtered 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 thePriceListRefs
for thePriceContext
then retrieves thePriceInfo
associated 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)
RetrievesPriceData
for 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)
RetrievesPriceData
for 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
PriceListRefs
for thePriceContext
then retrieves thePriceInfo
associated thereto.Calls
retrievePriceInfosByPriceLists(ContextInfo, PriceInfoContext)
-
-