| | | 1 | | namespace Services.ApiServices.JapartsApi; |
| | | 2 | | |
| | 8 | 3 | | public sealed record JapartsOffer(string PriceId, string MakeName, string DetailNum, string DetailName, |
| | 12 | 4 | | decimal PriceRub, decimal? Quantity, decimal Lot, int? DeliveryDays, int? GuaranteedDeliveryDays, |
| | 8 | 5 | | string Country, string SupplierCode, int? Statistic, bool Deposit, bool UnconditionalReturn, bool Refurbished); |
| | | 6 | | |
| | | 7 | | public sealed record JapartsBasketItem(string BasketId, string MakeName, string DetailNum, string DetailName, |
| | | 8 | | decimal PriceRub, decimal? ClientPrice, decimal Quantity, int? DeliveryDays, int? GuaranteedDeliveryDays, |
| | | 9 | | string Country, string SupplierCode, string Comment); |
| | | 10 | | |
| | | 11 | | public sealed record JapartsOrderItem(string GlobalId, string OrderNumber, string MakeName, string DetailNum, |
| | | 12 | | string DetailName, decimal QuantityOrdered, decimal QuantityBought, decimal? QuantityArrived, |
| | | 13 | | decimal? QuantityShipped, decimal OrderPrice, string Status, string Comment, DateTime? LastUpdated); |
| | | 14 | | |
| | | 15 | | public sealed record JapartsBalance(decimal Balance, decimal InBasket, decimal OrderDebt, decimal IssueDebt, |
| | | 16 | | decimal RecommendedPayment, string? Contract); |
| | | 17 | | |
| | | 18 | | public sealed class JapartsApiException(string message) : Exception(message); |