mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-07 08:04:29 +01:00
* LNURL Payment Method Support * Merge recent Lightning controller related changes * Fix build * Create separate payment settings section for stores * Improve LNURL configuration * Prevent duplicate array entries when merging Swagger JSON * Fix CanSetPaymentMethodLimitsLightning * Fix CanUsePayjoinViaUI * Adapt test for new cancel bolt invoice feature * rebase fixes * Fixes after rebase * Test fixes * Do not turn LNURL on by default, Off-Chain payment criteria should affects both BOLT11 and LNURL, Payment criteria of unset payment method shouldn't be shown * Send better error if payment method not found * Revert "Prevent duplicate array entries when merging Swagger JSON" This reverts commit 5783db9eda17c29908a60fdef2c3ebe130a8b059. * Fix LNUrl doc * Fix some warnings Co-authored-by: Dennis Reimann <mail@dennisreimann.de> Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
24 lines
704 B
C#
24 lines
704 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;
|
|
}
|
|
}
|