btcpayserver/BTCPayServer/Services/Altcoins/Zcash/Payments/ZcashSupportedPaymentMethod.cs

16 lines
436 B
C#

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