# DiscountUsability

> Gives if the discount is *usable* or the reason why it's not. Be aware that new members might be added in the future

Source: https://docs.gastrogate.io/docs/api/types/DiscountUsability

**Kind:** Enums

## Values

| Value | Description |
| --- | --- |
| `Disabled` |  |
| `Expired` |  |
| `Misconfigured` |  |
| `MissingAuth` |  |
| `NotStarted` |  |
| `NotWithinOpeningHours` | If the discount is not within the specified week day time periods |
| `Usable` |  |
| `UsedBySomeone` |  |
| `UsedByYou` |  |
| `UserNotInGuestGroup` |  |
| `WrongRestaurant` |  |

## How to get it

This type is returned by:

- [`Discount.usability`](https://docs.gastrogate.io/docs/api/types/Discount.md#usability) (field on [`Discount`](https://docs.gastrogate.io/docs/api/types/Discount.md))
