Greenfield: Add missing checkout (V2) settings (#5406)

* Greenfield: Add missing checkout (V2) settings

Closes #5403.

* Fix swagger
This commit is contained in:
d11n
2023-10-18 12:20:05 +02:00
committed by GitHub
parent ec076d1560
commit 097ffbf8a3
4 changed files with 56 additions and 5 deletions

View File

@@ -73,6 +73,17 @@ namespace BTCPayServer.Client.Models
public bool PayJoinEnabled { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? AutoDetectLanguage { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? ShowPayInWalletButton { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? ShowStoreHeader { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? CelebratePayment { get; set; }
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public bool? PlaySoundOnPayment { get; set; }
public InvoiceData.ReceiptOptions Receipt { get; set; }