Class FinancialMarketsSecuritiesClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.securities.FinancialMarketsSecuritiesClient
-
public class FinancialMarketsSecuritiesClient extends AbstractClient
Client which handles financial markets securities data fetching.
- Since:
- 0.2.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsSecuritiesClient()
Default constructor.FinancialMarketsSecuritiesClient(Locale locale)
Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>
getMaturityStructure()
Fetch all maturity structure data.List<ResponseModel>
getMaturityStructure(Collection<Integer> sectors, Collection<String> maturities, Collection<String> currencies, Collection<String> months)
Fetch all maturity structure data which match the input constraints.List<ResponseModel>
getOutstandingAndIssuedAmount()
Fetch all outstanding and issued amount data.List<ResponseModel>
getOutstandingAndIssuedAmount(Collection<Integer> sectors, Collection<String> items, Collection<String> currencies, Collection<String> months)
Fetch all outstanding and issued amount data which match the input constraints.URLEndpoint
getUrl()
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
-
FinancialMarketsSecuritiesClient
public FinancialMarketsSecuritiesClient()
Default constructor.
-
FinancialMarketsSecuritiesClient
public FinancialMarketsSecuritiesClient(Locale locale)
Overloaded constructor.
- Parameters:
locale
- theLocale
for this client
-
-
Method Detail
-
getMaturityStructure
public List<ResponseModel> getMaturityStructure()
Fetch all maturity structure data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getMaturityStructure(Collection, Collection, Collection, Collection)
-
getMaturityStructure
public List<ResponseModel> getMaturityStructure(Collection<Integer> sectors, Collection<String> maturities, Collection<String> currencies, Collection<String> months)
Fetch all maturity structure data which match the input constraints.
- Parameters:
sectors
- the sectors to fetch data formaturities
- the maturities to fetch data forcurrencies
- the currencies to fetch data formonths
- the months to fetch data for- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getOutstandingAndIssuedAmount
public List<ResponseModel> getOutstandingAndIssuedAmount()
Fetch all outstanding and issued amount data.
- Returns:
- the data wrapped in a list of
ResponseModel
objects - See Also:
getOutstandingAndIssuedAmount(Collection, Collection, Collection, Collection)
-
getOutstandingAndIssuedAmount
public List<ResponseModel> getOutstandingAndIssuedAmount(Collection<Integer> sectors, Collection<String> items, Collection<String> currencies, Collection<String> months)
Fetch all outstanding and issued amount data which match the input constraints.
- Parameters:
sectors
- the sectors to fetch data foritems
- the items to fetch data forcurrencies
- the currencies to fetch data formonths
- the months to fetch data for- Returns:
- the data wrapped in a list of
ResponseModel
objects
-
getUrl
public URLEndpoint getUrl()
Description copied from class:AbstractClient
Returns the URL endpoint which this client represents.
- Specified by:
getUrl
in classAbstractClient
- Returns:
- the URL endpoint for this client
-
-