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

    Properties

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

    dynamic_tax_rates?: string[]

    The tax rates that will be applied to this line item depending on the customer's billing/shipping address. We currently support the following countries: US, GB, AU, and all countries in the EU. You can't set this parameter if ui_mode is custom.

    metadata?: MetadataParam

    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 or Plan object. One of price or price_data is required.

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

    quantity?: number

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

    tax_rates?: string[]

    The tax rates which apply to this line item.