| | | 1 | | using Newtonsoft.Json; |
| | | 2 | | using Services.ApiServices.ArmtekApi.Converters; |
| | | 3 | | |
| | | 4 | | namespace Services.ApiServices.ArmtekApi.Models.Response; |
| | | 5 | | |
| | | 6 | | /// <summary>getInvoice — RESP.ITEMS[].</summary> |
| | | 7 | | public class ArmtekInvoiceItem |
| | | 8 | | { |
| | | 9 | | [JsonProperty("POSNR")] |
| | | 10 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 67 | 11 | | public string? Posnr { get; set; } |
| | | 12 | | |
| | 80 | 13 | | [JsonProperty("MATNR")] public string Matnr { get; set; } = string.Empty; |
| | 67 | 14 | | [JsonProperty("PIN")] public string Pin { get; set; } = string.Empty; |
| | | 15 | | |
| | | 16 | | /// <summary>Номер ГТД.</summary> |
| | 67 | 17 | | [JsonProperty("GTD")] public string Gtd { get; set; } = string.Empty; |
| | | 18 | | |
| | 67 | 19 | | [JsonProperty("BRAND")] public string Brand { get; set; } = string.Empty; |
| | 77 | 20 | | [JsonProperty("NAME")] public string Name { get; set; } = string.Empty; |
| | | 21 | | |
| | | 22 | | [JsonProperty("AMOUNT")] |
| | | 23 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 67 | 24 | | public string? Amount { get; set; } |
| | | 25 | | |
| | 67 | 26 | | [JsonProperty("WEIGHT")] public string Weight { get; set; } = string.Empty; |
| | 67 | 27 | | [JsonProperty("VOLUM")] public string Volume { get; set; } = string.Empty; |
| | | 28 | | |
| | | 29 | | [JsonProperty("PRICE")] |
| | | 30 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 67 | 31 | | public string? Price { get; set; } |
| | | 32 | | |
| | | 33 | | [JsonProperty("SUMMA")] |
| | | 34 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 67 | 35 | | public string? Summa { get; set; } |
| | | 36 | | |
| | | 37 | | /// <summary>Уже возвращено.</summary> |
| | | 38 | | [JsonProperty("RETMG")] |
| | | 39 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 67 | 40 | | public string? Retmg { get; set; } |
| | | 41 | | |
| | | 42 | | /// <summary>"X" = возврат этой позиции невозможен.</summary> |
| | 68 | 43 | | [JsonProperty("NORET")] public string NoReturn { get; set; } = string.Empty; |
| | | 44 | | |
| | 40 | 45 | | [JsonProperty("MINBM")] public string Minbm { get; set; } = string.Empty; |
| | 53 | 46 | | [JsonProperty("RDPRF")] public string Rdprf { get; set; } = string.Empty; |
| | | 47 | | |
| | | 48 | | /// <summary>Куплено со скидкой по шкале.</summary> |
| | 40 | 49 | | [JsonProperty("SCAL")] public string ScaleDiscount { get; set; } = string.Empty; |
| | | 50 | | |
| | | 51 | | /// <summary>Дней на возврат.</summary> |
| | | 52 | | [JsonProperty("DRE")] |
| | | 53 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 52 | 54 | | public string? ReturnDays { get; set; } |
| | | 55 | | |
| | 67 | 56 | | [JsonProperty("ORDER")] public string Order { get; set; } = string.Empty; |
| | 67 | 57 | | [JsonProperty("ORDER_POS")] public string OrderPosition { get; set; } = string.Empty; |
| | 66 | 58 | | [JsonProperty("ORDER_NOTE")] public string OrderNote { get; set; } = string.Empty; |
| | 67 | 59 | | [JsonProperty("COUNTRY")] public string Country { get; set; } = string.Empty; |
| | | 60 | | |
| | | 61 | | [JsonProperty("VatRate")] |
| | | 62 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 67 | 63 | | public string? VatRate { get; set; } |
| | | 64 | | |
| | | 65 | | [JsonProperty("VatAmount")] |
| | | 66 | | [JsonConverter(typeof(ArmtekFlexibleStringConverter))] |
| | 68 | 67 | | public string? VatAmount { get; set; } |
| | | 68 | | |
| | 67 | 69 | | [JsonProperty("Ean")] public string Ean { get; set; } = string.Empty; |
| | 67 | 70 | | [JsonProperty("Tnved")] public string Tnved { get; set; } = string.Empty; |
| | | 71 | | } |