btcpayserver/BTCPayServer/Plugins/Shopify/ApiModels/CreateWebhookResponse.cs
Andrew Camilleri 5de93f8cc4
Abstract Store integrations (#2384)
* Decouple Shopify from Store

* Decouple shopify from store blob

* Update BTCPayServer.Tests.csproj

* Make sure shopify obj is set

* make shopify a system plugin
2021-04-08 13:37:05 +09:00

35 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using Newtonsoft.Json;
namespace BTCPayServer.Plugins.Shopify.ApiModels
{
public class CreateWebhookResponse
{
[JsonProperty("webhook")] public Webhook Webhook { get; set; }
}
public class Webhook
{
[JsonProperty("id")] public int Id { get; set; }
[JsonProperty("address")] public string Address { get; set; }
[JsonProperty("topic")] public string Topic { get; set; }
[JsonProperty("created_at")] public DateTime CreatedAt { get; set; }
[JsonProperty("updated_at")] public DateTime UpdatedAt { get; set; }
[JsonProperty("format")] public string Format { get; set; }
[JsonProperty("fields")] public List<object> Fields { get; set; }
[JsonProperty("metafield_namespaces")] public List<object> MetafieldNamespaces { get; set; }
[JsonProperty("api_version")] public string ApiVersion { get; set; }
[JsonProperty("private_metafield_namespaces")]
public List<object> PrivateMetafieldNamespaces { get; set; }
}
}