@sumup/sdk
    Preparing search index...

    Type Alias FinalPriceAmounts

    Final price amounts after all calculations and adjustments.

    type FinalPriceAmounts = {
        discounts?: DiscountLine[];
        taxes_final: PositiveTaxLine[];
        total_gross_amount_final: number;
        total_net_amount_final: number;
    }
    Index
    discounts?: DiscountLine[]

    Discounts applied.

    Important: Discount amounts shouldn't take effect on net and gross amounts.

    Discount money amounts depend on where discount was applied:

    • for item level discount: whole discount money amount is applied
    • for cart level discount: only part of the whole amount is applied (discount money value is split on each line item)

    Max items: 1000

    taxes_final: PositiveTaxLine[]

    Taxes applied on top of total_net_amount_final amount resulting in total_gross_amount_final amount. If no discounts are applied, it should be equal to taxes.

    Min items: 1

    Max items: 1000

    total_gross_amount_final: number

    The final gross amount includes discounts, modifiers, and taxes. If no discounts are applied, it should be equal to total_gross_amount.

    The value of the amount in minor units of the currency according to the Sale.currency.scale. value can get large for some currencies and applications. Use Long type or a similar data type when parsing value.

    Format: int64

    Min: 0

    total_net_amount_final: number

    The final net amount includes discounts and modifiers. It does NOT include taxes. If no discounts are applied, it should be equal to total_net_amount.

    The value of the amount in minor units of the currency according to the Sale.currency.scale. value can get large for some currencies and applications. Use Long type or a similar data type when parsing value.

    Format: int64

    Min: 0