Skip to content

Commit 4e7e0af

Browse files
committed
feat: Add support for epic games, playstation and stripe to catalog listings
1 parent 8ba0268 commit 4e7e0af

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

Runtime/Game/Requests/CatalogRequests.cs

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,36 @@ public class LootLockerCatalogSteamStoreListing
126126
public LootLockerCatalogSteamStoreListingPrice[] prices { get; set; }
127127
}
128128

129+
/// <summary>
130+
/// </summary>
131+
public class LootLockerCatalogStripeStoreListing
132+
{
133+
/// <summary>
134+
/// The currency to use for the purchase
135+
/// </summary>
136+
public string currency { get; set; }
137+
/// <summary>
138+
/// The amount to charge in the smallest unit of the currency (e.g. cents for USD)
139+
/// </summary>
140+
public int amount { get; set; }
141+
}
142+
143+
public class LootLockerCatalogEpicGamesStoreListing
144+
{
145+
/// <summary>
146+
/// The Epic Games audience item id associated with this listing
147+
/// </summary>
148+
public string audience_item_id { get; set; }
149+
}
150+
151+
public class LootLockerCatalogPlaystationStoreListing
152+
{
153+
/// <summary>
154+
/// The Playstation entitlement label associated with this listing
155+
/// </summary>
156+
public string entitlement_label { get; set; }
157+
}
158+
129159
/// <summary>
130160
/// </summary>
131161
public class LootLockerCatalogEntryListings
@@ -142,6 +172,18 @@ public class LootLockerCatalogEntryListings
142172
/// The listing information (if configured) for Steam Store
143173
/// </summary>
144174
public LootLockerCatalogSteamStoreListing steam_store { get; set; }
175+
/// <summary>
176+
/// The listing information (if configured) for Stripe Store
177+
/// </summary>
178+
public LootLockerCatalogStripeStoreListing stripe_store { get; set; }
179+
/// <summary>
180+
/// The listing information (if configured) for Epic Games Store
181+
/// </summary>
182+
public LootLockerCatalogEpicGamesStoreListing epic_games_store { get; set; }
183+
/// <summary>
184+
/// The listing information (if configured) for Playstation Store
185+
/// </summary>
186+
public LootLockerCatalogPlaystationStoreListing playstation_store { get; set; }
145187
}
146188

147189
/// <summary>

0 commit comments

Comments
 (0)