mirror of
https://github.com/bitwarden/server
synced 2025-12-15 15:53:59 +00:00
* 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>
27 lines
679 B
C#
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; }
|
|
}
|
|
}
|