Skip to main content

UserSubscription

A class in Alta.Api.DataTransferModels, Alta.Api.DataTransferModels.Models.Shared.

A user's subscription (supporter membership) and its billing dates.

Constructors​

MemberWhat it is
UserSubscription()Creates an UserSubscription with default values.

Properties​

MemberWhat it is
string Comment { get; set; }Note on the subscription.
DateTime CreatedAt { get; set; }When the subscription started.
DateTime? EndedAt { get; set; }When it ended, or null if still running.
int Identifier { get; set; }The subscription's id.
DateTime LastChargeAt { get; set; }When the user was last charged.
DateTime NextChargeAt { get; set; }When the user will next be charged.
string PlanExternalIdentifier { get; set; }The plan's id at the payment provider.
SubscriptionPlanInfo PlanInfo { get; set; }Details of the plan.
int PlanInfoIdentifier { get; set; }The plan's id in the API.
UserSubscriptionInfoStatus Status { get; set; }The subscription's status.