Class PricesAndConsumptionCCIClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.pricesandconsumption.cci.PricesAndConsumptionCCIClient
-
public class PricesAndConsumptionCCIClient extends AbstractContainerClient
Client which handles prices and consumption construction cost index (CCI) data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description PricesAndConsumptionCCIClient()Default constructor.PricesAndConsumptionCCIClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PricesAndConsumptionCCIFPIExcludingWageClientfpiExcludingWage()Retrieve the client for interacting with prices and consumption construction cost index (CCI) factor price index (FPI) excluding wage data.PricesAndConsumptionCCIFPIIncludingWageClientfpiIncludingWage()Retrieve the client for interacting with prices and consumption construction cost index (CCI) factor price index (FPI) including wage data.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
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
-
PricesAndConsumptionCCIClient
public PricesAndConsumptionCCIClient()
Default constructor. Initializes values and creates sub-clients.
-
PricesAndConsumptionCCIClient
public PricesAndConsumptionCCIClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
fpiExcludingWage
public PricesAndConsumptionCCIFPIExcludingWageClient fpiExcludingWage()
Retrieve the client for interacting with prices and consumption construction cost index (CCI) factor price index (FPI) excluding wage data.
- Returns:
- a client for prices and consumption construction cost index (CCI) factor price index (FPI) excluding wage data
-
fpiIncludingWage
public PricesAndConsumptionCCIFPIIncludingWageClient fpiIncludingWage()
Retrieve the client for interacting with prices and consumption construction cost index (CCI) factor price index (FPI) including wage data.
- Returns:
- a client for prices and consumption construction cost index (CCI) factor price index (FPI) including wage 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
-
-