FruitBank/Plugins/Nop.Plugin.Misc.Zettle/Domain/Api/Inventory/LocationList.cs

27 lines
735 B
C#

using Newtonsoft.Json;
namespace Nop.Plugin.Misc.Zettle.Domain.Api.Inventory;
/// <summary>
/// Represents the locations details
/// </summary>
public class LocationList : List<Location>, IApiResponse
{
/// <summary>
/// Gets or sets the error message
/// </summary>
[JsonProperty(PropertyName = "error")]
public string Error { get; set; }
/// <summary>
/// Gets or sets the error description
/// </summary>
[JsonProperty(PropertyName = "error_description")]
public string ErrorDescription { get; set; }
/// <summary>
/// Gets or sets the developer message
/// </summary>
[JsonProperty(PropertyName = "developerMessage")]
public string DeveloperMessage { get; set; }
}