mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2025-12-17 14:04:26 +01:00
* Greenfield: Refactor app endpoints - Do not change unset data - Clean up difference between request (template) and data (items/perks) - Add missing properties (form id and custom tip percentage) - Update docs * Revert ToSettings changes in GreenfieldAppsController
22 lines
569 B
C#
22 lines
569 B
C#
using System;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace BTCPayServer.Client.Models;
|
|
|
|
public class AppBaseData
|
|
{
|
|
public string Id { get; set; }
|
|
public string AppType { get; set; }
|
|
public string AppName { get; set; }
|
|
public string StoreId { get; set; }
|
|
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
|
|
public bool? Archived { get; set; }
|
|
[JsonConverter(typeof(NBitcoin.JsonConverters.DateTimeToUnixTimeConverter))]
|
|
public DateTimeOffset Created { get; set; }
|
|
}
|
|
|
|
public interface IAppRequest
|
|
{
|
|
public string AppName { get; set; }
|
|
}
|