# `PolarExpress.Schemas.DiscountFixedOnceForeverDurationBase`
[🔗](https://github.com/jeffhuen/polar_express/blob/main/lib/polar_express/schemas/discount_fixed_once_forever_duration_base.ex#L2)

DiscountFixedOnceForeverDurationBase

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.DiscountFixedOnceForeverDurationBase{
  amount: integer() | nil,
  code: String.t() | nil,
  created_at: DateTime.t() | nil,
  currency: String.t() | nil,
  duration: PolarExpress.Schemas.DiscountDuration.t() | nil,
  ends_at: DateTime.t() | nil,
  id: String.t() | nil,
  max_redemptions: integer() | nil,
  metadata: PolarExpress.Schemas.MetadataOutputType.t() | nil,
  modified_at: DateTime.t() | nil,
  name: String.t() | nil,
  organization_id: String.t() | nil,
  redemptions_count: integer() | nil,
  starts_at: DateTime.t() | nil,
  type: PolarExpress.Schemas.DiscountType.t() | nil
}
```

* `amount`
* `code` - Code customers can use to apply the discount during checkout. Nullable.
* `created_at` - Creation timestamp of the object. Format: date-time.
* `currency`
* `duration`
* `ends_at` - Timestamp after which the discount is no longer redeemable. Nullable.
* `id` - The ID of the object. Format: uuid4.
* `max_redemptions` - Maximum number of times the discount can be redeemed. Nullable.
* `metadata`
* `modified_at` - Last modification timestamp of the object. Nullable.
* `name` - Name of the discount. Will be displayed to the customer when the discount is applied.
* `organization_id` - The organization ID. Format: uuid4.
* `redemptions_count` - Number of times the discount has been redeemed.
* `starts_at` - Timestamp after which the discount is redeemable. Nullable.
* `type`

# `schema_name`

---

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