mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
27 lines
953 B
C#
27 lines
953 B
C#
|
using System;
|
|||
|
using System.Collections.Generic;
|
|||
|
using System.Text;
|
|||
|
using BTCPayServer.Client.JsonConverters;
|
|||
|
using BTCPayServer.JsonConverters;
|
|||
|
using Newtonsoft.Json;
|
|||
|
|
|||
|
namespace BTCPayServer.Client.Models
|
|||
|
{
|
|||
|
public class PullPaymentData
|
|||
|
{
|
|||
|
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
|
|||
|
public DateTimeOffset StartsAt { get; set; }
|
|||
|
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
|
|||
|
public DateTimeOffset? ExpiresAt { get; set; }
|
|||
|
public string Id { get; set; }
|
|||
|
public string Name { get; set; }
|
|||
|
public string Currency { get; set; }
|
|||
|
[JsonConverter(typeof(DecimalStringJsonConverter))]
|
|||
|
public decimal Amount { get; set; }
|
|||
|
[JsonConverter(typeof(TimeSpanJsonConverter))]
|
|||
|
public TimeSpan? Period { get; set; }
|
|||
|
public bool Archived { get; set; }
|
|||
|
public string ViewLink { get; set; }
|
|||
|
}
|
|||
|
}
|