using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Nop.Plugin.Misc.Zettle.Domain.Api.Image; /// /// Represents request to get the image /// public class GetImageRequest : ImageApiRequest { /// /// Gets or sets the image lookup key /// [JsonIgnore] public string ImageLookupKey { get; set; } /// /// Gets the request path /// public override string Path => $"v2/images/organizations/self/product/{ImageLookupKey}"; /// /// Gets the request method /// public override string Method => HttpMethods.Get; }