btcpayserver/BTCPayServer/Events/InvoiceNeedUpdateEvent.cs

21 lines
436 B
C#
Raw Normal View History

2020-06-28 21:44:35 -05:00
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()
{
2021-11-05 00:09:38 +09:00
return $"Invoice {InvoiceId} needs update";
}
}
}