Class PricesAndConsumptionPurchasingPowerParitiesClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.purchasingpowerparities.PricesAndConsumptionPurchasingPowerParitiesClient
-
public class PricesAndConsumptionPurchasingPowerParitiesClient extends AbstractClient
Client which handles prices and consumption purchasing power parities data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionPurchasingPowerParitiesClient()Default constructor.PricesAndConsumptionPurchasingPowerParitiesClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getExtrapolatedPriceLevelIndices()Fetch all extrapolated price level indices data.List<ResponseModel>getExtrapolatedPriceLevelIndices(Collection<String> countryGroups, Collection<Integer> years)Fetch all extrapolated price level indices data which match the input constraints.List<ResponseModel>getPurchasingPowerParities()Fetch all purchasing power parities data.List<ResponseModel>getPurchasingPowerParities(Collection<String> countries, Collection<String> esaClassifications, Collection<Integer> years)Fetch all purchasing power parities data which match the input constraints.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocale, setLocalizationLocale
-
-
-
-
Constructor Detail
-
PricesAndConsumptionPurchasingPowerParitiesClient
public PricesAndConsumptionPurchasingPowerParitiesClient()
Default constructor.
-
PricesAndConsumptionPurchasingPowerParitiesClient
public PricesAndConsumptionPurchasingPowerParitiesClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getExtrapolatedPriceLevelIndices
public List<ResponseModel> getExtrapolatedPriceLevelIndices()
Fetch all extrapolated price level indices data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getExtrapolatedPriceLevelIndices(Collection, Collection)
-
getExtrapolatedPriceLevelIndices
public List<ResponseModel> getExtrapolatedPriceLevelIndices(Collection<String> countryGroups, Collection<Integer> years)
Fetch all extrapolated price level indices data which match the input constraints.
- Parameters:
countryGroups- the country groupsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getPurchasingPowerParities
public List<ResponseModel> getPurchasingPowerParities()
Fetch all purchasing power parities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPurchasingPowerParities(Collection, Collection, Collection)
-
getPurchasingPowerParities
public List<ResponseModel> getPurchasingPowerParities(Collection<String> countries, Collection<String> esaClassifications, Collection<Integer> years)
Fetch all purchasing power parities data which match the input constraints.
- Parameters:
countries- the countriesesaClassifications- the ESA classificationsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClientReturns the URL endpoint which this client represents.
- Specified by:
getUrlin classAbstractClient- Returns:
- the URL endpoint for this client
-
-