Rename more legacy fields

This commit is contained in:
nicolas.dorier
2024-10-07 21:14:37 +09:00
parent 968223a953
commit 68f24e47cd
8 changed files with 13 additions and 17 deletions

View File

@@ -10,7 +10,7 @@ namespace BTCPayServer.Models.InvoicingModels
public class CheckoutModel
{
public string CheckoutBodyComponentName { get; set; }
public class AvailableCrypto
public class AvailablePaymentMethod
{
[JsonConverter(typeof(PaymentMethodIdJsonConverter))]
public PaymentMethodId PaymentMethodId { get; set; }
@@ -29,7 +29,7 @@ namespace BTCPayServer.Models.InvoicingModels
public string DefaultLang { get; set; }
public bool ShowPayInWalletButton { get; set; }
public bool ShowStoreHeader { get; set; }
public List<AvailableCrypto> AvailableCryptos { get; set; } = new();
public List<AvailablePaymentMethod> AvailablePaymentMethods { get; set; } = new();
public bool IsModal { get; set; }
public bool IsUnsetTopUp { get; set; }
public bool OnChainWithLnInvoiceFallback { get; set; }