2020-09-18 17:20:31 +02:00
|
|
|
using System;
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
2021-04-08 06:37:05 +02:00
|
|
|
namespace BTCPayServer.Plugins.Shopify.ApiModels
|
2020-09-18 17:20:31 +02:00
|
|
|
{
|
|
|
|
public class CreateScriptResponse
|
|
|
|
{
|
|
|
|
[JsonProperty("script_tag")]
|
|
|
|
public ScriptTag ScriptTag { get; set; }
|
|
|
|
}
|
2021-12-31 16:59:02 +09:00
|
|
|
|
|
|
|
public class ScriptTag
|
|
|
|
{
|
2020-09-18 17:20:31 +02:00
|
|
|
[JsonProperty("id")]
|
2021-12-31 16:59:02 +09:00
|
|
|
public int Id { get; set; }
|
2020-09-18 17:20:31 +02:00
|
|
|
|
|
|
|
[JsonProperty("src")]
|
2021-12-31 16:59:02 +09:00
|
|
|
public string Src { get; set; }
|
2020-09-18 17:20:31 +02:00
|
|
|
|
|
|
|
[JsonProperty("event")]
|
2021-12-31 16:59:02 +09:00
|
|
|
public string Event { get; set; }
|
2020-09-18 17:20:31 +02:00
|
|
|
|
|
|
|
[JsonProperty("created_at")]
|
2021-12-31 16:59:02 +09:00
|
|
|
public DateTime CreatedAt { get; set; }
|
2020-09-18 17:20:31 +02:00
|
|
|
|
|
|
|
[JsonProperty("updated_at")]
|
2021-12-31 16:59:02 +09:00
|
|
|
public DateTime UpdatedAt { get; set; }
|
2020-09-18 17:20:31 +02:00
|
|
|
|
|
|
|
[JsonProperty("display_scope")]
|
2021-12-31 16:59:02 +09:00
|
|
|
public string DisplayScope { get; set; }
|
2020-09-18 17:20:31 +02:00
|
|
|
}
|
|
|
|
}
|