# `Stripe.Resources.Discount.Source`
[🔗](https://github.com/jeffhuen/tiger_stripe/blob/main/lib/stripe/resources/discount.ex#L64)

Nested struct within the parent resource.

# `t`

```elixir
@type t() :: %Stripe.Resources.Discount.Source{
  coupon: String.t() | Stripe.Resources.Coupon.t() | nil,
  type: String.t() | nil
}
```

* `coupon` - The coupon that was redeemed to create this discount. Nullable.
* `type` - The source type of the discount. Possible values: `coupon`.

---

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