Extends the card price class by additional information provided by the API
In particular Seller, condition and version
This commit is contained in:
parent
397c3c95d9
commit
054e72cc33
|
@ -5,13 +5,17 @@ namespace JpnCardsPokemon.Sdk.Api;
|
||||||
|
|
||||||
public class CardPrice
|
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("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; }
|
[JsonPropertyName("dateUpdated")] public DateTime? UpdatedDate { get; set; }
|
||||||
|
|
||||||
public string? ListingUrl { get; set; }
|
public string? ListingUrl { get; set; }
|
||||||
|
|
||||||
|
public string? Seller { get; set; }
|
||||||
}
|
}
|
Loading…
Reference in a new issue