1
0
mirror of https://github.com/bitwarden/server synced 2025-12-16 16:23:31 +00:00

[PM-5766] Automatic Tax Feature Flag (#3729)

* Added feature flag constant

* Wrapped Automatic Tax logic behind feature flag

* Only getting customer if feature is anabled.

* Enabled feature flag in unit tests

* Made IPaymentService scoped

* Added missing StripeFacade calls
This commit is contained in:
Conner Turnbull
2024-02-01 13:21:17 -05:00
committed by GitHub
parent 34c4a5df5d
commit 9a1519f131
8 changed files with 318 additions and 64 deletions

View File

@@ -116,6 +116,8 @@ public static class FeatureFlagKeys
/// </summary>
public const string FlexibleCollectionsMigration = "flexible-collections-migration";
public const string PM5766AutomaticTax = "PM-5766-automatic-tax";
public static List<string> GetAllKeys()
{
return typeof(FeatureFlagKeys).GetFields(BindingFlags.Public | BindingFlags.Static | BindingFlags.FlattenHierarchy)