mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 14:40:36 +01:00
* GreenField: Payment Requests CRUD * fixes * fix swagger * fix swag * rebase fixes * Add new permissions for payment requests * Adapt PR to archive * fix tst * add to contains policxy * make decimals returned as string due to avoid shitty language parsing issues * do not register decimal json converter as global * fix cultureinfo for json covnerter * pr changes * add json convertet test * fix json test * fix rebase
19 lines
No EOL
476 B
C#
19 lines
No EOL
476 B
C#
using System;
|
|
|
|
namespace BTCPayServer.Client.Models
|
|
{
|
|
public class PaymentRequestData : PaymentRequestBaseData
|
|
{
|
|
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
|
|
}
|
|
}
|
|
} |