Class ExternalCatalogProperties
java.lang.Object
com.broadleafcommerce.cartoperation.service.provider.external.ExternalCatalogProperties
@ConfigurationProperties("broadleaf.cartoperation.catalogprovider")
public class ExternalCatalogProperties
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe URI path for cart item product mappings.The URI path for products.The service client to use for calling catalog.getUrl()The base url for an external catalog service.What behavior to use for hydrating variants onto requested products.voidsetFieldMappingUri(String fieldMappingUri) The URI path for cart item product mappings.voidsetProductsUri(String productsUri) The URI path for products.voidsetServiceClient(String serviceClient) The service client to use for calling catalog.voidThe base url for an external catalog service.voidsetVariantHydrationBehavior(String variantHydrationBehavior) What behavior to use for hydrating variants onto requested products.
-
Constructor Details
-
ExternalCatalogProperties
public ExternalCatalogProperties()
-
-
Method Details
-
getUrl
The base url for an external catalog service. -
getProductsUri
The URI path for products. -
getFieldMappingUri
The URI path for cart item product mappings. -
getServiceClient
The service client to use for calling catalog. Default is "cartopsclient" -
getVariantHydrationBehavior
What behavior to use for hydrating variants onto requested products. This isDefaultProductVariantHydrationBehavior.NONEby default since only specific variants are ever added to the cart, causing any others to be extraneous information. This will improve performance if a Product has many variants.- Since:
- Cart Operations 2.3.0-GA, Release Train 2.3.0-GA
-
setUrl
The base url for an external catalog service. -
setProductsUri
The URI path for products. -
setFieldMappingUri
The URI path for cart item product mappings. -
setServiceClient
The service client to use for calling catalog. Default is "cartopsclient" -
setVariantHydrationBehavior
What behavior to use for hydrating variants onto requested products. This isDefaultProductVariantHydrationBehavior.NONEby default since only specific variants are ever added to the cart, causing any others to be extraneous information. This will improve performance if a Product has many variants.- Since:
- Cart Operations 2.3.0-GA, Release Train 2.3.0-GA
-