mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-22 14:22:40 +01:00
25 lines
694 B
C#
25 lines
694 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Events
|
|
{
|
|
public class InvoiceNewAddressEvent
|
|
{
|
|
public InvoiceNewAddressEvent(string invoiceId, string address, BTCPayNetwork network)
|
|
{
|
|
Address = address;
|
|
InvoiceId = invoiceId;
|
|
Network = network;
|
|
}
|
|
|
|
public string Address { get; set; }
|
|
public string InvoiceId { get; set; }
|
|
public BTCPayNetwork Network { get; set; }
|
|
public override string ToString()
|
|
{
|
|
return $"{Network.CryptoCode}: New address {Address} for invoice {InvoiceId}";
|
|
}
|
|
}
|
|
}
|