public class SteamStorefront extends AbstractWebApiInterface<SteamWebApiClient,SteamStoreApiRequest,SteamWebApiResponse>
SteamStorefront class.
VERSION_1, VERSION_2, VERSION_3
Constructor and Description |
---|
SteamStorefront(SteamWebApiClient client)
Default Constructor
|
Modifier and Type | Method and Description |
---|---|
protected void |
configureBuilder(com.google.gson.GsonBuilder builder)
Override this method if you need to perform additional configurations against the builder (e.g.
|
CompletableFuture<StoreAppDetails> |
getAppDetails(int appId)
getAppDetails.
|
CompletableFuture<StoreAppDetails> |
getAppDetails(int appId,
String countryCode,
String language)
getAppDetails.
|
CompletableFuture<StoreFeaturedApps> |
getFeaturedApps()
getFeaturedApps.
|
CompletableFuture<StoreFeaturedApps> |
getFeaturedApps(String countryCode,
String language)
getFeaturedApps.
|
CompletableFuture<StoreFeaturedCategories> |
getFeaturedCategories()
getFeaturedCategories.
|
CompletableFuture<StoreFeaturedCategories> |
getFeaturedCategories(String countryCode,
String language)
getFeaturedCategories.
|
CompletableFuture<StorePackageDetails> |
getPackageDetails(int packageId)
getPackageDetails.
|
CompletableFuture<StorePackageDetails> |
getPackageDetails(int packageId,
String countryCode,
String language)
getPackageDetails.
|
CompletableFuture<StoreSaleDetails> |
getSaleDetails(int saleId)
getSaleDetails.
|
CompletableFuture<StoreSaleDetails> |
getSaleDetails(int saleId,
String countryCode,
String language)
getSaleDetails.
|
asCollectionOf, asListOf, builder, fromJson, fromJson, handleError, sendRequest
public SteamStorefront(SteamWebApiClient client)
Default Constructor
client
- A AbstractRestClient
instanceprotected void configureBuilder(com.google.gson.GsonBuilder builder)
Override this method if you need to perform additional configurations against the builder (e.g. Register custom deserializers)
configureBuilder
in class AbstractWebApiInterface<SteamWebApiClient,SteamStoreApiRequest,SteamWebApiResponse>
builder
- A GsonBuilder
instance that will be accessed and configured by a concrete AbstractWebApiInterface
implementationpublic CompletableFuture<StoreFeaturedApps> getFeaturedApps()
getFeaturedApps.
CompletableFuture
objectpublic CompletableFuture<StoreFeaturedApps> getFeaturedApps(String countryCode, String language)
getFeaturedApps.
countryCode
- a String
objectlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<StoreFeaturedCategories> getFeaturedCategories()
getFeaturedCategories.
CompletableFuture
objectpublic CompletableFuture<StoreFeaturedCategories> getFeaturedCategories(String countryCode, String language)
getFeaturedCategories.
countryCode
- a String
objectlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<StoreAppDetails> getAppDetails(int appId)
getAppDetails.
appId
- a intCompletableFuture
objectpublic CompletableFuture<StoreAppDetails> getAppDetails(int appId, String countryCode, String language)
getAppDetails.
appId
- a intcountryCode
- a String
objectlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<StorePackageDetails> getPackageDetails(int packageId)
getPackageDetails.
packageId
- a intCompletableFuture
objectpublic CompletableFuture<StorePackageDetails> getPackageDetails(int packageId, String countryCode, String language)
getPackageDetails.
packageId
- a intcountryCode
- a String
objectlanguage
- a String
objectCompletableFuture
objectpublic CompletableFuture<StoreSaleDetails> getSaleDetails(int saleId)
getSaleDetails.
saleId
- a intCompletableFuture
objectpublic CompletableFuture<StoreSaleDetails> getSaleDetails(int saleId, String countryCode, String language)
getSaleDetails.
saleId
- a intcountryCode
- a String
objectlanguage
- a String
objectCompletableFuture
objectCopyright © 2016–2024. All rights reserved.