Adds a CardPrice class

This commit is contained in:
Serraniel 2023-03-03 13:53:16 +01:00
parent 6685692030
commit 397c3c95d9
Signed by: Serraniel
GPG key ID: 3690B4E7364525D3

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