mirror of
https://github.com/bitwarden/server
synced 2025-12-16 08:13:33 +00:00
billing fixes and added gateway to subscriber
This commit is contained in:
@@ -1,10 +1,15 @@
|
||||
namespace Bit.Core.Models.Table
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Services;
|
||||
|
||||
namespace Bit.Core.Models.Table
|
||||
{
|
||||
public interface ISubscriber
|
||||
{
|
||||
string StripeCustomerId { get; set; }
|
||||
string StripeSubscriptionId { get; set; }
|
||||
GatewayType? Gateway { get; set; }
|
||||
string GatewayCustomerId { get; set; }
|
||||
string GatewaySubscriptionId { get; set; }
|
||||
string BillingEmailAddress();
|
||||
string BillingName();
|
||||
IPaymentService GetPaymentService(GlobalSettings globalSettings);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user