< Summary

Information
Class: Services.ApiServices.YandexApi.Filters.OrdersRequest
Assembly: Services
File(s): /home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/YandexApi/Filters/OrdersRequest.cs
Line coverage
0%
Covered lines: 0
Uncovered lines: 19
Coverable lines: 19
Total lines: 65
Line coverage: 0%
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_BuyerType()100%210%
get_DispatchType()100%210%
get_Fake()100%210%
get_FromDate()100%210%
get_ToDate()100%210%
get_HasCis()100%210%
get_Limit()100%210%
get_OnlyEstimatedDelivery()100%210%
get_OnlyWaitingForCancellationApprove()100%210%
get_OrderIds()100%210%
get_Page()100%210%
get_PageSize()100%210%
get_PageToken()100%210%
get_Status()100%210%
get_Substatus()100%210%
get_SupplierShipmentDateFrom()100%210%
get_SupplierShipmentDateTo()100%210%
get_UpdatedAtFrom()100%210%
get_UpdatedAtTo()100%210%

File(s)

/home/runner/work/Studio2Prod/Studio2Prod/AppRepository/ApiServices/YandexApi/Filters/OrdersRequest.cs

#LineLine coverage
 1using Newtonsoft.Json;
 2
 3namespace Services.ApiServices.YandexApi.Filters
 4{
 5    public class OrdersRequest : IRequestModel
 6    {
 7        [JsonProperty("buyerType")]
 08        public string? BuyerType { get; set; }
 9
 10        [JsonProperty("dispatchType")]
 011        public string? DispatchType { get; set; }
 12
 13        [JsonProperty("fake")]
 014        public bool? Fake { get; set; }
 15
 16        [JsonProperty("fromDate")]
 017        public string? FromDate { get; set; }
 18
 19        [JsonProperty("toDate")]
 020        public string? ToDate { get; set; }
 21
 22        [JsonProperty("hasCis")]
 023        public bool? HasCis { get; set; }
 24
 25        [JsonProperty("limit")]
 026        public int? Limit { get; set; }
 27
 28        [JsonProperty("onlyEstimatedDelivery")]
 029        public bool? OnlyEstimatedDelivery { get; set; }
 30
 31        [JsonProperty("onlyWaitingForCancellationApprove")]
 032        public bool? OnlyWaitingForCancellationApprove { get; set; }
 33
 34        [JsonProperty("orderIds")]
 035        public long[] OrderIds { get; set; } = [];
 36
 37        [JsonProperty("page")]
 038        public int? Page { get; set; }
 39
 40        [JsonProperty("pageSize")]
 041        public int? PageSize { get; set; }
 42
 43        [JsonProperty("page_token")]
 044        public string? PageToken { get; set; }
 45
 46        [JsonProperty("status")]
 047        public string[]? Status { get; set; }
 48
 49        [JsonProperty("substatus")]
 050        public string[]? Substatus { get; set; }
 51
 52        [JsonProperty("supplierShipmentDateFrom")]
 053        public string? SupplierShipmentDateFrom { get; set; }
 54
 55        [JsonProperty("supplierShipmentDateTo")]
 056        public string? SupplierShipmentDateTo { get; set; }
 57
 58        [JsonProperty("updatedAtFrom")]
 059        public string? UpdatedAtFrom { get; set; }
 60
 61        [JsonProperty("updatedAtTo")]
 062        public string? UpdatedAtTo { get; set; }
 63    }
 64
 65}