# `Stripe.Resources.PaymentLink.SubscriptionData`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/payment_link.ex#L746)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.PaymentLink.SubscriptionData{
  description: String.t() | nil,
  invoice_settings:
    Stripe.Resources.PaymentLink.SubscriptionData.InvoiceSettings.t() | nil,
  metadata: %{required(String.t()) =&gt; String.t()} | nil,
  trial_period_days: integer() | nil,
  trial_settings:
    Stripe.Resources.PaymentLink.SubscriptionData.TrialSettings.t() | nil
}
```

* `description` - The subscription's description, meant to be displayable to the customer. Use this field to optionally store an explanation of the subscription for rendering in Stripe surfaces and certain local payment methods UIs. Max length: 5000. Nullable.
* `invoice_settings`
* `metadata` - Set of [key-value pairs](https://docs.stripe.com/api/metadata) that will set metadata on [Subscriptions](https://docs.stripe.com/api/subscriptions) generated from this payment link.
* `trial_period_days` - Integer representing the number of trial period days before the customer is charged for the first time. Nullable.
* `trial_settings` - Settings related to subscription trials. Nullable.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
