mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
19 lines
667 B
C#
19 lines
667 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Payments;
|
|
using Microsoft.AspNetCore.Http;
|
|
using Microsoft.Extensions.Hosting;
|
|
|
|
namespace BTCPayServer.PayoutProcessors;
|
|
|
|
public interface IPayoutProcessorFactory
|
|
{
|
|
public string Processor { get; }
|
|
public string FriendlyName { get; }
|
|
public string ConfigureLink(string storeId, PaymentMethodId paymentMethodId, HttpRequest request);
|
|
public IEnumerable<PaymentMethodId> GetSupportedPaymentMethods();
|
|
public Task<IHostedService> ConstructProcessor(PayoutProcessorData settings);
|
|
public Task<bool> CanRemove() => Task.FromResult(true);
|
|
}
|