1
0
mirror of https://github.com/bitwarden/server synced 2025-12-15 15:53:59 +00:00
Files
server/src/Core/Billing/Models/Sales/SubscriptionSetup.cs
cyprain-okeke cc211647d7 [PM-17540]Do not grant re-subscriptions trial period (#5327)
* Remove trial for restarted subscription

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the pr comment on initial change

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

* Resolve the issue of not saving payment method

* Refactor the taxinfo mapping

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>

---------

Signed-off-by: Cy Okeke <cokeke@bitwarden.com>
2025-02-07 15:43:14 +01:00

27 lines
679 B
C#

using Bit.Core.Models.StaticStore;
namespace Bit.Core.Billing.Models.Sales;
#nullable enable
public class SubscriptionSetup
{
public required Plan Plan { get; set; }
public required PasswordManager PasswordManagerOptions { get; set; }
public SecretsManager? SecretsManagerOptions { get; set; }
public bool SkipTrial = false;
public class PasswordManager
{
public required int Seats { get; set; }
public short? Storage { get; set; }
public bool? PremiumAccess { get; set; }
}
public class SecretsManager
{
public required int Seats { get; set; }
public int? ServiceAccounts { get; set; }
}
}