mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
20 lines
691 B
C#
20 lines
691 B
C#
using System.Collections.Generic;
|
|
using System.Threading.Tasks;
|
|
using BTCPayServer.Data;
|
|
using BTCPayServer.Payments;
|
|
using BTCPayServer.Payouts;
|
|
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, PayoutMethodId payoutMethodId, HttpRequest request);
|
|
public IEnumerable<PayoutMethodId> GetSupportedPayoutMethods();
|
|
public Task<IHostedService> ConstructProcessor(PayoutProcessorData settings);
|
|
public Task<bool> CanRemove() => Task.FromResult(true);
|
|
}
|