diff --git a/packages/platform-sdk/src/generated/models/cart.ts b/packages/platform-sdk/src/generated/models/cart.ts index 649585f20..551edc36e 100644 --- a/packages/platform-sdk/src/generated/models/cart.ts +++ b/packages/platform-sdk/src/generated/models/cart.ts @@ -1276,6 +1276,8 @@ export interface DiscountedLineItemPrice { /** * Money value of the discounted Line Item or Custom Line Item. * + * When multiple discounts from `includedDiscounts` apply, they are applied sequentially based on the `sortOrder` of their associated [Cart Discounts](ctp:api:type:CartDiscount) (discounts with higher `sortOrder` values are applied first). The Cart's `priceRoundingMode` field ([RoundingMode](ctp:api:type:RoundingMode)) is applied after each discount calculation, so rounding occurs after each discount step rather than only once on the final cumulative amount. + * * */ readonly value: TypedMoney @@ -1296,6 +1298,8 @@ export interface DiscountedLineItemPriceForQuantity { /** * Discounted price of the Line Item or Custom Line Item. * + * When multiple [Cart Discounts](ctp:api:type:CartDiscount) apply to the same Line Item, the discounts are applied sequentially in the order determined by their `sortOrder` values (higher values are applied first). The [price rounding mode](ctp:api:type:RoundingMode) specified by the Cart's `priceRoundingMode` field is applied after each individual discount is calculated, not after all discounts have been applied cumulatively. This means that rounding occurs at each step of the discount calculation process. + * * */ readonly discountedPrice: DiscountedLineItemPrice diff --git a/references.txt b/references.txt index 9626ff40e..72490debd 100644 --- a/references.txt +++ b/references.txt @@ -517,3 +517,4 @@ f3ae1f87cbf764a30d228bf4e01215405951d454 1119815b3a93e1f6fa3894492e10cbb57f93a3d7 a1e8798ca33fe3c7621ab83ff12ca20f269c406d d3b8e01b6233c9a25fa53d3a8a50a8e1721e664c +d71139f421f6ec0343438bef335b6826feaa86e7