mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-01-18 21:32:27 +01:00
4c303d358b
* Remove deprecated CSS options Closes #5945. * Greenfield: Add brandColor to store APIs Closes #5946. * Migrate file IDs to URLs Closes #5953. * Greenfield: Add CSS and logo URL to store settings API Closes #5945. * Add migration test * Store and Server branding can reference file's via fileid:ID * Add PaymentSoundUrl to Store API --------- Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
30 lines
969 B
C#
30 lines
969 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
|
|
{
|
|
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<string, JToken> AdditionalData { get; set; }
|
|
|
|
public string FormId { get; set; }
|
|
|
|
public JObject FormResponse { get; set; }
|
|
}
|
|
}
|