| | | 1 | | using Newtonsoft.Json; |
| | | 2 | | |
| | | 3 | | namespace Services.ApiServices.ArmtekApi.Models.Response; |
| | | 4 | | |
| | | 5 | | /// <summary> |
| | | 6 | | /// RESP.HEADER — общая структура для getOrder/getOrder2/getRefund. |
| | | 7 | | /// </summary> |
| | | 8 | | public class ArmtekOrderHeader |
| | | 9 | | { |
| | 10 | 10 | | [JsonProperty("ORDER")] public string Order { get; set; } = string.Empty; |
| | | 11 | | |
| | | 12 | | /// <summary>«Отгрузка с ОСНОВНЫХ складов АРМТЕК» / «Доставка с БЛИЖНИХ/ДАЛЬНИХ складов АРМТЕК» / «Доставка с ЦЗ» / |
| | 8 | 13 | | [JsonProperty("ORDER_TYPE")] public string OrderType { get; set; } = string.Empty; |
| | | 14 | | |
| | | 15 | | /// <summary>Создан/В работе/Закрыт/Отклонен.</summary> |
| | 8 | 16 | | [JsonProperty("ORDER_STATUS")] public string OrderStatus { get; set; } = string.Empty; |
| | | 17 | | |
| | 5 | 18 | | [JsonProperty("ORDER_DATE")] public string OrderDate { get; set; } = string.Empty; |
| | 5 | 19 | | [JsonProperty("ORDER_SUM")] public string OrderSum { get; set; } = string.Empty; |
| | 5 | 20 | | [JsonProperty("CURRENCY")] public string Currency { get; set; } = string.Empty; |
| | 5 | 21 | | [JsonProperty("KUNRG")] public string Kunrg { get; set; } = string.Empty; |
| | 5 | 22 | | [JsonProperty("NAMERG")] public string NameRg { get; set; } = string.Empty; |
| | 4 | 23 | | [JsonProperty("KUNWE")] public string Kunwe { get; set; } = string.Empty; |
| | 4 | 24 | | [JsonProperty("NAMEWE")] public string NameWe { get; set; } = string.Empty; |
| | 4 | 25 | | [JsonProperty("KUNZA")] public string Kunza { get; set; } = string.Empty; |
| | 4 | 26 | | [JsonProperty("NAMEZA")] public string NameZa { get; set; } = string.Empty; |
| | 4 | 27 | | [JsonProperty("ADDRZA")] public string AddressZa { get; set; } = string.Empty; |
| | | 28 | | |
| | | 29 | | /// <summary>Создатель заказа.</summary> |
| | 4 | 30 | | [JsonProperty("PARNRAP")] public string CreatorCode { get; set; } = string.Empty; |
| | 4 | 31 | | [JsonProperty("NAMEAP")] public string CreatorName { get; set; } = string.Empty; |
| | | 32 | | |
| | | 33 | | /// <summary>Контактное лицо.</summary> |
| | 4 | 34 | | [JsonProperty("PARNRZP")] public string ContactCode { get; set; } = string.Empty; |
| | 4 | 35 | | [JsonProperty("NAMEZP")] public string ContactName { get; set; } = string.Empty; |
| | | 36 | | |
| | | 37 | | /// <summary>Окно поставки: "поставлять с".</summary> |
| | 5 | 38 | | [JsonProperty("ETDAT")] public string DeliveryFrom { get; set; } = string.Empty; |
| | | 39 | | |
| | | 40 | | /// <summary>Окно поставки: "поставлять по".</summary> |
| | 5 | 41 | | [JsonProperty("VDATU")] public string DeliveryTo { get; set; } = string.Empty; |
| | | 42 | | |
| | | 43 | | /// <summary>Номер заказа в учётной системе клиента.</summary> |
| | 4 | 44 | | [JsonProperty("DOC_NUM")] public string ClientDocNum { get; set; } = string.Empty; |
| | 4 | 45 | | [JsonProperty("DOC_DATE")] public string ClientDocDate { get; set; } = string.Empty; |
| | | 46 | | |
| | 5 | 47 | | [JsonProperty("NUMDOG")] public string ContractInfo { get; set; } = string.Empty; |
| | | 48 | | |
| | | 49 | | /// <summary>"1" = полная поставка, "0" = частичная.</summary> |
| | 4 | 50 | | [JsonProperty("COMPL_DLV")] public string CompleteDelivery { get; set; } = string.Empty; |
| | | 51 | | |
| | 4 | 52 | | [JsonProperty("COMMENT")] public string Comment { get; set; } = string.Empty; |
| | 4 | 53 | | [JsonProperty("COMMENT_EXP")] public string ExpeditionComment { get; set; } = string.Empty; |
| | | 54 | | |
| | | 55 | | /// <summary>«Доставка до Клиента» / «Самовывоз».</summary> |
| | 5 | 56 | | [JsonProperty("INCOTERMS_TXT")] public string IncotermsText { get; set; } = string.Empty; |
| | | 57 | | |
| | 5 | 58 | | [JsonProperty("VSTELT")] public string PickupPointName { get; set; } = string.Empty; |
| | | 59 | | } |