I want to create the Catalog V2 Store. I feel there's no way registering the Store price of an item properly I filled the CreateDraftItemRequest fields like this.
CreateDraftItemRequest CreateRequest = new CreateDraftItemRequest
{
Item = new PlayFab.EconomyModels.CatalogItem
{
Type = "store",
...
ItemReferences = StoreItemsData
},
Publish = false
};
I tried to register 2 Items in a Store. First one has 2 Prices, and second Price includes 2 Currencies. Counts of field's lists were surely like this.
StoreItemsData.Count = 2 StoreItemsData[0].PriceOptions.Prices.Count =2 StoreItemsData[0].PriceOptions.Prices[0].Amounts.Count =1 StoreItemsData[0].PriceOptions.Prices[1].Amounts.Count =2 StoreItemsData[1].PriceOptions.Prices.Count = 1 StoreItemsData[1].PriceOptions.Prices[0].Amounts.Count = 1
Though, as a result, first Item has 3 Prices and second one and third one was exactly same.
I changed "First one has 2 Prices, and second Price includes 2 Currencies." into "First one has 2 Prices, and second Price includes 3 Currencies." And Counts of field's lists were like this.
StoreItemsData.Count = 2 StoreItemsData[0].PriceOptions.Prices.Count =2 StoreItemsData[0].PriceOptions.Prices[0].Amounts.Count =1 StoreItemsData[0].PriceOptions.Prices[1].Amounts.Count =3 StoreItemsData[1].PriceOptions.Prices.Count = 1 StoreItemsData[1].PriceOptions.Prices[0].Amounts.Count = 1
The result is, first Item has 4 Prices and second ,third and forth one was exactly same.
Did I something wrong?
Sorry for my bad english.