< Summary

Information
Class: Services.ApiServices.ArmtekApi.Models.Response.ArmtekInvoiceHeader
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ArmtekApi/Models/Response/ArmtekInvoiceHeader.cs
Line coverage
100%
Covered lines: 15
Uncovered lines: 0
Coverable lines: 15
Total lines: 44
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
get_Invoice()100%11100%
get_InvoiceDate()100%11100%
get_Kunwe()100%11100%
get_Kunza()100%11100%
get_ContactCode()100%11100%
get_ContractInfo()100%11100%
get_Upd()100%11100%
get_Torg12()100%11100%
get_Payment()100%11100%
get_IncotermsText()100%11100%
get_Summa()100%11100%
get_Currency()100%11100%
get_CreatedAt()100%11100%
get_PickupPointName()100%11100%
get_MaxReturnSum()100%11100%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/ArmtekApi/Models/Response/ArmtekInvoiceHeader.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.ArmtekApi.Models.Response;
 4
 5/// <summary>getInvoice — RESP.HEADER.</summary>
 6public class ArmtekInvoiceHeader
 7{
 478    [JsonProperty("INVOICE")] public string Invoice { get; set; } = string.Empty;
 9
 10    /// <summary>YYYYMMDD.</summary>
 5811    [JsonProperty("INVDATE")] public string InvoiceDate { get; set; } = string.Empty;
 12
 13    /// <summary>Грузополучатель.</summary>
 7114    [JsonProperty("KUNWE")] public string Kunwe { get; set; } = string.Empty;
 15
 16    /// <summary>Адрес доставки/пункт выдачи.</summary>
 7117    [JsonProperty("KUNZA")] public string Kunza { get; set; } = string.Empty;
 18
 19    /// <summary>Контактное лицо.</summary>
 7120    [JsonProperty("PARNRZP")] public string ContactCode { get; set; } = string.Empty;
 21
 5822    [JsonProperty("NUMDOG")] public string ContractInfo { get; set; } = string.Empty;
 23
 24    /// <summary>Номер УПД/товарного чека.</summary>
 5825    [JsonProperty("UPD")] public string Upd { get; set; } = string.Empty;
 26
 27    /// <summary>ТН/ТТН/акт выполненных работ.</summary>
 5828    [JsonProperty("TORG12")] public string Torg12 { get; set; } = string.Empty;
 29
 30    /// <summary>наличный/безналичный.</summary>
 5831    [JsonProperty("PAYMENT")] public string Payment { get; set; } = string.Empty;
 32
 5833    [JsonProperty("INCOTERMS_TXT")] public string IncotermsText { get; set; } = string.Empty;
 5934    [JsonProperty("SUMMA")] public string Summa { get; set; } = string.Empty;
 5835    [JsonProperty("CURRENCY")] public string Currency { get; set; } = string.Empty;
 36
 37    /// <summary>YYYYMMDDHHIISS — дата и время создания фактуры.</summary>
 5838    [JsonProperty("ERDAT")] public string CreatedAt { get; set; } = string.Empty;
 39
 5840    [JsonProperty("VSTELT")] public string PickupPointName { get; set; } = string.Empty;
 41
 42    /// <summary>Максимально-возможная сумма к возврату. Заполняется только при REFLAG=1.</summary>
 4543    [JsonProperty("MAX_RET_SUM")] public string MaxReturnSum { get; set; } = string.Empty;
 44}