mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2024-11-20 10:40:29 +01:00
23 lines
587 B
C#
23 lines
587 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
using Newtonsoft.Json.Converters;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class PaymentRequestData : PaymentRequestBaseData
|
|
{
|
|
[JsonConverter(typeof(StringEnumConverter))]
|
|
public PaymentRequestData.PaymentRequestStatus Status { get; set; }
|
|
public DateTimeOffset Created { get; set; }
|
|
public string Id { get; set; }
|
|
public bool Archived { get; set; }
|
|
|
|
public enum PaymentRequestStatus
|
|
{
|
|
Pending = 0,
|
|
Completed = 1,
|
|
Expired = 2
|
|
}
|
|
}
|
|
}
|