Interface ProductPriceableTargetsBuilder
- All Known Implementing Classes:
- BaseProductPriceableTargetsBuilder,- VariantsProductPriceableTargetsBuilder
public interface ProductPriceableTargetsBuilder
This interface defines components that can build 
PriceableTarget instances from lists of
 products. This class was repurposed from a component of the same name in CatalogBrowseService,- Author:
- Kelly Tisdell (ktisdell)
- 
Method SummaryModifier and TypeMethodDescriptionbuildTargetsForProducts(Collection<? extends CollectedProduct> products) BuildsPriceableTargetsfor multipleProductsor one of the relationships such as their Variants.This returns a map where the key is the entity to which the PriceableTarget corresponds, which helps when mappingPriceInfosback onto the entity represented by thePriceableTarget.
- 
Method Details- 
buildTargetsForProductsMap<Object,Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> buildTargetsForProducts(Collection<? extends CollectedProduct> products) BuildsPriceableTargetsfor multipleProductsor one of the relationships such as their Variants.This returns a map where the key is the entity to which the PriceableTarget corresponds, which helps when mappingPriceInfosback onto the entity represented by thePriceableTarget.Note that in some cases, multiple targets can be created for the same entity if there are multiple ways of identifying some of them. 
 
-