< Summary

Information
Class: Services.BitrixStockServices.OzonProductCatalogRow
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/BitrixStockServices/OzonProductsCatalogModels.cs
Line coverage
88%
Covered lines: 16
Uncovered lines: 2
Coverable lines: 18
Total lines: 41
Line coverage: 88.8%
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_OfferId()100%11100%
get_ProductId()100%11100%
get_AccountName()100%11100%
get_Name()100%11100%
get_Price()100%11100%
get_OldPrice()100%11100%
get_MarketingPrice()100%11100%
get_MinOzonPrice()100%11100%
get_CommFbs()100%11100%
get_CommFbo()100%11100%
get_Acquiring()100%11100%
get_FbsDeliv()100%11100%
get_FbsDirectMin()100%11100%
get_FbsDirectMax()100%11100%
get_FbsMileMin()100%11100%
get_FbsMileMax()100%11100%
get_Visibility()100%210%
get_UpdatedAt()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/BitrixStockServices/OzonProductsCatalogModels.cs

#LineLine coverage
 1namespace Services.BitrixStockServices;
 2
 3public class OzonProductsCatalogFilter
 4{
 5    /// <summary>Фильтр visibility (например ACTIVE). Null = без фильтра.</summary>
 6    public string? Visibility { get; set; } = "ACTIVE";
 7
 8    public bool IncludeArchived { get; set; }
 9
 10    /// <summary>Исключить batch-варианты [N] из потока (для фазы сирот этапа 5).</summary>
 11    public bool ExcludeBatchVariants { get; set; }
 12}
 13
 14public class OzonProductsCatalogMeta
 15{
 16    public int TotalCount { get; set; }
 17    public DateTime? MaxUpdatedAtUtc { get; set; }
 18    public string? AccountName { get; set; }
 19}
 20
 21public class OzonProductCatalogRow
 22{
 3123    public string OfferId { get; set; } = string.Empty;
 1424    public long? ProductId { get; set; }
 925    public string AccountName { get; set; } = string.Empty;
 726    public string? Name { get; set; }
 727    public decimal? Price { get; set; }
 428    public decimal? OldPrice { get; set; }
 829    public decimal? MarketingPrice { get; set; }
 830    public decimal? MinOzonPrice { get; set; }
 731    public decimal? CommFbs { get; set; }
 532    public decimal? CommFbo { get; set; }
 733    public decimal? Acquiring { get; set; }
 734    public decimal? FbsDeliv { get; set; }
 335    public decimal? FbsDirectMin { get; set; }
 736    public decimal? FbsDirectMax { get; set; }
 337    public decimal? FbsMileMin { get; set; }
 738    public decimal? FbsMileMax { get; set; }
 039    public string? Visibility { get; set; }
 040    public DateTime? UpdatedAt { get; set; }
 41}