1
0
mirror of https://github.com/bitwarden/server synced 2025-12-14 23:33:41 +00:00

org signup plan details

This commit is contained in:
Kyle Spearrin
2017-04-04 12:57:50 -04:00
parent a4ef7c906e
commit f52c0798cd
15 changed files with 218 additions and 84 deletions

View File

@@ -94,27 +94,40 @@ namespace Bit.Core.Utilities
new Plan
{
Type = PlanType.Free,
MaxUsers = 1,
Price = 0
BaseUsers = 1,
CanBuyAdditionalUsers = false,
Name = "Free"
},
new Plan
{
Type = PlanType.Personal,
MaxUsers = 5,
Price = 1,
BaseUsers = 5,
BaseAnnualPrice = 12,
UserAnnualPrice = 12,
CanBuyAdditionalUsers = true,
Trial = new TimeSpan(14, 0, 0, 0),
Cycle = now => now.AddYears(1) - now,
Name = "Personal",
StripeId = "premium-yearly"
StripeAnnualPlanId = "premium-yearly",
StripeAnnualUserPlanId = "premium-user-yearly"
},
new Plan
{
Type = PlanType.Teams,
MaxUsers = 5,
Price = 10,
BaseUsers = 5,
BaseAnnualPrice = 60,
UserAnnualPrice = 24,
BaseMonthlyPrice = 8,
UserMonthlyPrice = 2.5M,
CanBuyAdditionalUsers = true,
CanMonthly = true,
Trial = new TimeSpan(14, 0, 0, 0),
Cycle = now => now.AddMonths(1) - now
Cycle = now => now.AddMonths(1) - now,
Name = "Teams",
StripeAnnualPlanId = "premium-yearly",
StripeAnnualUserPlanId = "premium-user-yearly",
StripeMonthlyPlanId = "premium-yearly",
StripeMonthlyUserPlanId = "premium-user-yearly"
}
};