| | | 1 | | using Newtonsoft.Json; |
| | | 2 | | |
| | | 3 | | namespace Services.ApiServices.OzonApi.Filters; |
| | | 4 | | |
| | | 5 | | public class ProductPricesDetailsResponse |
| | | 6 | | { |
| | | 7 | | [JsonProperty("prices")] |
| | | 8 | | public List<ProductPriceDetailsItemResponse>? Prices { get; set; } = []; |
| | | 9 | | } |
| | | 10 | | |
| | | 11 | | public class ProductPriceDetailsItemResponse |
| | | 12 | | { |
| | | 13 | | [JsonProperty("offer_id")] |
| | 0 | 14 | | public string? OfferId { get; set; } |
| | | 15 | | |
| | | 16 | | [JsonProperty("sku")] |
| | 0 | 17 | | public long Sku { get; set; } |
| | | 18 | | |
| | | 19 | | [JsonProperty("customer_price")] |
| | 4 | 20 | | public ProductPriceMoneyResponse? CustomerPrice { get; set; } |
| | | 21 | | |
| | | 22 | | [JsonProperty("price")] |
| | 0 | 23 | | public ProductPriceMoneyResponse? Price { get; set; } |
| | | 24 | | |
| | | 25 | | [JsonProperty("discount_percent")] |
| | 1 | 26 | | public decimal DiscountPercent { get; set; } |
| | | 27 | | |
| | | 28 | | [JsonProperty("price_indexes")] |
| | 1 | 29 | | public List<ProductPriceDetailsIndexResponse>? PriceIndexes { get; set; } = []; |
| | | 30 | | } |
| | | 31 | | |
| | | 32 | | public class ProductPriceMoneyResponse |
| | | 33 | | { |
| | | 34 | | [JsonProperty("amount")] |
| | | 35 | | public decimal Amount { get; set; } |
| | | 36 | | |
| | | 37 | | [JsonProperty("currency")] |
| | | 38 | | public string? Currency { get; set; } |
| | | 39 | | } |
| | | 40 | | |
| | | 41 | | public class ProductPriceDetailsIndexResponse |
| | | 42 | | { |
| | | 43 | | [JsonProperty("external_index_data")] |
| | | 44 | | public ProductPriceDetailsExternalIndexResponse? ExternalIndexData { get; set; } |
| | | 45 | | |
| | | 46 | | [JsonProperty("self_index_data")] |
| | | 47 | | public ProductPriceDetailsExternalIndexResponse? SelfIndexData { get; set; } |
| | | 48 | | } |
| | | 49 | | |
| | | 50 | | public class ProductPriceDetailsExternalIndexResponse |
| | | 51 | | { |
| | | 52 | | [JsonProperty("min_price")] |
| | | 53 | | public ProductPriceMoneyResponse? MinPrice { get; set; } |
| | | 54 | | |
| | | 55 | | [JsonProperty("url")] |
| | | 56 | | public string? Url { get; set; } |
| | | 57 | | |
| | | 58 | | [JsonProperty("price_index")] |
| | | 59 | | public decimal PriceIndex { get; set; } |
| | | 60 | | } |