1
0
mirror of https://github.com/bitwarden/server synced 2025-12-20 10:13:39 +00:00

change payment methods between stripe and paypal

This commit is contained in:
Kyle Spearrin
2019-01-31 12:11:30 -05:00
parent fca1ee4253
commit 952d624d72
8 changed files with 172 additions and 52 deletions

View File

@@ -1,15 +1,18 @@
using Bit.Core.Enums;
using System;
using Bit.Core.Enums;
using Bit.Core.Services;
namespace Bit.Core.Models.Table
{
public interface ISubscriber
{
Guid Id { get; }
GatewayType? Gateway { get; set; }
string GatewayCustomerId { get; set; }
string GatewaySubscriptionId { get; set; }
string BillingEmailAddress();
string BillingName();
string BraintreeCustomerIdPrefix();
IPaymentService GetPaymentService(GlobalSettings globalSettings);
}
}