-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docs: fix docs for entitlement type. todo: new routes
- Loading branch information
Showing
1 changed file
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,47 @@ | ||
namespace DisCatSharp.Enums; | ||
|
||
/// <summary> | ||
/// Represents the test entitlement owner type. | ||
/// Represents the entitlement type. | ||
/// </summary> | ||
public enum EntitlementType | ||
{ | ||
/// <summary> | ||
/// Entitlement was purchased by user. | ||
/// </summary> | ||
Purchase = 1, | ||
|
||
/// <summary> | ||
/// Entitlement for Discord Nitro subscription. | ||
/// </summary> | ||
PremiumSubscription = 2, | ||
|
||
/// <summary> | ||
/// Entitlement was gifted by developer. | ||
/// </summary> | ||
DeveloperGift = 3, | ||
|
||
/// <summary> | ||
/// Entitlement was purchased by a dev in application test mode. | ||
/// </summary> | ||
TestModePurchase = 4, | ||
|
||
/// <summary> | ||
/// Entitlement was granted when the SKU was free. | ||
/// </summary> | ||
FreePurchase = 5, | ||
|
||
/// <summary> | ||
/// Entitlement was gifted by another user. | ||
/// </summary> | ||
UserGift = 6, | ||
|
||
/// <summary> | ||
/// Entitlement was claimed by user for free as a Nitro Subscriber. | ||
/// </summary> | ||
PremiumPurchase = 7, | ||
|
||
/// <summary> | ||
/// Entitlement was purchased as an app subscription. | ||
/// </summary> | ||
ApplicationSubscription = 8 | ||
} |