Class PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.ppi.spin2015monthlyandquarterly.PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient
-
public class PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient extends AbstractClient
Client which handles prices and consumption producer and import price index (PPI) SPIN 2015 monthly and quarterly data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient()
Default constructor.PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient(Locale locale)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>
getExportPriceIndex()
Fetch all export price index data.List<ResponseModel>
getExportPriceIndex(Collection<String> spin2015, Collection<String> months)
Fetch all export price index data which match the input constraints.List<ResponseModel>
getImportPriceIndex()
Fetch all import price index data.List<ResponseModel>
getImportPriceIndex(Collection<String> spin2015, Collection<String> months)
Fetch all import price index data which match the input constraints.List<ResponseModel>
getPriceIndexForDomesticSupply()
Fetch all price index for domestic supply data.List<ResponseModel>
getPriceIndexForDomesticSupply(Collection<String> spin2015, Collection<String> months)
Fetch all price index for domestic supply data which match the input constraints.List<ResponseModel>
getProducerPriceIndex()
Fetch all producer price index data.List<ResponseModel>
getProducerPriceIndex(Collection<String> spin2015, Collection<String> months)
Fetch all producer price index data which match the input constraints.List<ResponseModel>
getProducerPriceIndexHomeSales()
Fetch all producer price index home sales data.List<ResponseModel>
getProducerPriceIndexHomeSales(Collection<String> spin2015, Collection<String> months)
Fetch all producer price index home sales data which match the input constraints.URLEndpoint
getUrl()
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
-
PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient
public PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient()
Default constructor.
-
PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient
public PricesAndConsumptionPPISPIN2015MonthlyAndQuarterlyClient(Locale locale)
Overloaded constructor.
- Parameters:
locale
- theLocale
for this client
-
-
Method Detail
-
getProducerPriceIndexHomeSales
public List<ResponseModel> getProducerPriceIndexHomeSales()
Fetch all producer price index home sales data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getProducerPriceIndexHomeSales(Collection, Collection)
-
getProducerPriceIndexHomeSales
public List<ResponseModel> getProducerPriceIndexHomeSales(Collection<String> spin2015, Collection<String> months)
Fetch all producer price index home sales data which match the input constraints.
- Parameters:
spin2015
- the SPIN 2015months
- the months- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getExportPriceIndex
public List<ResponseModel> getExportPriceIndex()
Fetch all export price index data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getExportPriceIndex(Collection, Collection)
-
getExportPriceIndex
public List<ResponseModel> getExportPriceIndex(Collection<String> spin2015, Collection<String> months)
Fetch all export price index data which match the input constraints.
- Parameters:
spin2015
- the SPIN 2015months
- the months- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getImportPriceIndex
public List<ResponseModel> getImportPriceIndex()
Fetch all import price index data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getImportPriceIndex(Collection, Collection)
-
getImportPriceIndex
public List<ResponseModel> getImportPriceIndex(Collection<String> spin2015, Collection<String> months)
Fetch all import price index data which match the input constraints.
- Parameters:
spin2015
- the SPIN 2015months
- the months- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getProducerPriceIndex
public List<ResponseModel> getProducerPriceIndex()
Fetch all producer price index data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getProducerPriceIndex(Collection, Collection)
-
getProducerPriceIndex
public List<ResponseModel> getProducerPriceIndex(Collection<String> spin2015, Collection<String> months)
Fetch all producer price index data which match the input constraints.
- Parameters:
spin2015
- the SPIN 2015months
- the months- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getPriceIndexForDomesticSupply
public List<ResponseModel> getPriceIndexForDomesticSupply()
Fetch all price index for domestic supply data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getPriceIndexForDomesticSupply(Collection, Collection)
-
getPriceIndexForDomesticSupply
public List<ResponseModel> getPriceIndexForDomesticSupply(Collection<String> spin2015, Collection<String> months)
Fetch all price index for domestic supply data which match the input constraints.
- Parameters:
spin2015
- the SPIN 2015months
- the months- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClient
Returns the URL endpoint which this client represents.
- Specified by:
getUrl
in classAbstractClient
- Returns:
- the URL endpoint for this client
-
-