btcpayserver/BTCPayServer/Shitcoins/Monero/Payments/MoneroLikeOnChainPaymentMethodDetails.cs
2019-09-30 17:51:47 +09:00

30 lines
827 B
C#

using BTCPayServer.Payments;
namespace BTCPayServer.Shitcoins.Monero.Payments
{
public class MoneroLikeOnChainPaymentMethodDetails : IPaymentMethodDetails
{
public PaymentType GetPaymentType()
{
return MoneroPaymentType.Instance;
}
public string GetPaymentDestination()
{
return DepositAddress;
}
public decimal GetNextNetworkFee()
{
return NextNetworkFee;
}
public void SetPaymentDestination(string newPaymentDestination)
{
DepositAddress = newPaymentDestination;
}
public long AccountIndex { get; set; }
public long AddressIndex { get; set; }
public string DepositAddress { get; set; }
public decimal NextNetworkFee { get; set; }
}
}