Klarna Web SDK v2/r6
    Preparing search index...

    Interface LineItem

    interface LineItem {
        currency?: string;
        imageUrl?: string;
        lineItemReference?: string;
        name: string;
        productIdentifier?: string;
        productUrl?: string;
        quantity: number;
        shippingReference?: string;
        subscriptionReference?: string;
        totalAmount: number;
        totalTaxAmount?: number;
        unitPrice?: number;
    }
    Index

    Properties

    currency?: string
    imageUrl?: string

    URL of product image.

    lineItemReference?: string

    Unique reference to this line item for correlation with your own system.

    SKU12345
    
    name: string

    Customer facing name of the product.

    productIdentifier?: string

    GTIN (UPC, ISBN) of the item.

    productUrl?: string

    URL of the product page.

    quantity: number

    Quantity of the product.

    1
    
    shippingReference?: string
    subscriptionReference?: string
    totalAmount: number

    Total amount attributed to sales tax in minor currency units.

    totalTaxAmount?: number

    Total amount to charge/credit the consumer, in minor currency units, including any surcharges and deductions. To credit the consumer for discounts, vouchers, gift cards, etc. use a negative total amount.

    unitPrice?: number

    Price of one unit in minor currency units.

    Total price of line item is (unitPrice * quantity).