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

    Interface CentPrecisionMoneyDraft

    This draft type is the alternative to Money.

    interface CentPrecisionMoneyDraft {
        centAmount?: number;
        currencyCode: string;
        fractionDigits?: number;
        type: "centPrecision";
    }

    Hierarchy (View Summary)

    Index
    centAmount?: number

    Amount in the smallest indivisible unit of a currency.

    currencyCode: string

    A currency code compliant with ISO 4217 or a non-standard currency.

    fractionDigits?: number

    This field is optional for cent precision. If provided, it must be equal to the default number of fraction digits for the specified currency.

    type: "centPrecision"

    Determines the type of money used.