mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 02:28:31 +01:00
27 lines
838 B
C#
27 lines
838 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using BTCPayServer.JsonConverters;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class PaymentRequestBaseData
|
|
{
|
|
[JsonProperty(ItemConverterType = typeof(NumericStringJsonConverter))]
|
|
public decimal Amount { get; set; }
|
|
public string Currency { get; set; }
|
|
public DateTime? ExpiryDate { get; set; }
|
|
public string Title { get; set; }
|
|
public string Description { get; set; }
|
|
public string Email { get; set; }
|
|
|
|
public string EmbeddedCSS { get; set; }
|
|
public string CustomCSSLink { get; set; }
|
|
public bool AllowCustomPaymentAmounts { get; set; }
|
|
|
|
[JsonExtensionData]
|
|
public IDictionary<string, JToken> AdditionalData { get; set; }
|
|
}
|
|
}
|