using System; using System.Text.Json.Serialization; namespace JpnCardsPokemon.Sdk.Api; /// /// Contains information about card price. /// public class CardPrice { /// /// Specifies the card version. Almost always will be 'Regular' but may contain other versions like 'Reverse Holo', /// etc. /// public string? Version { get; set; } /// /// Specifies the card condition. Often will be a rating in format of 'A+', 'A', etc. but also can be 'NM' or other /// similar descriptive strings. /// public string? Condition { get; set; } /// /// The actual price for the specified version and condition. /// [JsonPropertyName("priceAmount")] public decimal Price { get; set; } /// /// The currency used for the . /// /// Almost always will be 'JYP' for Japanese Yen. [JsonPropertyName("priceCurrency")] public string? Currency { get; set; } /// /// Date when the price information was updated last. /// [JsonPropertyName("dateUpdated")] public DateTime? UpdatedDate { get; set; } /// /// An URL to the listing. /// [JsonPropertyName("listingUrl")] public string? ListingUrl { get; set; } /// /// Name of the seller who is listing the card. /// public string? Seller { get; set; } }