Uses of Class
com.broadleafcommerce.catalogbrowse.domain.Product
Packages that use Product
Package
Description
-
Uses of Product in com.broadleafcommerce.catalogbrowse.domain
Methods in com.broadleafcommerce.catalogbrowse.domain that return ProductModifier and TypeMethodDescriptionItemChoice.getDefaultProduct()The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS.ItemChoice.getDefaultProductInCategory()The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.CATEGORY.ItemChoice.getParent()A back reference to the parentProductsometimes used in the business logic.ProductOption.getParent()A back reference to the parentProductsometimes used in the business logic.IncludedProduct.getProduct()This field contains the specified product if thetypeisDefaultIncludedProductType.PRODUCT.SpecificItemChoice.getProduct()If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.PRODUCTthis holds the product for this choicePromotionalCategoryProduct.getPromotionalProduct()The product to promote.PromotionalProduct.getRelatedProduct()The product being promoted.Methods in com.broadleafcommerce.catalogbrowse.domain that return types with arguments of type ProductModifier and TypeMethodDescriptionBrowseEntityDetails.getProducts()AllProductsand their details if products match theBrowseDetailsRequest.Category.getProducts()A page ofProductsbelonging to the category.ItemChoiceCategory.getProducts()ASimplePageofProductsfor the category to choose from.ProductList.getProducts()AllProductsand their details.Category.getSearchResponse()IfCategoryDetailsRequest.isHydrateCategoryProductsFromSearch()orBrowseDetailsRequest.isHydrateCategoryProductsFromSearch()is true, then this will be populated instead ofCategory.products.Methods in com.broadleafcommerce.catalogbrowse.domain with parameters of type ProductModifier and TypeMethodDescriptionvoidItemChoice.setDefaultProduct(Product defaultProduct) The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.SPECIFIC_PRODUCTS.voidItemChoice.setDefaultProductInCategory(Product defaultProductInCategory) The default product that can be used when driving customer selections if theItemChoice.targetTypeisDefaultItemChoiceTargetType.CATEGORY.voidA back reference to the parentProductsometimes used in the business logic.voidA back reference to the parentProductsometimes used in the business logic.voidIncludedProduct.setProduct(Product product) This field contains the specified product if thetypeisDefaultIncludedProductType.PRODUCT.voidSpecificItemChoice.setProduct(Product product) If theSpecificItemChoice.typeisDefaultSpecificItemChoiceType.PRODUCTthis holds the product for this choicevoidPromotionalCategoryProduct.setPromotionalProduct(Product promotionalProduct) The product to promote.voidPromotionalProduct.setRelatedProduct(Product relatedProduct) The product being promoted.Method parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type ProductModifier and TypeMethodDescriptionvoidBrowseEntityDetails.setProducts(List<Product> products) AllProductsand their details if products match theBrowseDetailsRequest.voidCategory.setProducts(SimplePage<Product> products) A page ofProductsbelonging to the category.voidItemChoiceCategory.setProducts(SimplePage<Product> products) ASimplePageofProductsfor the category to choose from.voidProductList.setProducts(List<Product> products) AllProductsand their details.voidCategory.setSearchResponse(SearchResponse<Product> searchResponse) IfCategoryDetailsRequest.isHydrateCategoryProductsFromSearch()orBrowseDetailsRequest.isHydrateCategoryProductsFromSearch()is true, then this will be populated instead ofCategory.products.Constructor parameters in com.broadleafcommerce.catalogbrowse.domain with type arguments of type Product -
Uses of Product in com.broadleafcommerce.catalogbrowse.domain.marketing
Methods in com.broadleafcommerce.catalogbrowse.domain.marketing that return ProductModifier and TypeMethodDescriptionPriceableTargetsRequest.getProduct()A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.Methods in com.broadleafcommerce.catalogbrowse.domain.marketing with parameters of type ProductModifier and TypeMethodDescriptionvoidPriceableTargetsRequest.setProduct(Product product) A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices. -
Uses of Product in com.broadleafcommerce.catalogbrowse.service
Methods in com.broadleafcommerce.catalogbrowse.service with type parameters of type ProductModifier and TypeMethodDescriptionDefaultMarketingMessageUtils.fetchPriceInfosWithAllAvailableTermAndFrequencies(@NonNull List<T> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Fetches thePriceInfos for all available term and frequency combinations for the given products.DefaultMarketingMessageUtils.populateProductsWithAllTermsAndFrequencies(@NonNull List<T> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates a new list ofProducts for each available term and frequency combination for each product in the input list.Methods in com.broadleafcommerce.catalogbrowse.service that return types with arguments of type ProductModifier and TypeMethodDescriptionprotected CatalogSearchProvider<Product>DefaultBrowseEntityResolver.getBrowseCatalogSearchProvider()Methods in com.broadleafcommerce.catalogbrowse.service with parameters of type ProductModifier and TypeMethodDescriptionprotected voidDefaultMarketingMessageUtils.addTargetsForProduct(@NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull Product product) Adds thePriceableTargets for the givenProductto the given map.protected LineItemDTODefaultMarketingMessageUtils.buildLineItemFromVariant(@NonNull Product product, @NonNull Variant variant) Method parameters in com.broadleafcommerce.catalogbrowse.service with type arguments of type ProductModifier and TypeMethodDescriptionvoidDefaultBrowseEntityResolver.setBrowseCatalogSearchProvider(CatalogSearchProvider<Product> browseCatalogSearchProvider) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider
Classes in com.broadleafcommerce.catalogbrowse.service.provider with type parameters of type ProductModifier and TypeInterfaceDescriptioninterfaceCatalogSearchProvider<T extends Product>Provider for interfacing with operations around catalog search.Methods in com.broadleafcommerce.catalogbrowse.service.provider with type parameters of type ProductModifier and TypeMethodDescription<P extends Product>
Collection<P>InventoryProvider.determineProductsInventoryAvailability(Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) <T extends Product>
voidCatalogProvider.hydrateProductAssets(Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Retrieves theAssetsfor the providedproductsand populates them ontosetAssets(java.util.List<com.broadleafcommerce.catalogbrowse.domain.Asset>).<T extends Product>
voidCatalogProvider.hydrateProductTags(Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) PricingProvider.priceProducts(Collection<P> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductsand their related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider that return ProductModifier and TypeMethodDescriptionPricingProvider.priceProduct(Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider with parameters of type ProductModifier and TypeMethodDescriptionPricingProvider.priceProduct(Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice. -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.catalog
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.catalog with type parameters of type ProductModifier and TypeMethodDescription<T extends Product>
voidExternalCatalogProvider.hydrateProductAssets(@NonNull Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ExternalCatalogProvider.hydrateProductsAvailability(@NonNull List<T> toHydrate, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hydrates inventory availability onto the retrieved products.ExternalCatalogProvider.hydrateProductsPricing(@NonNull List<T> toHydrate, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Hydrates pricing onto the retrieved products.<T extends Product>
voidExternalCatalogProvider.hydrateProductTags(@NonNull Collection<T> products, org.springframework.util.MultiValueMap<String, String> parameters, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory with type parameters of type ProductModifier and TypeMethodDescriptionprotected <P extends Product>
Collection<P>ExternalInventoryProvider.attachSummariesToProducts(@NonNull Collection<P> products, @NonNull Collection<SkuInventoryAvailabilitySummary> summaries, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attaches inventory availability summaries to the products.protected <P extends Product>
Collection<SkuInventoryAvailabilityRequest>ExternalInventoryProvider.buildSkuInventoryAvailabilityRequests(@NonNull Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Builds a listSkuInventoryAvailabilityRequestto verify the availability of the SKU for the provided quantity.<P extends Product>
Collection<P>ExternalInventoryProvider.determineProductsInventoryAvailability(@NonNull Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <P extends Product>
List<SkuInventoryAvailabilitySummary>ExternalInventoryProvider.getInventorySummaries(@NonNull Collection<P> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected <P extends Product>
booleanExternalInventoryProvider.productRequiresInventoryCheck(P product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.inventory with parameters of type ProductModifier and TypeMethodDescriptionprotected <V extends Variant>
booleanExternalInventoryProvider.variantRequiresInventoryCheck(V variant, @NonNull Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with type parameters of type ProductModifier and TypeMethodDescriptionExternalPricingProvider.attachPricingToProducts(@NonNull Collection<P> products, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos) Deprecated.ExternalPricingProvider.attachPricingToProducts(@NonNull Collection<P> products, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) Handles attaching thePriceInfosreturned by the pricing service onto theProductsand their related entities.ExternalPricingProvider.priceProducts(@NonNull Collection<P> products, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductsand their related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing that return ProductModifier and TypeMethodDescriptionprotected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos) Deprecated.UseExternalPricingProvider.attachPricingToProduct(Product, Map, SimplePage, PriceContext)Passing thePriceContextsupports proper filtering ofPriceInforesults that are in the proper currency.protected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) Handles attaching thePriceInfosreturned by the pricing service onto theProductand its related entities.ExternalPricingProvider.priceProduct(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing with parameters of type ProductModifier and TypeMethodDescriptionprotected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos) Deprecated.UseExternalPricingProvider.attachPricingToProduct(Product, Map, SimplePage, PriceContext)Passing thePriceContextsupports proper filtering ofPriceInforesults that are in the proper currency.protected ProductExternalPricingProvider.attachPricingToProduct(@NonNull Product product, @NonNull Map<Object, Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>> targetsMap, @NonNull SimplePage<com.broadleafcommerce.pricing.client.domain.PriceInfo> priceInfos, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext) Handles attaching thePriceInfosreturned by the pricing service onto theProductand its related entities.ExternalPricingProvider.priceProduct(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Populates pricing info for the providedProductand its related priceable entities:Variant,IncludedProduct,SpecificItemChoice. -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with parameters of type ProductModifier and TypeMethodDescriptionprotected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.buildSpecificItemChoiceTargetsForUnderlyingItem(@NonNull SpecificItemChoice choice, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly, Product parentsProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductOptionsProductPriceableTargetsBuilder.buildTargetForSpecificItemChoiceByPricingKey(@NonNull SpecificItemChoice choice, Product parentsProduct, ProductTerm term) Builds thePriceableTargetbased on aSpecific Choice's pricing key.ProductPriceableTargetsBuilder.buildTargetsForProduct(Product product) ProductPriceableTargetsBuilder.buildTargetsForProduct(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) protected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.buildTargetsForSpecificItemChoice(@NonNull SpecificItemChoice choice, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly, Product parentsProduct, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Creates thePriceableTargetsfor aSpecificItemChoice.protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForLowestPricedSku(@NonNull SkuPricingPredicate lowestPricedSkuPredicate, @NonNull Product product) Creates aPriceableTargetfor theSkuPricingPredicatethat represents the lowest priced sku.protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForLowestPricedSku(@NonNull SkuPricingPredicate lowestPricedSkuPredicate, @NonNull Product product, ProductTerm term) Creates aPriceableTargetfor theSkuPricingPredicatethat represents the lowest priced sku.protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForPricingKey(@NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForPricingKey(@NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, ProductTerm term) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForProductPricingKey(@NonNull Variant variant, @NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) Creates thePriceableTargetfor aVariantusing its owning product'spricingKeyasPriceableTarget.getTargetId().protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForProductPricingKey(@NonNull Variant variant, @NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, ProductTerm term) Creates thePriceableTargetfor aVariantusing its owning product'spricingKeyasPriceableTarget.getTargetId().protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForSku(@NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetProductPriceableTargetUtils.createTargetForSku(@NonNull Product product, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, ProductTerm term) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForSku(@NonNull Variant variant, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, Product product) protected com.broadleafcommerce.pricing.client.domain.PriceableTargetVariantPriceableTargetUtils.createTargetForSku(@NonNull Variant variant, @NonNull Map<String, javax.money.MonetaryAmount> priceableFields, Product product, ProductTerm term) Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductPriceableTargetUtils.createTargets(@NonNull Product product) CreatesPriceableTargetsfor aProduct.Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>VariantPriceableTargetUtils.createTargets(@NonNull Variant variant, Product product) CreatesPriceableTargetsfor aVariant.protected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.createTargetsForAddOnProductWithOverridesFromParent(@NonNull Product product, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly, Product parentsProduct) CreatesPriceableTargetsfor the add-on product supplied, but overriding the terms with the add-ons' parent's.protected Set<com.broadleafcommerce.pricing.client.domain.PriceableTarget>ProductOptionsProductPriceableTargetsBuilder.createTargetsForVariantsIfNeeded(@NonNull Product product, ExistingSubscriptionTerms existingTerms, boolean useDefaultTermOnly) CreatesPriceableTargetsfor the variants of the ProductOption's underlyingProductif it's aDefaultProductType.VARIANT_BASEDproduct and using theDefaultVariantPricingStrategies.VARIANTpricing strategy.ProductPriceableTargetUtils.getDefaultTerm(@NonNull Product product) Finds the defaultProductTermon the givenProductif any.protected Optional<ProductTerm>VariantPriceableTargetUtils.getDefaultTerm(Product product) ProductPriceableTargetUtils.getPriceableFields(@NonNull Product product) Builds the map of priceable fields for aProductthat will be added asPriceableTarget.getPriceableFields().ProductDefaultConfigurationUtils.getVariantPricingStrategy(Product product) Reads default variant pricing strategy for product based either on product'sgetVariantPricingStrategy()or system propertyCatalogBrowseProductDefaultConfigurationProperties.getVariantPricingStrategy()voidProductPriceableTargetUtils.setCharacteristics(@NonNull Product product, @NonNull com.broadleafcommerce.pricing.client.domain.PriceableTarget target) Sets the configurable or targetable-for-pricing characteristics from theProducton thePriceableTarget.protected voidVariantPriceableTargetUtils.setCharacteristics(Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget target) Sets the configurable or targetable-for-pricing characteristics from theProducton thePriceableTarget.protected voidProductPriceableTargetUtils.setCharacteristicsAndTerms(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget targetById) Deprecated, for removal: This API element is subject to removal in a future version.Unused.protected voidVariantPriceableTargetUtils.setCharacteristicsAndTerms(Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget targetById) Deprecated, for removal: This API element is subject to removal in a future version.Unused.protected voidProductPriceableTargetUtils.setDefaultFrequency(Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget priceableTarget) protected voidVariantPriceableTargetUtils.setDefaultFrequency(Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget priceableTarget) protected voidProductPriceableTargetUtils.setTerms(@NonNull Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget target) protected voidVariantPriceableTargetUtils.setTerms(Product product, com.broadleafcommerce.pricing.client.domain.PriceableTarget targetById) protected booleanProductPriceableTargetUtils.shouldBuildPriceableTargetForProductSku(@NonNull Product product) Determines whether thePriceableTargetshould be built forgetSku().Method parameters in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product with type arguments of type ProductModifier and TypeMethodDescriptionBaseProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) IncludedProductsProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Deprecated.ProductOptionsProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) ProductPriceableTargetsBuilder.buildTargetsForProducts(Collection<? extends Product> products) BuildsPriceableTargetsfor multipleProductsor one of the relationships such astheir 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.ProductPriceableTargetsBuilder.buildTargetsForProducts(Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) BuildsPriceableTargetsfor multipleProductsor one of the relationships such astheir 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.PromotionalProductsProductPricingTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) VariantsProductPriceableTargetsBuilder.buildTargetsForProducts(@NonNull Collection<? extends Product> products, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product.domain
Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product.domain that return ProductModifier and TypeMethodDescriptionProductPriceableTargetRequest.getProduct()A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.VariantPriceableTargetRequest.getProduct()TheVariant'sparent product.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.pricing.product.domain with parameters of type ProductModifier and TypeMethodDescriptionvoidProductPriceableTargetRequest.setProduct(Product product) A specific product for which to buildPriceableTargets, including itsVariants,ItemChoices, andSpecificItemChoices.voidVariantPriceableTargetRequest.setProduct(Product product) TheVariant'sparent product. -
Uses of Product in com.broadleafcommerce.catalogbrowse.service.provider.external.search
Classes in com.broadleafcommerce.catalogbrowse.service.provider.external.search with type parameters of type ProductMethods in com.broadleafcommerce.catalogbrowse.service.provider.external.search with type parameters of type ProductModifier and TypeMethodDescription<T extends Product>
voidCatalogSearchUtils.parseRequiredOptionInfosIntoProductOptions(@NonNull Collection<T> results) Parses theSearchProductRequiredOptionInfofrom the search results and adds it to the product asItemChoiceProductOptions.Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.search that return ProductModifier and TypeMethodDescriptionprotected ProductCatalogSearchUtils.buildLiteItemChoiceProduct(@NonNull SearchProductRequiredOptionInfo info) Methods in com.broadleafcommerce.catalogbrowse.service.provider.external.search with parameters of type ProductModifier and TypeMethodDescriptionprotected voidExternalCatalogSearchProvider.addPriceDetail(Product product, DefaultPriceableFieldType fieldType, javax.money.MonetaryAmount price, boolean replaceExisting) protected voidExternalCatalogSearchProvider.addPriceDetailFromProductData(Product product, DefaultPriceableFieldType fieldType, javax.money.MonetaryAmount price) protected voidExternalCatalogSearchProvider.addPriceDetailsFromProductData(Product product, ProductPricingPredicate predicate) Add price details from product's data.protected voidExternalCatalogSearchProvider.overrideProductPriceDetailsWithSkuData(Product product, ProductPricingPredicate predicate) By default, this method overrides the product prices for display in search with the values from the lowest priced sku.protected ProductPricingPredicateExternalCatalogSearchProvider.parseProductPricingPredicate(Product product, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo) Attempts to fetch theProductPricingPredicatefrom the search response, if it exists.protected voidExternalCatalogSearchProvider.updatePricingKeyFromPredicate(ProductPricingPredicate predicate, Product product) Adds the pricing key from the predicate to the product if the product does not already have a pricing key value. -
Uses of Product in com.broadleafcommerce.catalogbrowse.web.endpoint
Methods in com.broadleafcommerce.catalogbrowse.web.endpoint that return types with arguments of type ProductModifier and TypeMethodDescriptionprotected CatalogSearchProvider<Product>CatalogBrowseEndpoint.getBrowseCatalogSearchProvider()CatalogBrowseEndpoint.getCatalogSearchResults(jakarta.servlet.http.HttpServletRequest request, com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo, com.broadleafcommerce.pricing.client.domain.context.PriceContext priceContext, com.broadleafcommerce.pricing.client.domain.context.PriceInfoContext priceInfoContext, org.springframework.util.MultiValueMap<String, String> parameters) TODO: The/search/catalogmapping should be removed in the future as we will want to deprecate it in favor of/browse/search/catalog.Constructor parameters in com.broadleafcommerce.catalogbrowse.web.endpoint with type arguments of type ProductModifierConstructorDescriptionCatalogBrowseEndpoint(CatalogProvider browseCatalogProvider, BrowseEntityResolver browseEntityResolver, CatalogSearchProvider<Product> browseCatalogSearchProvider, OfferProvider browseOfferProvider, MarketingMessageUtils marketingMessageUtils, com.broadleafcommerce.common.extension.TypeFactory typeFactory)
ExternalPricingProvider.attachPricingToProducts(Collection, Map, SimplePage, PriceContext)Passing thePriceContextsupports proper filtering ofPriceInforesults that are in the proper currency.