mirror of
https://github.com/btcpayserver/btcpayserver.git
synced 2025-02-23 22:46:49 +01:00
18 lines
499 B
C#
18 lines
499 B
C#
|
using System;
|
||
|
using BTCPayServer.Lightning;
|
||
|
using BTCPayServer.Lightning.JsonConverters;
|
||
|
using Newtonsoft.Json;
|
||
|
|
||
|
namespace BTCPayServer.Client.Models
|
||
|
{
|
||
|
public class CreateLightningInvoiceRequest
|
||
|
{
|
||
|
[JsonProperty(ItemConverterType = typeof(LightMoneyJsonConverter))]
|
||
|
public LightMoney Amount { get; set; }
|
||
|
public string Description { get; set; }
|
||
|
public TimeSpan Expiry { get; set; }
|
||
|
public bool LightningPrivateRouteHints { get; set; }
|
||
|
|
||
|
}
|
||
|
}
|