1
0
mirror of https://github.com/bitwarden/server.git synced 2025-02-16 01:51:21 +01:00

Add a CancelAt to the response (#4205)

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
This commit is contained in:
cyprain-okeke 2024-06-20 13:50:42 +01:00 committed by GitHub
parent 29b47f72ca
commit 7f496e7399
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -11,6 +11,7 @@ public record ConsolidatedBillingSubscriptionResponse(
DateTime? UnpaidPeriodEndDate, DateTime? UnpaidPeriodEndDate,
int? GracePeriod, int? GracePeriod,
DateTime? SuspensionDate, DateTime? SuspensionDate,
DateTime? CancelAt,
IEnumerable<ProviderPlanResponse> Plans) IEnumerable<ProviderPlanResponse> Plans)
{ {
private const string _annualCadence = "Annual"; private const string _annualCadence = "Annual";
@ -44,6 +45,7 @@ public record ConsolidatedBillingSubscriptionResponse(
unpaidPeriodEndDate, unpaidPeriodEndDate,
gracePeriod, gracePeriod,
suspensionDate, suspensionDate,
subscription.CancelAt,
providerPlansDTO); providerPlansDTO);
} }
} }