Greenfield: Make checkout type V2 default for new stores (#5495)

This commit is contained in:
d11n
2023-11-21 13:38:01 +01:00
committed by GitHub
parent 5ad320ee4b
commit 2e4313bf18
5 changed files with 15 additions and 7 deletions

View File

@@ -37,8 +37,11 @@ namespace BTCPayServer.Client.Models
public bool AnyoneCanCreateInvoice { get; set; }
public string DefaultCurrency { get; set; }
public bool RequiresRefundEmail { get; set; }
[JsonConverter(typeof(StringEnumConverter))]
public CheckoutType CheckoutType { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public CheckoutType? CheckoutType { get; set; }
public bool LightningAmountInSatoshi { get; set; }
public bool LightningPrivateRouteHints { get; set; }
public bool OnChainWithLnInvoiceFallback { get; set; }