Class PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.ppi.spin2007monthlyandquarterly.PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient
-
public class PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient extends AbstractClient
Client which handles prices and consumption producer and import price index (PPI) SPIN 2007 monthly and quarterly data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient()Default constructor.PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient(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> spin2007, 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> spin2007, 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> spin2007, 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> spin2007, Collection<String> months)Fetch all producer price index data which match the input constraints.List<ResponseModel>getProducerPriceIndexForServices()Fetch all producer price index for services data.List<ResponseModel>getProducerPriceIndexForServices(Collection<String> spin2007, Collection<String> quarters)Fetch all producer price index for services data which match the input constraints.List<ResponseModel>getProducerPriceIndexHomeSales()Fetch all producer price index home sales data.List<ResponseModel>getProducerPriceIndexHomeSales(Collection<String> spin2007, Collection<String> months)Fetch all producer price index home sales 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
-
PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient
public PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient()
Default constructor.
-
PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient
public PricesAndConsumptionPPISPIN2007MonthlyAndQuarterlyClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor 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
ResponseModelobjects - See Also:
getProducerPriceIndexHomeSales(Collection, Collection)
-
getProducerPriceIndexHomeSales
public List<ResponseModel> getProducerPriceIndexHomeSales(Collection<String> spin2007, Collection<String> months)
Fetch all producer price index home sales data which match the input constraints.
- Parameters:
spin2007- the SPIN 2007months- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getExportPriceIndex
public List<ResponseModel> getExportPriceIndex()
Fetch all export price index data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getExportPriceIndex(Collection, Collection)
-
getExportPriceIndex
public List<ResponseModel> getExportPriceIndex(Collection<String> spin2007, Collection<String> months)
Fetch all export price index data which match the input constraints.
- Parameters:
spin2007- the SPIN 2007months- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getImportPriceIndex
public List<ResponseModel> getImportPriceIndex()
Fetch all import price index data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getImportPriceIndex(Collection, Collection)
-
getImportPriceIndex
public List<ResponseModel> getImportPriceIndex(Collection<String> spin2007, Collection<String> months)
Fetch all import price index data which match the input constraints.
- Parameters:
spin2007- the SPIN 2007months- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getProducerPriceIndex
public List<ResponseModel> getProducerPriceIndex()
Fetch all producer price index data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getProducerPriceIndex(Collection, Collection)
-
getProducerPriceIndex
public List<ResponseModel> getProducerPriceIndex(Collection<String> spin2007, Collection<String> months)
Fetch all producer price index data which match the input constraints.
- Parameters:
spin2007- the SPIN 2007months- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getPriceIndexForDomesticSupply
public List<ResponseModel> getPriceIndexForDomesticSupply()
Fetch all price index for domestic supply data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPriceIndexForDomesticSupply(Collection, Collection)
-
getPriceIndexForDomesticSupply
public List<ResponseModel> getPriceIndexForDomesticSupply(Collection<String> spin2007, Collection<String> months)
Fetch all price index for domestic supply data which match the input constraints.
- Parameters:
spin2007- the SPIN 2007months- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getProducerPriceIndexForServices
public List<ResponseModel> getProducerPriceIndexForServices()
Fetch all producer price index for services data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getProducerPriceIndexForServices(Collection, Collection)
-
getProducerPriceIndexForServices
public List<ResponseModel> getProducerPriceIndexForServices(Collection<String> spin2007, Collection<String> quarters)
Fetch all producer price index for services data which match the input constraints.
- Parameters:
spin2007- the SPIN 2007quarters- the quarters- 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
-
-