mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
premium access addon for families plans
This commit is contained in:
@ -26,6 +26,7 @@ namespace Bit.Core.Models.Api
|
||||
public short AdditionalSeats { get; set; }
|
||||
[Range(0, 99)]
|
||||
public short? AdditionalStorageGb { get; set; }
|
||||
public bool PremiumAccessAddon { get; set; }
|
||||
[EncryptedString]
|
||||
[EncryptedStringLength(1000)]
|
||||
public string CollectionName { get; set; }
|
||||
@ -42,6 +43,7 @@ namespace Bit.Core.Models.Api
|
||||
PaymentToken = PaymentToken,
|
||||
AdditionalSeats = AdditionalSeats,
|
||||
AdditionalStorageGb = AdditionalStorageGb.GetValueOrDefault(0),
|
||||
PremiumAccessAddon = PremiumAccessAddon,
|
||||
BillingEmail = BillingEmail,
|
||||
BusinessName = BusinessName,
|
||||
BusinessCountry = Country,
|
||||
|
@ -13,6 +13,7 @@ namespace Bit.Core.Models.Business
|
||||
public Enums.PlanType Plan { get; set; }
|
||||
public short AdditionalSeats { get; set; }
|
||||
public short AdditionalStorageGb { get; set; }
|
||||
public bool PremiumAccessAddon { get; set; }
|
||||
public string PaymentToken { get; set; }
|
||||
public string CollectionName { get; set; }
|
||||
}
|
||||
|
@ -7,11 +7,13 @@ namespace Bit.Core.Models.StaticStore
|
||||
public string Name { get; set; }
|
||||
public string StripePlanId { get; set; }
|
||||
public string StripeSeatPlanId { get; set; }
|
||||
public string StripStoragePlanId { get; set; }
|
||||
public string StripeStoragePlanId { get; set; }
|
||||
public string StripePremiumAccessPlanId { get; set; }
|
||||
public PlanType Type { get; set; }
|
||||
public short BaseSeats { get; set; }
|
||||
public bool CanBuyAdditionalSeats { get; set; }
|
||||
public short? MaxAdditionalSeats { get; set; }
|
||||
public bool CanBuyPremiumAccessAddon { get; set; }
|
||||
public bool UseGroups { get; set; }
|
||||
public bool UseDirectory { get; set; }
|
||||
public bool UseEvents { get; set; }
|
||||
|
Reference in New Issue
Block a user