2024-04-04 09:31:04 +02:00
|
|
|
using Newtonsoft.Json;
|
|
|
|
using Newtonsoft.Json.Linq;
|
|
|
|
|
2021-12-31 08:59:02 +01:00
|
|
|
namespace BTCPayServer.Client.Models
|
2021-07-23 10:05:15 +02:00
|
|
|
{
|
|
|
|
public class GenericPaymentMethodData
|
|
|
|
{
|
|
|
|
public bool Enabled { get; set; }
|
2024-04-04 09:31:04 +02:00
|
|
|
[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; }
|
2021-07-23 10:05:15 +02:00
|
|
|
}
|
|
|
|
}
|