Adds a CardPrice class
This commit is contained in:
parent
6685692030
commit
397c3c95d9
17
JpnCardsPokemon.Sdk/Api/CardPrice.cs
Normal file
17
JpnCardsPokemon.Sdk/Api/CardPrice.cs
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
using System;
|
||||||
|
using System.Text.Json.Serialization;
|
||||||
|
|
||||||
|
namespace JpnCardsPokemon.Sdk.Api;
|
||||||
|
|
||||||
|
public class CardPrice
|
||||||
|
{
|
||||||
|
public string Condition { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("priceAmount")] public decimal Price { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("priceCurrency")] public string Currency { get; set; }
|
||||||
|
|
||||||
|
[JsonPropertyName("dateUpdated")] public DateTime? UpdatedDate { get; set; }
|
||||||
|
|
||||||
|
public string? ListingUrl { get; set; }
|
||||||
|
}
|
Loading…
Reference in a new issue