btcpayserver/BTCPayServer/Payments/Lightning/LightningLikePaymentMethodDetails.cs

30 lines
644 B
C#
Raw Normal View History

namespace BTCPayServer.Payments.Lightning
{
public class LightningLikePaymentMethodDetails : IPaymentMethodDetails
{
public string BOLT11 { get; set; }
public string InvoiceId { get; set; }
public string NodeInfo { get; set; }
public string GetPaymentDestination()
{
return BOLT11;
}
2019-06-04 09:40:36 +09:00
public PaymentType GetPaymentType()
{
return PaymentTypes.LightningLike;
}
2019-01-07 15:35:18 +09:00
public decimal GetNextNetworkFee()
{
return 0.0m;
}
2020-06-28 17:55:27 +09:00
public decimal GetFeeRate()
{
return 0.0m;
}
}
}