mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
24 lines
706 B
C#
24 lines
706 B
C#
namespace BTCPayServer.Payments
|
|
{
|
|
/// <summary>
|
|
/// Represent information necessary to track a payment
|
|
/// </summary>
|
|
public interface IPaymentMethodDetails
|
|
{
|
|
/// <summary>
|
|
/// A string representation of the payment destination
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
string GetPaymentDestination();
|
|
PaymentType GetPaymentType();
|
|
/// <summary>
|
|
/// Returns fee that the merchant charge to the customer for the next payment
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
decimal GetNextNetworkFee();
|
|
|
|
bool Activated { get; set; }
|
|
virtual string GetAdditionalDataPartialName() => null;
|
|
}
|
|
}
|