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

16 lines
439 B
C#

#if ALTCOINS
using BTCPayServer.Payments;
using Newtonsoft.Json;
namespace BTCPayServer.Services.Altcoins.Monero.Payments
{
public class MoneroSupportedPaymentMethod : ISupportedPaymentMethod
{
public string CryptoCode { get; set; }
public long AccountIndex { get; set; }
[JsonIgnore]
public PaymentMethodId PaymentId => new PaymentMethodId(CryptoCode, MoneroPaymentType.Instance);
}
}
#endif