From ac3432920ace1d3daf98c156906aef1e697b1561 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Thu, 21 Feb 2019 18:42:12 +0900 Subject: [PATCH] Fix build --- BTCPayServer/Models/CreateInvoiceRequest.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/BTCPayServer/Models/CreateInvoiceRequest.cs b/BTCPayServer/Models/CreateInvoiceRequest.cs index f8ae601a2..bf7784158 100644 --- a/BTCPayServer/Models/CreateInvoiceRequest.cs +++ b/BTCPayServer/Models/CreateInvoiceRequest.cs @@ -54,10 +54,10 @@ namespace BTCPayServer.Models public string OrderId { get; set; } [JsonProperty(PropertyName = "currency", DefaultValueHandling = DefaultValueHandling.Ignore)] public string Currency { get; set; } + [JsonProperty(PropertyName = "price", DefaultValueHandling = DefaultValueHandling.Ignore)] + public decimal Price { get; set; } [JsonProperty(PropertyName = "notificationEmail", DefaultValueHandling = DefaultValueHandling.Ignore)] public string NotificationEmail { get; set; } - [JsonProperty(PropertyName = "id", DefaultValueHandling = DefaultValueHandling.Ignore)] - public string Id { get; set; } [JsonConverter(typeof(DateTimeJsonConverter))] [JsonProperty(PropertyName = "expirationTime", DefaultValueHandling = DefaultValueHandling.Ignore)] public DateTimeOffset? ExpirationTime { get; set; }