mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-28 08:54:13 +01:00
31 lines
817 B
C#
31 lines
817 B
C#
|
using BTCPayServer.Payments;
|
||
|
|
||
|
namespace BTCPayServer.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; }
|
||
|
}
|
||
|
}
|