Extends the card price class by additional information provided by the API

In particular Seller, condition and version
This commit is contained in:
Serraniel 2023-03-03 15:23:12 +01:00
parent 397c3c95d9
commit 054e72cc33
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

View file

@ -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; }
}