Class FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.balanceofpayments.directinvestments.FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient
-
public class FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient extends AbstractClient
Client which handles financial markets balance of payments direct investments data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient()Default constructor.FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getDirectInvestmentsByCountryQuarters()Fetch all direct investments by country (quarters) data.List<ResponseModel>getDirectInvestmentsByCountryQuarters(Collection<String> countries, Collection<String> quarters)Fetch all direct investments by country (quarters) data which match the input constraints.List<ResponseModel>getDirectInvestmentsByCountryYears()Fetch all direct investments by country (years) data.List<ResponseModel>getDirectInvestmentsByCountryYears(Collection<String> countries, Collection<Integer> years)Fetch all direct investments by country (years) data which match the input constraints.List<ResponseModel>getDirectInvestmentsByEconomicActivityNACE2002()Fetch all direct investments by economic activity (NACE 2002) data.List<ResponseModel>getDirectInvestmentsByEconomicActivityNACE2002(Collection<String> industrialClassifications, Collection<Integer> years)Fetch all direct investments by economic activity (NACE 2002) data which match the input constraints.List<ResponseModel>getDirectInvestmentsByEconomicActivityNACE2007()Fetch all direct investments by economic activity (NACE 2007) data.List<ResponseModel>getDirectInvestmentsByEconomicActivityNACE2007(Collection<String> industrialClassifications, Collection<Integer> years)Fetch all direct investments by economic activity (NACE 2007) data which match the input constraints.List<ResponseModel>getDirectInvestmentsByInvestmentItem()Fetch all direct investments by investment item data.List<ResponseModel>getDirectInvestmentsByInvestmentItem(Collection<String> investments, Collection<String> quarters)Fetch all direct investments by investment item 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
-
FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient
public FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient()
Default constructor.
-
FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient
public FinancialMarketsBalanceOfPaymentsDirectInvestmentsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getDirectInvestmentsByEconomicActivityNACE2007
public List<ResponseModel> getDirectInvestmentsByEconomicActivityNACE2007()
Fetch all direct investments by economic activity (NACE 2007) data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDirectInvestmentsByEconomicActivityNACE2007(Collection, Collection)
-
getDirectInvestmentsByEconomicActivityNACE2007
public List<ResponseModel> getDirectInvestmentsByEconomicActivityNACE2007(Collection<String> industrialClassifications, Collection<Integer> years)
Fetch all direct investments by economic activity (NACE 2007) data which match the input constraints.
- Parameters:
industrialClassifications- the industrial classificationsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDirectInvestmentsByCountryYears
public List<ResponseModel> getDirectInvestmentsByCountryYears()
Fetch all direct investments by country (years) data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDirectInvestmentsByCountryYears(Collection, Collection)
-
getDirectInvestmentsByCountryYears
public List<ResponseModel> getDirectInvestmentsByCountryYears(Collection<String> countries, Collection<Integer> years)
Fetch all direct investments by country (years) data which match the input constraints.
- Parameters:
countries- the countriesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDirectInvestmentsByEconomicActivityNACE2002
public List<ResponseModel> getDirectInvestmentsByEconomicActivityNACE2002()
Fetch all direct investments by economic activity (NACE 2002) data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDirectInvestmentsByEconomicActivityNACE2002(Collection, Collection)
-
getDirectInvestmentsByEconomicActivityNACE2002
public List<ResponseModel> getDirectInvestmentsByEconomicActivityNACE2002(Collection<String> industrialClassifications, Collection<Integer> years)
Fetch all direct investments by economic activity (NACE 2002) data which match the input constraints.
- Parameters:
industrialClassifications- the industrial classificationsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDirectInvestmentsByInvestmentItem
public List<ResponseModel> getDirectInvestmentsByInvestmentItem()
Fetch all direct investments by investment item data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDirectInvestmentsByInvestmentItem(Collection, Collection)
-
getDirectInvestmentsByInvestmentItem
public List<ResponseModel> getDirectInvestmentsByInvestmentItem(Collection<String> investments, Collection<String> quarters)
Fetch all direct investments by investment item data which match the input constraints.
- Parameters:
investments- the investmentsquarters- the quarters- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getDirectInvestmentsByCountryQuarters
public List<ResponseModel> getDirectInvestmentsByCountryQuarters()
Fetch all direct investments by country (quarters) data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getDirectInvestmentsByCountryQuarters(Collection, Collection)
-
getDirectInvestmentsByCountryQuarters
public List<ResponseModel> getDirectInvestmentsByCountryQuarters(Collection<String> countries, Collection<String> quarters)
Fetch all direct investments by country (quarters) data which match the input constraints.
- Parameters:
countries- the countriesquarters- 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
-
-