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

DiscountPercentageRepeatDurationBase

# `t`

```elixir
@type t() :: %PolarExpress.Schemas.DiscountPercentageRepeatDurationBase{
  basis_points: integer() | nil,
  code: String.t() | nil,
  created_at: DateTime.t() | nil,
  duration: PolarExpress.Schemas.DiscountDuration.t() | nil,
  duration_in_months: integer() | 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
}
```

* `basis_points` - Discount percentage in basis points. A basis point is 1/100th of a percent. For example, 1000 basis points equals a 10% discount.
* `code` - Code customers can use to apply the discount during checkout. Nullable.
* `created_at` - Creation timestamp of the object. Format: date-time.
* `duration`
* `duration_in_months`
* `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*
