1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-06 10:32:49 -05:00

premium access addon for families plans

This commit is contained in:
Kyle Spearrin
2018-11-20 22:02:09 -05:00
parent 04ae06420b
commit 0b20f64f2d
5 changed files with 30 additions and 9 deletions

View File

@ -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,