Broadleaf Microservices
  • v1.0.0-latest-prod

Pricing Release Notes for 2.1.0-GA

Tip
The 2.x versions are Spring Boot 3 compatible.

Important Updates

New Features & Notable Changes

  • Added a new bulk read PriceData endpoint to be used by Data Exchange Service.

  • Introduced Price Data views metadata improvements:

    • Introduced PricingMetadataProperties as a properties class available to metadata classes, and used in PricingServicesMetadataAutoConfiguration to dictate views.

      • Added a priceDataViewType property that determines the type of Price Data view to display.

      • Added a displayFlashSaleFieldsInPriceDataGrid property that determines whether to include Flash Sale fields in the Price Data grid.

    • Updated the wording related to Flash Sale pricing.

Introduced support for recurring and usage type prices.

  • A single PriceData can be used to define an upfront price (the normal price) along with a recurring and usage price.

  • The recurring price includes defining the billing period frequency and optional terms, e.g., bill monthly for 36 months, bill quarterly indefinitely, bill annually for 10 years.

  • The usage price includes defining units for what is being used and the amount to charge for, e.g., per minute, per gigabyte, per message.

  • Supports also targeting a characteristic value in combination with the Product’s SKU to associate pricing.

  • Supports targeting a Product’s terms in combination with a SKU to associate pricing.

  • PriceInfo payload now contains fields for RecurringPriceDetail and UsagePriceDetail

  • PriceTypeDetail payload also contains RecurringPriceDetail and UsagePriceDetail for the best price of a particular type to support strike-through pricing display.

  • PriceableTarget payload supports specifying Product Terms or Characteristics for which to get pricing for.

Bug Fixes

  • Fixed issue where repositories were breaking extensibility by having hard-coded framework entity class names.

  • Fixed issue where if the PriceList uses a different currency than the system default, when reading or updating the PriceDataTier, the currency returned will be the system default instead of the PriceList currency.

  • Fixed issue where some Price Data fields would be reset when a linked or parent field would be updated.