using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; using NBitcoin; namespace BTCPayServer.Payments { /// /// Represent information necessary to track a payment /// public interface IPaymentMethodDetails { /// /// A string representation of the payment destination /// /// string GetPaymentDestination(); PaymentTypes GetPaymentType(); /// /// Returns fee that the merchant charge to the customer for the next payment /// /// decimal GetNextNetworkFee(); /// /// Change the payment destination (internal plumbing) /// /// void SetPaymentDestination(string newPaymentDestination); } }