Move checkout registration to the UI Extension

This commit is contained in:
nicolas.dorier
2024-10-07 17:38:02 +09:00
parent ef0ba7b0c4
commit e1bfc04451
21 changed files with 31 additions and 100 deletions

View File

@@ -9,7 +9,7 @@ namespace BTCPayServer.Models.InvoicingModels
{
public class PaymentModel
{
public CheckoutUIPaymentMethodSettings UISettings;
public string CheckoutBodyComponentName { get; set; }
public class AvailableCrypto
{
[JsonConverter(typeof(PaymentMethodIdJsonConverter))]
@@ -80,9 +80,6 @@ namespace BTCPayServer.Models.InvoicingModels
public string ReceiptLink { get; set; }
public int? RequiredConfirmations { get; set; }
public long? ReceivedConfirmations { get; set; }
[JsonIgnore]
public HashSet<string> ExtensionPartials { get; } = new HashSet<string>();
[JsonExtensionData]
public Dictionary<string, JToken> AdditionalData { get; set; } = new();
}