Class PricesAndConsumptionPPIEconomicIndicatorsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.ppi.economicindicators.PricesAndConsumptionPPIEconomicIndicatorsClient
-
public class PricesAndConsumptionPPIEconomicIndicatorsClient extends AbstractClient
Client which handles prices and consumption producer and import price index (PPI) economic indicators data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionPPIEconomicIndicatorsClient()Default constructor.PricesAndConsumptionPPIEconomicIndicatorsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getPriceIndicesInProducerAndImportStages()Fetch all price indices in producer and import stages data.List<ResponseModel>getPriceIndicesInProducerAndImportStages(Collection<String> indicators, Collection<String> months)Fetch all price indices in producer and import stages 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
-
PricesAndConsumptionPPIEconomicIndicatorsClient
public PricesAndConsumptionPPIEconomicIndicatorsClient()
Default constructor.
-
PricesAndConsumptionPPIEconomicIndicatorsClient
public PricesAndConsumptionPPIEconomicIndicatorsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getPriceIndicesInProducerAndImportStages
public List<ResponseModel> getPriceIndicesInProducerAndImportStages()
Fetch all price indices in producer and import stages data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPriceIndicesInProducerAndImportStages(Collection, Collection)
-
getPriceIndicesInProducerAndImportStages
public List<ResponseModel> getPriceIndicesInProducerAndImportStages(Collection<String> indicators, Collection<String> months)
Fetch all price indices in producer and import stages data which match the input constraints.
- Parameters:
indicators- the indicatorsmonths- the months- 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
-
-