public interface CatalogProvider
Catalog
related entities. Typically
utilizes WebClient
to make requests to an external REST API.Modifier and Type | Method and Description |
---|---|
List<CartItemMappingProperties.FieldMapping> |
retrieveCartItemProductMappings(com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve a list of cart item to product mappings
|
Product |
retrieveProduct(String productId,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve the product for the context information provided.
|
ProductList |
retrieveProducts(Collection<String> productIds,
com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
Retrieve the products for the context information provided.
|
Product retrieveProduct(String productId, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
productId
- The id of the product to be retrieved.contextInfo
- Context information around sandbox and multitenant state.ProductList retrieveProducts(Collection<String> productIds, @Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
productIds
- The ids of the products to be retrieved.contextInfo
- Context information around sandbox and multitenant state.List<CartItemMappingProperties.FieldMapping> retrieveCartItemProductMappings(@Nullable com.broadleafcommerce.data.tracking.core.context.ContextInfo contextInfo)
contextInfo
- Context information around sandbox and multitenant state.Copyright © 2021. All rights reserved.