Files
btcpayserver/BTCPayServer/Events/InvoiceStatusChangedEvent.cs
2017-12-17 14:17:42 +09:00

20 lines
473 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace BTCPayServer.Events
{
public class InvoiceStatusChangedEvent
{
public string InvoiceId { get; set; }
public string OldState { get; set; }
public string NewState { get; set; }
public override string ToString()
{
return $"Invoice {InvoiceId} changed status: {OldState} => {NewState}";
}
}
}