Class FinancialMarketsEnterprisesClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.enterprises.FinancialMarketsEnterprisesClient
-
public class FinancialMarketsEnterprisesClient extends AbstractClient
Client which handles financial markets enterprises data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsEnterprisesClient()Default constructor.FinancialMarketsEnterprisesClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getBalanceSheet()Fetch all balance sheet data.List<ResponseModel>getBalanceSheet(Collection<String> institutes, Collection<String> items, Collection<Integer> years)Fetch all balance sheet data which match the input constraints.List<ResponseModel>getIncomeStatements()Fetch all income statements data.List<ResponseModel>getIncomeStatements(Collection<String> institutes, Collection<String> items, Collection<Integer> years)Fetch all income statements 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
-
FinancialMarketsEnterprisesClient
public FinancialMarketsEnterprisesClient()
Default constructor.
-
FinancialMarketsEnterprisesClient
public FinancialMarketsEnterprisesClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getIncomeStatements
public List<ResponseModel> getIncomeStatements()
Fetch all income statements data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getIncomeStatements(Collection, Collection, Collection)
-
getIncomeStatements
public List<ResponseModel> getIncomeStatements(Collection<String> institutes, Collection<String> items, Collection<Integer> years)
Fetch all income statements data which match the input constraints.
- Parameters:
institutes- the institutesitems- the itemsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getBalanceSheet
public List<ResponseModel> getBalanceSheet()
Fetch all balance sheet data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getBalanceSheet(Collection, Collection, Collection)
-
getBalanceSheet
public List<ResponseModel> getBalanceSheet(Collection<String> institutes, Collection<String> items, Collection<Integer> years)
Fetch all balance sheet data which match the input constraints.
- Parameters:
institutes- the institutesitems- the itemsyears- 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
-
-