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

    Interface DiscountedPriceDraft

    interface DiscountedPriceDraft {
        discount: ProductDiscountReference;
        value: _Money;
    }
    Index

    Properties

    Properties

    Relates the referenced ProductDiscount to the discounted price.

    value: _Money

    Sets the money value for the discounted price.

    To set the money value in high precision, use [HighPrecisionMoneyDraft](ctp:api:type:HighPrecisionMoneyDraft).