mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[PM-8830] Billing Enums Rename (#4180)
* Renamed ProductType to ProductTierType * Renamed Product properties to ProductTier * Moved ProductTierType to Bit.Core.Billing.Enums namespace from Bit.Core.Enums * Moved PlanType enum to Bit.Core.Billing.Enums * Moved StaticStore to Bit.Core.Billing.Models.StaticStore namespace * Added ProductType enum * dotnet format
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Billing.Enums;
|
||||
using Bit.Core.Models.Api;
|
||||
using Bit.Core.Models.StaticStore;
|
||||
|
||||
@ -15,7 +15,7 @@ public class PlanResponseModel : ResponseModel
|
||||
}
|
||||
|
||||
Type = plan.Type;
|
||||
Product = plan.Product;
|
||||
ProductTier = plan.ProductTier;
|
||||
Name = plan.Name;
|
||||
IsAnnual = plan.IsAnnual;
|
||||
NameLocalizationKey = plan.NameLocalizationKey;
|
||||
@ -45,7 +45,7 @@ public class PlanResponseModel : ResponseModel
|
||||
}
|
||||
|
||||
public PlanType Type { get; set; }
|
||||
public ProductType Product { get; set; }
|
||||
public ProductTierType ProductTier { get; set; }
|
||||
public string Name { get; set; }
|
||||
public bool IsAnnual { get; set; }
|
||||
public string NameLocalizationKey { get; set; }
|
||||
|
Reference in New Issue
Block a user