< Summary

Information
Class: Services.ApiServices.OzonApi.Filters.ProductPriceses.ProductPriceDetail
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/ProductPriceses/ProductPriceDetail.cs
Line coverage
36%
Covered lines: 4
Uncovered lines: 7
Coverable lines: 11
Total lines: 39
Line coverage: 36.3%
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_AutoActionEnabled()100%210%
get_CurrencyCode()100%210%
get_MarketingPrice()100%11100%
get_MarketingSellerPrice()100%11100%
get_MinPrice()100%11100%
get_OldPrice()100%210%
get_Price()100%11100%
get_RetailPrice()100%210%
get_Vat()100%210%
get_AutoAddToOzonActionsListEnabled()100%210%
get_NetPrice()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/OzonApi/Filters/ProductPriceses/ProductPriceDetail.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.OzonApi.Filters.ProductPriceses;
 4
 5public class ProductPriceDetail
 6{
 7    [JsonProperty("auto_action_enabled")]
 08    public bool AutoActionEnabled { get; set; }
 9
 10    [JsonProperty("currency_code")]
 011    public string? CurrencyCode { get; set; }
 12
 13    [JsonProperty("marketing_price")]
 514    public double MarketingPrice { get; set; }
 15
 16    [JsonProperty("marketing_seller_price")]
 4717    public double MarketingSellerPrice { get; set; }
 18
 19    [JsonProperty("min_price")]
 320    public double MinPrice { get; set; }
 21
 22    [JsonProperty("old_price")]
 023    public double OldPrice { get; set; }
 24
 25    [JsonProperty("price")]
 5226    public double Price { get; set; }
 27
 28    [JsonProperty("retail_price")]
 029    public double RetailPrice { get; set; }
 30
 31    [JsonProperty("vat")]
 032    public double Vat { get; set; }
 33
 34    [JsonProperty("auto_add_to_ozon_actions_list_enabled")]
 035    public bool AutoAddToOzonActionsListEnabled { get; set; }
 36
 37    [JsonProperty("net_price")]
 038    public double NetPrice { get; set; }
 39}