@gradientedge/commercetools-utils
    Preparing search index...

    Interface DiscountedLineItemPrice

    interface DiscountedLineItemPrice {
        includedDiscounts: DiscountedLineItemPortion[];
        value: TypedMoney;
    }
    Index

    Properties

    includedDiscounts: DiscountedLineItemPortion[]

    Discount applicable on the Line Item or Custom Line Item.

    value: TypedMoney

    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.