Use enum for invoice status and invoice exception

This commit is contained in:
nicolas.dorier
2018-12-10 21:48:28 +09:00
parent 7b24c02d51
commit 0d06cf63b7
11 changed files with 153 additions and 82 deletions

View File

@@ -81,11 +81,11 @@ namespace BTCPayServer.Models.InvoicingModels
public string BOLT11 { get; set; }
}
public string Status
public string State
{
get; set;
}
public string StatusException { get; set; }
public InvoiceExceptionStatus StatusException { get; set; }
public DateTimeOffset CreatedDate
{
get; set;