Class Subscription
Represents a user subscription plan on TorBox.
public sealed record Subscription : IEquatable<Subscription>
- Inheritance
-
Subscription
- Implements
- Inherited Members
Properties
Amount
Gets the subscription amount.
[JsonPropertyName("amount")]
public double Amount { get; init; }
Property Value
CreatedAt
Gets the date and time when the subscription was created, or null if not available.
[JsonPropertyName("created_at")]
public DateTimeOffset? CreatedAt { get; init; }
Property Value
Currency
Gets the currency code for the subscription amount, or null if not available.
[JsonPropertyName("currency")]
public string? Currency { get; init; }
Property Value
ExpiresAt
Gets the date and time when the subscription expires, or null if not available.
[JsonPropertyName("expires_at")]
public DateTimeOffset? ExpiresAt { get; init; }
Property Value
Id
Gets the unique identifier of the subscription.
[JsonPropertyName("id")]
public long Id { get; init; }
Property Value
PlanName
Gets the name of the subscription plan, or null if not available.
[JsonPropertyName("plan_name")]
public string? PlanName { get; init; }
Property Value
Status
Gets the current status of the subscription, or null if not available.
[JsonPropertyName("status")]
public string? Status { get; init; }