mirror of
https://github.com/bitwarden/server.git
synced 2025-04-25 23:02:17 -05:00

* Enable `nullable` in `ISubscriber` * Enable `nullable` in `Group` * Enable `nullable` in `GroupUser` * Enable `nullable` in `Organization` * Enable `nullable` in `OrganizationUser` * Enable `nullable` in `Policy` * Enable `nullable` in `Provider` * Enable `nullable` in `ProviderOrganization` * Enable `nullable` in `ProviderUser` * Update Tests * Formatting * Update TwoFactor Tests * Fix Scim Tests * Format * Add Migrations * Format
24 lines
559 B
C#
24 lines
559 B
C#
using Bit.Core.Enums;
|
|
|
|
#nullable enable
|
|
|
|
namespace Bit.Core.Entities;
|
|
|
|
public interface ISubscriber
|
|
{
|
|
Guid Id { get; }
|
|
GatewayType? Gateway { get; set; }
|
|
string? GatewayCustomerId { get; set; }
|
|
string? GatewaySubscriptionId { get; set; }
|
|
string? BillingEmailAddress();
|
|
string? BillingName();
|
|
string? SubscriberName();
|
|
string BraintreeCustomerIdPrefix();
|
|
string BraintreeIdField();
|
|
string BraintreeCloudRegionField();
|
|
bool IsOrganization();
|
|
bool IsUser();
|
|
string SubscriberType();
|
|
bool IsExpired();
|
|
}
|