mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
21 lines
436 B
C#
21 lines
436 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Events
|
|
{
|
|
public class InvoiceNeedUpdateEvent
|
|
{
|
|
public InvoiceNeedUpdateEvent(string invoiceId)
|
|
{
|
|
ArgumentNullException.ThrowIfNull(invoiceId);
|
|
InvoiceId = invoiceId;
|
|
}
|
|
|
|
public string InvoiceId { get; set; }
|
|
|
|
public override string ToString()
|
|
{
|
|
return $"Invoice {InvoiceId} needs update";
|
|
}
|
|
}
|
|
}
|