Uses of Class
com.broadleafcommerce.pricing.domain.PriceListPriceDetail
Package
Description
-
Uses of PriceListPriceDetail in com.broadleafcommerce.pricing.service
Modifier and TypeMethodDescriptionprotected Optional<PriceListPriceDetail>
DefaultPriceInfoService.getPriceDetailFromListForTarget
(com.broadleafcommerce.pricing.client.domain.PriceableTarget target, PriceList priceList, PriceableTargetPriceState priceState, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Checks forPriceData
for thePriceableTarget
If none, checks forPriceModifier
s If none, works up thePriceList
hierarchy look for #1 or #2. If still none, checks for custom logic to get the price from somewhere else (DefaultPriceInfoService.getPriceFromElsewhere(PriceableTarget, PriceList, ContextInfo)
) If still none, returns thePriceableFieldProperties.getBasePrice()
(also seePriceableFieldType.BASE_PRICE
Modifier and TypeMethodDescriptionprotected void
DefaultPriceInfoService.addPriceDetail
(com.broadleafcommerce.pricing.client.domain.PriceInfo priceInfo, PriceList priceList, PriceListPriceDetail listPriceDetail, Map<String, List<PriceDataTier>> priceTiers) Modifier and TypeMethodDescriptionprotected Optional<com.broadleafcommerce.pricing.client.domain.PriceDetail>
DefaultPriceInfoService.getBestPriceFromPriceLists
(Map<PriceList, PriceListPriceDetail> priceListPriceDetailMap) Picks the best (lowest) price for the price list type out of all the matches found. -
Uses of PriceListPriceDetail in com.broadleafcommerce.pricing.service.state
Modifier and TypeMethodDescriptionPriceableTargetPriceState.getCompositePriceListPriceDetailMap()
Composite of all price list price mapsPriceableTargetPriceState.getContractPriceDetailByPriceListPrice()
protected Map<PriceList,
PriceListPriceDetail> PriceableTargetPriceState.getOtherPriceListPriceDetailMapping
(String type) Extension point for additional price list typesPriceableTargetPriceState.getPriceListPriceDetailMappingForType
(String type) Gets the price list price mapping for the price list typePriceableTargetPriceState.getSalePriceDetailByPriceListPrice()
PriceableTargetPriceState.getStdPriceDetailByPriceListPrice()
Modifier and TypeMethodDescriptionvoid
PriceableTargetPriceState.putPriceListPriceDetailMapping
(PriceList priceList, PriceListPriceDetail priceListPriceDetail) Put a price list price mapping.Modifier and TypeMethodDescriptionprotected void
PriceableTargetPriceState.putOtherPriceListPriceDetailMaps
(Map<PriceList, PriceListPriceDetail> composite) Extension point for additional price list types