Mayson Monorepo Documentation
    Preparing search index...
    interface Item {
        billing_thresholds?: Emptyable<
            Stripe.SubscriptionCreateParams.Item.BillingThresholds,
        >;
        discounts?: Emptyable<Stripe.SubscriptionCreateParams.Item.Discount[]>;
        metadata?: MetadataParam;
        plan?: string;
        price?: string;
        price_data?: Stripe.SubscriptionCreateParams.Item.PriceData;
        quantity?: number;
        tax_rates?: Emptyable<string[]>;
    }
    Index

    Properties

    Define thresholds at which an invoice will be sent, and the subscription advanced to a new billing period. Pass an empty string to remove previously-defined thresholds.

    The coupons to redeem into discounts for the subscription item.

    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.

    plan?: string

    Plan ID for this item, as a string.

    price?: string

    The ID of the price object.

    Data used to generate a new Price object inline.

    quantity?: number

    Quantity for this item.

    tax_rates?: Emptyable<string[]>

    A list of Tax Rate ids. These Tax Rates will override the default_tax_rates on the Subscription. When updating, pass an empty string to remove previously-defined tax rates.