Class RoleSubscriptionData
- Namespace
- NetCord
- Assembly
- NetCord.dll
public class RoleSubscriptionData : IJsonModel<JsonRoleSubscriptionData>
- Inheritance
-
RoleSubscriptionData
- Implements
- Inherited Members
Constructors
RoleSubscriptionData(JsonRoleSubscriptionData)
public RoleSubscriptionData(JsonRoleSubscriptionData jsonModel)
Parameters
jsonModel
JsonRoleSubscriptionData
Properties
IsRenewal
Whether this notification is for a renewal rather than a new purchase.
public bool IsRenewal { get; }
Property Value
RoleSubscriptionListingId
The ID of the sku and listing that the user is subscribed to.
public ulong RoleSubscriptionListingId { get; }
Property Value
TierName
The name of the tier that the user is subscribed to.
public string TierName { get; }
Property Value
TotalMonthsSubscribed
The cumulative number of months that the user has been subscribed for.
public int TotalMonthsSubscribed { get; }