This commit is contained in:
Kukks
2024-04-11 15:10:57 +02:00
parent 71cb4c3f82
commit 215edd5b0a
18 changed files with 1352 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
using System;
using Newtonsoft.Json;
namespace BTCPayServer.Plugins.Subscriptions;
public class SubscriptionPaymentHistory
{
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
public DateTimeOffset PeriodStart { get; set; }
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
public DateTimeOffset PeriodEnd { get; set; }
public string PaymentRequestId { get; set; }
public bool Settled { get; set; }
}