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

    Interface TaxPortion

    The tax portions are calculated from the TaxRates. If a Tax Rate has SubRates, they are used and can be identified by name. Tax portions from Line Items with the same rate and name are accumulated to the same tax portion.

    interface TaxPortion {
        amount: CentPrecisionMoney;
        name?: string;
        rate: number;
    }
    Index

    Properties

    Properties

    Money value of the tax portion.

    name?: string

    Name of the tax portion.

    rate: number

    A number in the range 0-1.