Mayson Monorepo Documentation
    Preparing search index...
    interface LineItem {
        adjustable_quantity?: Stripe.Checkout.SessionUpdateParams.LineItem.AdjustableQuantity;
        id?: string;
        metadata?: Emptyable<MetadataParam>;
        price?: string;
        price_data?: Stripe.Checkout.SessionUpdateParams.LineItem.PriceData;
        quantity?: number;
        tax_rates?: Emptyable<string[]>;
    }
    Index

    Properties

    When set, provides configuration for this item's quantity to be adjusted by the customer during Checkout.

    id?: string

    ID of an existing line item.

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format. Individual keys can be unset by posting an empty value to them. All keys can be unset by posting an empty value to metadata.

    price?: string

    The ID of the Price. One of price or price_data is required when creating a new line item.

    Data used to generate a new Price object inline. One of price or price_data is required when creating a new line item.

    quantity?: number

    The quantity of the line item being purchased. Quantity should not be defined when recurring.usage_type=metered.

    tax_rates?: Emptyable<string[]>

    The tax rates which apply to this line item.