btcpayserver/BTCPayServer.Client/Models/GenericPaymentMethodData.cs

23 lines
578 B
C#
Raw Permalink Normal View History

using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
2021-12-31 08:59:02 +01:00
namespace BTCPayServer.Client.Models
{
public class GenericPaymentMethodData
{
public bool Enabled { get; set; }
[JsonProperty(DefaultValueHandling = DefaultValueHandling.Ignore)]
public JToken Config { get; set; }
public string PaymentMethodId { get; set; }
}
public class UpdatePaymentMethodRequest
{
public UpdatePaymentMethodRequest()
{
}
public bool? Enabled { get; set; }
public JToken Config { get; set; }
}
}