using Microsoft.AspNetCore.Http; using Newtonsoft.Json; namespace Nop.Plugin.Misc.Zettle.Domain.Api.Product; /// /// Represents request to get the single product /// public class GetProductRequest : ProductApiRequest, IConditionalRequest { /// /// Gets or sets the product unique identifier as UUID version 1 /// [JsonIgnore] public string Uuid { get; set; } /// /// Gets or sets the ETag header value /// [JsonIgnore] public string ETag { get; set; } /// /// Gets the request path /// public override string Path => $"organizations/self/products/{Uuid}"; /// /// Gets the request method /// public override string Method => HttpMethods.Get; }