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