using System; using System.Collections.Generic; using BTCPayServer.JsonConverters; using Newtonsoft.Json; using Newtonsoft.Json.Linq; namespace BTCPayServer.Client.Models { public class PaymentRequestBaseData { public string StoreId { get; set; } [JsonProperty(ItemConverterType = typeof(NumericStringJsonConverter))] public decimal Amount { get; set; } public string Currency { get; set; } [JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))] public DateTimeOffset? ExpiryDate { get; set; } public string Title { get; set; } public string Description { get; set; } public string Email { get; set; } public bool AllowCustomPaymentAmounts { get; set; } [JsonExtensionData] public IDictionary AdditionalData { get; set; } public string FormId { get; set; } public JObject FormResponse { get; set; } } }