[Feature] Support for multiple subscription tiers (#3036)
This commit is contained in:
@@ -21,6 +21,9 @@ public class SocketSubscription : SocketEntity<ulong>, ISubscription
|
||||
/// <inheritdoc />
|
||||
public IReadOnlyCollection<ulong> EntitlementIds { get; private set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public IReadOnlyCollection<ulong> RenewalSKUIds { get; private set; }
|
||||
|
||||
/// <inheritdoc />
|
||||
public DateTimeOffset CurrentPeriodStart { get; private set; }
|
||||
|
||||
@@ -52,6 +55,7 @@ public class SocketSubscription : SocketEntity<ulong>, ISubscription
|
||||
UserId = model.UserId;
|
||||
SKUIds = model.SKUIds.ToImmutableArray();
|
||||
EntitlementIds = model.EntitlementIds.ToImmutableArray();
|
||||
RenewalSKUIds = model.RenewalSKUIds?.ToImmutableArray() ?? [];
|
||||
CurrentPeriodStart = model.CurrentPeriodStart;
|
||||
CurrentPeriodEnd = model.CurrentPeriodEnd;
|
||||
Status = model.Status;
|
||||
|
||||
Reference in New Issue
Block a user