Search documentation of tiger_stripe

# Stripe.Params.Checkout.SessionCreateParams.LineItems (tiger_stripe v0.1.1)

Copy Markdown View Source

Nested parameters.

## Summary

### Types

t()

## Types

# t()

    @type t() :: %Stripe.Params.Checkout.SessionCreateParams.LineItems{
      adjustable_quantity: map() | nil,
      dynamic_tax_rates: [String.t()] | nil,
      metadata: map() | nil,
      price: String.t() | nil,
      price_data: map() | nil,
      quantity: integer() | nil,
      tax_rates: [String.t()] | nil
    }

- `adjustable_quantity` - When set, provides configuration for this item’s quantity to be adjusted by the customer during Checkout.
- `dynamic_tax_rates` - 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` - 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` - The ID of the Price or Plan object. One of `price` or `price_data` is required. Max length: 5000.
- `price_data` - Data used to generate a new Price object inline. One of `price` or `price_data` is required.
- `quantity` - The quantity of the line item being purchased. Quantity should not be defined when `recurring.usage_type=metered`.
- `tax_rates` - The tax rates which apply to this line item.