Stripe.Resources.SubscriptionSchedule.Phases.Items (tiger_stripe v0.1.10)

Copy Markdown View Source

Nested struct within the parent resource.

Summary

Types

t()

@type t() :: %Stripe.Resources.SubscriptionSchedule.Phases.Items{
  billing_thresholds:
    Stripe.Resources.SubscriptionSchedule.Phases.Items.BillingThresholds.t()
    | nil,
  discounts:
    [Stripe.Resources.SubscriptionSchedule.Phases.Items.Discounts.t()] | nil,
  metadata: %{required(String.t()) => String.t()} | nil,
  plan: String.t() | Stripe.Resources.Plan.t() | nil,
  price: String.t() | Stripe.Resources.Price.t() | nil,
  quantity: integer() | nil,
  tax_rates: [Stripe.Resources.TaxRate.t()] | nil
}
  • billing_thresholds - Define thresholds at which an invoice will be sent, and the related subscription advanced to a new billing period Nullable.
  • discounts - The discounts applied to the subscription item. Subscription item discounts are applied before subscription discounts. Use expand[]=discounts to expand each discount.
  • metadata - Set of key-value pairs that you can attach to an item. Metadata on this item will update the underlying subscription item's metadata when the phase is entered. Nullable.
  • plan - ID of the plan to which the customer should be subscribed.
  • price - ID of the price to which the customer should be subscribed.
  • quantity - Quantity of the plan to which the customer should be subscribed.
  • tax_rates - The tax rates which apply to this phase_item. When set, the default_tax_rates on the phase do not apply to this phase_item. Nullable.