Class PricesAndConsumptionCPIKPIFClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.cpi.kpif.PricesAndConsumptionCPIKPIFClient
-
public class PricesAndConsumptionCPIKPIFClient extends AbstractClient
Client which handles prices and consumption Consumer Price Index (CPI) Underlying Inflation Rate (KPIF) data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionCPIKPIFClient()Default constructor.PricesAndConsumptionCPIKPIFClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getUnderlyingInflationAnnualChanges()Fetch all underlying inflation annual changes data.List<ResponseModel>getUnderlyingInflationAnnualChanges(Collection<String> months)Fetch all underlying inflation annual changes data which match the input constraints.List<ResponseModel>getUnderlyingInflationMonthlyChanges()Fetch all underlying inflation monthly changes data.List<ResponseModel>getUnderlyingInflationMonthlyChanges(Collection<String> months)Fetch all underlying inflation monthly changes 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
-
PricesAndConsumptionCPIKPIFClient
public PricesAndConsumptionCPIKPIFClient()
Default constructor.
-
PricesAndConsumptionCPIKPIFClient
public PricesAndConsumptionCPIKPIFClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getUnderlyingInflationMonthlyChanges
public List<ResponseModel> getUnderlyingInflationMonthlyChanges()
Fetch all underlying inflation monthly changes data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getUnderlyingInflationMonthlyChanges(Collection)
-
getUnderlyingInflationMonthlyChanges
public List<ResponseModel> getUnderlyingInflationMonthlyChanges(Collection<String> months)
Fetch all underlying inflation monthly changes data which match the input constraints.
- Parameters:
months- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getUnderlyingInflationAnnualChanges
public List<ResponseModel> getUnderlyingInflationAnnualChanges()
Fetch all underlying inflation annual changes data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getUnderlyingInflationAnnualChanges(Collection)
-
getUnderlyingInflationAnnualChanges
public List<ResponseModel> getUnderlyingInflationAnnualChanges(Collection<String> months)
Fetch all underlying inflation annual changes data which match the input constraints.
- Parameters:
months- 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
-
-