using System.Text.Json.Serialization; namespace Prospect.Server.Api.Models.Client.Data; // PlayFab StoreItem: a single catalog item offered for sale in a store, with its prices. public class FStoreItem { /// /// [optional] Store specific custom data. The data only exists as part of this store; it is not transferred to item instances. /// [JsonPropertyName("CustomData")] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)] public object? CustomData { get; set; } /// /// [optional] Intended display position for this item. Note that 0 is the first position and -1 is the last position. /// [JsonPropertyName("DisplayPosition")] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)] public uint? DisplayPosition { get; set; } /// /// Unique identifier of the item as it exists in the catalog - note that this must exactly match the ItemId from the catalog. /// [JsonPropertyName("ItemId")] public string ItemId { get; set; } = ""; /// /// [optional] Override prices for this item for specific currencies. /// [JsonPropertyName("RealCurrencyPrices")] public Dictionary RealCurrencyPrices { get; set; } = new(); /// /// [optional] Override prices for this item in virtual currencies and "RM" (the base Real Money purchase price, in USD pennies). /// [JsonPropertyName("VirtualCurrencyPrices")] public Dictionary VirtualCurrencyPrices { get; set; } = new(); }