btcpayserver/BTCPayServer/Events/InvoicePaymentMethodActivated.cs
2021-05-14 17:17:46 +09:00

25 lines
654 B
C#

using BTCPayServer.Payments;
using BTCPayServer.Services.Invoices;
namespace BTCPayServer.Events
{
public class InvoicePaymentMethodActivated : IHasInvoiceId
{
public PaymentMethodId PaymentMethodId { get; }
public InvoiceEntity InvoiceEntity { get; }
public InvoicePaymentMethodActivated(PaymentMethodId paymentMethodId, InvoiceEntity invoiceEntity)
{
PaymentMethodId = paymentMethodId;
InvoiceEntity = invoiceEntity;
}
public string InvoiceId => InvoiceEntity.Id;
public override string ToString()
{
return string.Empty;
}
}
}