Better Payment 0.11.1 API
    Preparing search index...

    Interface BuiltBasket

    interface BuiltBasket {
        basketItems: BasketItem[];
        discount: string;
        price: string;
    }
    Index
    basketItems: BasketItem[]

    Items with the discount applied; their prices add up exactly to price

    discount: string

    The discount actually applied, e.g. '4.99' for { percent: 10 } of '49.90'

    price: string

    Basket total after discount, shipping included. Use it as price (and paidPrice).