mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-19 05:33:31 +01:00
13 lines
414 B
C#
13 lines
414 B
C#
|
#nullable enable
|
||
|
using BTCPayServer;
|
||
|
|
||
|
namespace BTCPayServer.Services;
|
||
|
public abstract class TransactionLinkProvider
|
||
|
{
|
||
|
public abstract string? OverrideBlockExplorerLink { get; set; }
|
||
|
public abstract string? BlockExplorerLinkDefault { get; }
|
||
|
|
||
|
public string? BlockExplorerLink => OverrideBlockExplorerLink ?? BlockExplorerLinkDefault;
|
||
|
public abstract string? GetTransactionLink(string paymentId);
|
||
|
}
|