| | | 1 | | using Newtonsoft.Json; |
| | | 2 | | using Services.ApiServices.ArmtekApi.Converters; |
| | | 3 | | |
| | | 4 | | namespace Services.ApiServices.ArmtekApi.Models.Response; |
| | | 5 | | |
| | | 6 | | /// <summary>search (проценка товара) — элемент RESP[].</summary> |
| | | 7 | | public class ArmtekSearchItem |
| | | 8 | | { |
| | | 9 | | /// <summary>Уникальный ID предложения — нужен для createOrder/createTestOrder (в этом модуле не реализованы).</summ |
| | 8 | 10 | | [JsonProperty("ARTID")] public string ArtId { get; set; } = string.Empty; |
| | | 11 | | |
| | 8 | 12 | | [JsonProperty("PARNR")] public string PartnerWarehouseCode { get; set; } = string.Empty; |
| | 8 | 13 | | [JsonProperty("KEYZAK")] public string Keyzak { get; set; } = string.Empty; |
| | 7 | 14 | | [JsonProperty("PIN")] public string Pin { get; set; } = string.Empty; |
| | 7 | 15 | | [JsonProperty("BRAND")] public string Brand { get; set; } = string.Empty; |
| | 8 | 16 | | [JsonProperty("NAME")] public string Name { get; set; } = string.Empty; |
| | | 17 | | |
| | | 18 | | [JsonProperty("RVALUE")] |
| | | 19 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 7 | 20 | | public string? Rvalue { get; set; } |
| | | 21 | | |
| | | 22 | | [JsonProperty("RETDAYS")] |
| | | 23 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 2 | 24 | | public string? RetDays { get; set; } |
| | | 25 | | |
| | 4 | 26 | | [JsonProperty("RDPRF")] public string Rdprf { get; set; } = string.Empty; |
| | 4 | 27 | | [JsonProperty("MINBM")] public string Minbm { get; set; } = string.Empty; |
| | | 28 | | |
| | | 29 | | [JsonProperty("VENSL")] |
| | | 30 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 2 | 31 | | public string? Vensl { get; set; } |
| | | 32 | | |
| | | 33 | | [JsonProperty("PRICE")] |
| | | 34 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 11 | 35 | | public string? Price { get; set; } |
| | | 36 | | |
| | 8 | 37 | | [JsonProperty("WAERS")] public string Currency { get; set; } = string.Empty; |
| | 8 | 38 | | [JsonProperty("DLVDT")] public string DeliveryDate { get; set; } = string.Empty; |
| | 4 | 39 | | [JsonProperty("WRNTDT")] public string GuaranteedDeliveryDate { get; set; } = string.Empty; |
| | | 40 | | |
| | | 41 | | /// <summary>"X" = аналог (не оригинальный запрошенный PIN/BRAND).</summary> |
| | 6 | 42 | | [JsonProperty("ANALOG")] public string Analog { get; set; } = string.Empty; |
| | | 43 | | |
| | | 44 | | /// <summary>Импорт/производитель: I/IP/PP.</summary> |
| | 3 | 45 | | [JsonProperty("TYPEB")] public string TypeB { get; set; } = string.Empty; |
| | | 46 | | |
| | | 47 | | /// <summary>Признак "Постановление 713".</summary> |
| | 3 | 48 | | [JsonProperty("DSPEC")] public string Dspec { get; set; } = string.Empty; |
| | | 49 | | |
| | | 50 | | [JsonProperty("RCOST")] |
| | | 51 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 0 | 52 | | public string? Rcost { get; set; } |
| | | 53 | | |
| | 3 | 54 | | [JsonProperty("PNOTE")] public string Note { get; set; } = string.Empty; |
| | | 55 | | } |