Mayson Monorepo Documentation
    Preparing search index...
    interface Cart {
        currency: string;
        line_items: Stripe.Terminal.Reader.Action.SetReaderDisplay.Cart.LineItem[];
        tax: number;
        total: number;
    }
    Index

    Properties

    currency: string

    Three-letter ISO currency code, in lowercase. Must be a supported currency.

    List of line items in the cart.

    tax: number

    Tax amount for the entire cart. A positive integer in the smallest currency unit.

    total: number

    Total amount for the entire cart, including tax. A positive integer in the smallest currency unit.