Introduced the CancellationPolicyRef domain to represent the data structure describing a reference to a Cancellation Policy and where it came from
Added helper method to DefaultFreeTrialLengthUnits to convert FreeTrialLengthUnits to ChronoUnit
Added a Adjustment#isExistingAdjustment flag to indicate an existing offer
Introduced CurrencyConversionDetail domain to represent the adjustment details of the exchange rate used to convert a MonetaryAmount from one currency to another
Added the new attributes to the OfferRef domain to better describe the style of offer, its discount rate, & how it interacts with other offers
Forward-compatibility to support concepts from OfferServices 3.1.0 and PricingServices 2.1.0.
Introduce 'adjustment type' concept to Adjustment to drive when the adjustment applies (e.g. for Subscription Offers)
Add fields to support 'free trial' concept in Adjustment
Add fields to support recurring discount begin/end periods in Adjustment
Introduce RecurringPriceDetail and UsagePriceDetail (see Term and Frequency Based Pricing)
Added offer code reference to the Voucher so its usage will be audited for max usage.
Added @JsonAlias to the "amount" field on Adjustment to also consider "adjustmentAmount" for deserialization.
Version 2.0.1-GA includes all changes up to 1.5.8-GA
The 2.x versions are Spring Boot 3 compatible.
As of Broadleaf Release Train 2.0.0-GA, all common libraries have been upgraded to Spring Boot 3.
This version includes all changes up to 1.5.7-GA
Updates to the Voucher DTO:
Deprecate the offerId field in favor of the new offerRef field.
Introduce the codeUsed field.
Notes
JDK 11 is required for Broadleaf release trains 1.7.0-GA, and beyond.
JDK 17 is supported for Broadleaf release trains 1.8.1-GA, and beyond.
Updates to support FulfillmentServices:
Add additional values to FulfillmentType enum
Add serviceLevel`to `Adjustment
Add PricedFulfillmentOption
Add support for the adjustment quantity for the line items.
This will ensure that the refund amount for order item promotions will be calculated and distributed correctly.