mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
13 lines
316 B
C#
13 lines
316 B
C#
using Bit.Core.Billing.Constants;
|
|
using Stripe;
|
|
|
|
namespace Bit.Core.Billing.Extensions;
|
|
|
|
public static class SubscriptionExtensions
|
|
{
|
|
public static bool IsOrganization(this Subscription subscription)
|
|
{
|
|
return subscription.Metadata.ContainsKey(StripeConstants.MetadataKeys.OrganizationId);
|
|
}
|
|
}
|