mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[AC-2744] Add provider portal pricing for consolidated billing (#4210)
* Expanded Teams and Enterprise plan with provider seat data * Updated provider setup process with new plan information * Updated provider subscription retrieval and update with new plan information * Updated client invoice report with new plan information * Fixed tests * Fix broken test
This commit is contained in:
@ -121,8 +121,10 @@ public class PlanResponseModel : ResponseModel
|
||||
{
|
||||
StripePlanId = plan.StripePlanId;
|
||||
StripeSeatPlanId = plan.StripeSeatPlanId;
|
||||
StripeProviderPortalSeatPlanId = plan.StripeProviderPortalSeatPlanId;
|
||||
BasePrice = plan.BasePrice;
|
||||
SeatPrice = plan.SeatPrice;
|
||||
ProviderPortalSeatPrice = plan.ProviderPortalSeatPrice;
|
||||
AllowSeatAutoscale = plan.AllowSeatAutoscale;
|
||||
HasAdditionalSeatsOption = plan.HasAdditionalSeatsOption;
|
||||
MaxAdditionalSeats = plan.MaxAdditionalSeats;
|
||||
@ -141,8 +143,10 @@ public class PlanResponseModel : ResponseModel
|
||||
// Seats
|
||||
public string StripePlanId { get; init; }
|
||||
public string StripeSeatPlanId { get; init; }
|
||||
public string StripeProviderPortalSeatPlanId { get; init; }
|
||||
public decimal BasePrice { get; init; }
|
||||
public decimal SeatPrice { get; init; }
|
||||
public decimal ProviderPortalSeatPrice { get; init; }
|
||||
public bool AllowSeatAutoscale { get; init; }
|
||||
public bool HasAdditionalSeatsOption { get; init; }
|
||||
public int? MaxAdditionalSeats { get; init; }
|
||||
|
Reference in New Issue
Block a user