1
0
mirror of https://github.com/bitwarden/server synced 2026-02-12 06:23:28 +00:00

Remove stale 'use-pricing-service' feature flag references from IPricingClient docs (#6961)

This commit is contained in:
Conner Turnbull
2026-02-09 15:10:44 -05:00
committed by GitHub
parent 7c216366a7
commit 40c64a51d5

View File

@@ -1,7 +1,6 @@
using Bit.Core.Billing.Enums;
using Bit.Core.Exceptions;
using Bit.Core.Models.StaticStore;
using Bit.Core.Utilities;
namespace Bit.Core.Billing.Pricing;
@@ -12,8 +11,7 @@ public interface IPricingClient
{
// TODO: Rename with Organization focus.
/// <summary>
/// Retrieve a Bitwarden plan by its <paramref name="planType"/>. If the feature flag 'use-pricing-service' is enabled,
/// this will trigger a request to the Bitwarden Pricing Service. Otherwise, it will use the existing <see cref="StaticStore"/>.
/// Retrieve a Bitwarden plan by its <paramref name="planType"/> from the Bitwarden Pricing Service.
/// </summary>
/// <param name="planType">The type of plan to retrieve.</param>
/// <returns>A Bitwarden <see cref="Plan"/> record or null in the case the plan could not be found or the method was executed from a self-hosted instance.</returns>
@@ -22,8 +20,7 @@ public interface IPricingClient
// TODO: Rename with Organization focus.
/// <summary>
/// Retrieve a Bitwarden plan by its <paramref name="planType"/>. If the feature flag 'use-pricing-service' is enabled,
/// this will trigger a request to the Bitwarden Pricing Service. Otherwise, it will use the existing <see cref="StaticStore"/>.
/// Retrieve a Bitwarden plan by its <paramref name="planType"/> from the Bitwarden Pricing Service.
/// </summary>
/// <param name="planType">The type of plan to retrieve.</param>
/// <returns>A Bitwarden <see cref="Plan"/> record.</returns>
@@ -33,8 +30,7 @@ public interface IPricingClient
// TODO: Rename with Organization focus.
/// <summary>
/// Retrieve all the Bitwarden plans. If the feature flag 'use-pricing-service' is enabled,
/// this will trigger a request to the Bitwarden Pricing Service. Otherwise, it will use the existing <see cref="StaticStore"/>.
/// Retrieve all Bitwarden plans from the Pricing Service.
/// </summary>
/// <returns>A list of Bitwarden <see cref="Plan"/> records or an empty list in the case the method is executed from a self-hosted instance.</returns>
/// <exception cref="BillingException">Thrown when the request to the Pricing Service fails unexpectedly.</exception>