Package com.github.dannil.scbjavaclient.client.businessactivities.investmentsurvey.economicindicators
Class BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.businessactivities.investmentsurvey.economicindicators.BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient
-
public class BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient extends AbstractClient
Client which handles business activities investment survey economic indicators data fetching.
- Since:
- 0.7.0
-
-
Constructor Summary
Constructors Constructor Description BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient()Default constructor.BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getInvestmentSurveyPlansAndOutcomes()Fetch all investment survey, plans and outcomes data.List<ResponseModel>getInvestmentSurveyPlansAndOutcomes(Collection<String> economicIndicators, Collection<Integer> years)Fetch all investment survey, plans and outcomes 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
-
BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient
public BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient()
Default constructor.
-
BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient
public BusinessActivitiesInvestmentSurveyEconomicIndicatorsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getInvestmentSurveyPlansAndOutcomes
public List<ResponseModel> getInvestmentSurveyPlansAndOutcomes()
Fetch all investment survey, plans and outcomes data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getInvestmentSurveyPlansAndOutcomes(Collection, Collection)
-
getInvestmentSurveyPlansAndOutcomes
public List<ResponseModel> getInvestmentSurveyPlansAndOutcomes(Collection<String> economicIndicators, Collection<Integer> years)
Fetch all investment survey, plans and outcomes data which match the input constraints.
- Parameters:
economicIndicators- the economic indicatorsyears- the years- 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
-
-