| | | 1 | | namespace Services.BitrixStockServices; |
| | | 2 | | |
| | | 3 | | public 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 | | |
| | | 14 | | public class OzonProductsCatalogMeta |
| | | 15 | | { |
| | | 16 | | public int TotalCount { get; set; } |
| | | 17 | | public DateTime? MaxUpdatedAtUtc { get; set; } |
| | | 18 | | public string? AccountName { get; set; } |
| | | 19 | | } |
| | | 20 | | |
| | | 21 | | public class OzonProductCatalogRow |
| | | 22 | | { |
| | 31 | 23 | | public string OfferId { get; set; } = string.Empty; |
| | 14 | 24 | | public long? ProductId { get; set; } |
| | 9 | 25 | | public string AccountName { get; set; } = string.Empty; |
| | 7 | 26 | | public string? Name { get; set; } |
| | 7 | 27 | | public decimal? Price { get; set; } |
| | 4 | 28 | | public decimal? OldPrice { get; set; } |
| | 8 | 29 | | public decimal? MarketingPrice { get; set; } |
| | 8 | 30 | | public decimal? MinOzonPrice { get; set; } |
| | 7 | 31 | | public decimal? CommFbs { get; set; } |
| | 5 | 32 | | public decimal? CommFbo { get; set; } |
| | 7 | 33 | | public decimal? Acquiring { get; set; } |
| | 7 | 34 | | public decimal? FbsDeliv { get; set; } |
| | 3 | 35 | | public decimal? FbsDirectMin { get; set; } |
| | 7 | 36 | | public decimal? FbsDirectMax { get; set; } |
| | 3 | 37 | | public decimal? FbsMileMin { get; set; } |
| | 7 | 38 | | public decimal? FbsMileMax { get; set; } |
| | 0 | 39 | | public string? Visibility { get; set; } |
| | 0 | 40 | | public DateTime? UpdatedAt { get; set; } |
| | | 41 | | } |