using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Nop.Plugin.Misc.Zettle.Domain.Api.Pusher; /// /// Represents request to delete the webhook subscription /// public class DeleteSubscriptionsRequest : PusherApiRequest { /// /// Gets or sets the subscription unique identifier as UUID version 1 /// [JsonIgnore] public string Uuid { get; set; } /// /// Gets the request path /// public override string Path => $"organizations/self/subscriptions/{Uuid}"; /// /// Gets the request method /// public override string Method => HttpMethods.Delete; }