Broadleaf Microservices
  • v1.0.0-latest-prod

Cart Provider

Table of Contents

Overview

Provider for interfacing with Carts when operations require persistence or retrieval. The default implementation facilitates HTTP requests against the Cart Services endpoints.

Configuration

ExternalPricingCartProperties defines the properties used to configure ExternalPricingCartProvider, which is the default provider. These include:

  • broadleaf.pricing.cartprovider.url: The base url for an external cart service, which handles persistence of lists as well as carts.

  • broadleaf.pricing.cartprovider.tenantCartsUri: The context path for singular cart retrieval. This is appended to the url property.

  • broadleaf.pricing.cartprovider.updateCartsStatusUri: The context path for update cart status endpoint. This is appended to the url property.

  • broadleaf.pricing.cartprovider.serviceClient: The service client to use when calling cart services.