Class PricesAndConsumptionCPIClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.cpi.PricesAndConsumptionCPIClient
-
public class PricesAndConsumptionCPIClient extends AbstractContainerClient
Client which handles prices and consumption Consumer Price Index (CPI) data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionCPIClient()Default constructor.PricesAndConsumptionCPIClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PricesAndConsumptionCPICPIFCTClientcpifct()Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) with fixed interest rate and at constant taxes (CPIF-CT) data.PricesAndConsumptionCPIEconomicIndicatorsClienteconomicIndicators()Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) economic indicators data.URLEndpointgetUrl()Returns the URL endpoint which this client represents.PricesAndConsumptionCPIHICPClienthicp()Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) Harmonized Index of Consumer Prices (HICP) data.PricesAndConsumptionCPIKPIFClientkpif()Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) Underlying Inflation Rate (KPIF) data.PricesAndConsumptionCPIPriceBasicAmountClientpriceBasicAmount()Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) Price Basic Amount data.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractContainerClient
addClient, getClient, setLocale
-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocalizationLocale
-
-
-
-
Constructor Detail
-
PricesAndConsumptionCPIClient
public PricesAndConsumptionCPIClient()
Default constructor. Initializes values and creates sub-clients.
-
PricesAndConsumptionCPIClient
public PricesAndConsumptionCPIClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
cpifct
public PricesAndConsumptionCPICPIFCTClient cpifct()
Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) with fixed interest rate and at constant taxes (CPIF-CT) data.
- Returns:
- a client for prices and consumption Consumer Price Index (CPI) with fixed interest rate and at constant taxes (CPIF-CT) data
-
economicIndicators
public PricesAndConsumptionCPIEconomicIndicatorsClient economicIndicators()
Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) economic indicators data.
- Returns:
- a client for prices and consumption Consumer Price Index (CPI) economic indicators data
-
hicp
public PricesAndConsumptionCPIHICPClient hicp()
Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) Harmonized Index of Consumer Prices (HICP) data.
- Returns:
- a client for prices and consumption Consumer Price Index (CPI) Harmonized Index of Consumer Prices (HICP) data
-
priceBasicAmount
public PricesAndConsumptionCPIPriceBasicAmountClient priceBasicAmount()
Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) Price Basic Amount data.
- Returns:
- a client for prices and consumption Consumer Price Index (CPI) Price Basic Amount data
-
kpif
public PricesAndConsumptionCPIKPIFClient kpif()
Retrieve the client for interacting with prices and consumption Consumer Price Index (CPI) Underlying Inflation Rate (KPIF) data.
- Returns:
- a client for prices and consumption Consumer Price Index (CPI) Underlying Inflation Rate (KPIF) data
-
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
-
-