btcpayserver/BTCPayServer/Services/Altcoins/Monero/Payments/MoneroSupportedPaymentMethod.cs

17 lines
439 B
C#
Raw Normal View History

#if ALTCOINS
2019-09-30 10:32:43 +02:00
using BTCPayServer.Payments;
using Newtonsoft.Json;
2019-09-30 10:32:43 +02:00
namespace BTCPayServer.Services.Altcoins.Monero.Payments
2019-09-30 10:32:43 +02:00
{
public class MoneroSupportedPaymentMethod : ISupportedPaymentMethod
{
public string CryptoCode { get; set; }
public long AccountIndex { get; set; }
[JsonIgnore]
2019-09-30 10:32:43 +02:00
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, MoneroPaymentType.Instance);
}
}
2020-07-28 22:48:51 +02:00
#endif