mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-19 18:11:36 +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";
|
|
}
|
|
}
|
|
}
|