Try your search with a different keyword or use * as a wildcard.
using Microsoft.AspNetCore.Http;
using Newtonsoft.Json;
namespace Nop.Plugin.Misc.Zettle.Domain.Api.Product;
///
/// Represents request to create discount
///
public class CreateDiscountRequest : ProductApiRequest
{
///
/// Gets or sets the unique identifier as UUID version 1
///
[JsonProperty(PropertyName = "uuid")]
public string Uuid { get; set; }
///
/// Gets or sets the name
///
[JsonProperty(PropertyName = "name")]
public string Name { get; set; }
///
/// Gets or sets the description
///
[JsonProperty(PropertyName = "description")]
public string Description { get; set; }
///
/// Gets or sets the external reference
///
[JsonProperty(PropertyName = "externalReference")]
public string ExternalReference { get; set; }
///
/// Gets or sets the amount
///
[JsonProperty(PropertyName = "amount")]
public Discount.DiscountAmount Amount { get; set; }
///
/// Gets or sets the percentage
///
[JsonProperty(PropertyName = "percentage")]
public decimal? Percentage { get; set; }
///
/// Gets or sets the image lookup keys
///
[JsonProperty(PropertyName = "imageLookupKeys")]
public List ImageLookupKeys { get; set; }
///
/// Gets the request path
///
[JsonIgnore]
public override string Path => "organizations/self/discounts";
///
/// Gets the request method
///
[JsonIgnore]
public override string Method => HttpMethods.Post;
}