From 054e72cc3361bd74fc405270c99a43b85abc6102 Mon Sep 17 00:00:00 2001 From: Serraniel Date: Fri, 3 Mar 2023 15:23:12 +0100 Subject: [PATCH] Extends the card price class by additional information provided by the API In particular Seller, condition and version --- JpnCardsPokemon.Sdk/Api/CardPrice.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/JpnCardsPokemon.Sdk/Api/CardPrice.cs b/JpnCardsPokemon.Sdk/Api/CardPrice.cs index 8c29509..c5ecfbb 100644 --- a/JpnCardsPokemon.Sdk/Api/CardPrice.cs +++ b/JpnCardsPokemon.Sdk/Api/CardPrice.cs @@ -5,13 +5,17 @@ namespace JpnCardsPokemon.Sdk.Api; public class CardPrice { - public string Condition { get; set; } + public string? Version { get; set; } + + public string? Condition { get; set; } [JsonPropertyName("priceAmount")] public decimal Price { get; set; } - [JsonPropertyName("priceCurrency")] public string Currency { get; set; } + [JsonPropertyName("priceCurrency")] public string? Currency { get; set; } [JsonPropertyName("dateUpdated")] public DateTime? UpdatedDate { get; set; } public string? ListingUrl { get; set; } + + public string? Seller { get; set; } } \ No newline at end of file