Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions packages/platform-sdk/src/generated/models/cart.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -517,3 +517,4 @@ f3ae1f87cbf764a30d228bf4e01215405951d454
1119815b3a93e1f6fa3894492e10cbb57f93a3d7
a1e8798ca33fe3c7621ab83ff12ca20f269c406d
d3b8e01b6233c9a25fa53d3a8a50a8e1721e664c
d71139f421f6ec0343438bef335b6826feaa86e7
Loading