Class FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.balanceofpayments.portfolioinvestment.FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient
-
public class FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient extends AbstractClient
Client which handles financial markets balance of payments portfolio investment data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient()Default constructor.FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getNetFlowsQuarters()Fetch all net flows quarters data.List<ResponseModel>getNetFlowsQuarters(Collection<String> currencies, Collection<String> items, Collection<String> quarters)Fetch all net flows quarters data which match the input constraints.List<ResponseModel>getNetFlowsYears()Fetch all net flows years data.List<ResponseModel>getNetFlowsYears(Collection<String> currencies, Collection<String> items, Collection<Integer> years)Fetch all net flows years data which match the input constraints.List<ResponseModel>getNonResidentHoldingsOfSwedishInterestBearingSecurities()Fetch all non-resident holdings of Swedish interest-bearing securities data.List<ResponseModel>getNonResidentHoldingsOfSwedishInterestBearingSecurities(Collection<String> holdings, Collection<String> sectors, Collection<String> maturities, Collection<String> months)Fetch all non-resident holdings of Swedish interest-bearing securities data which match the input constraints.List<ResponseModel>getNonResidentTradeInSwedishShares()Fetch all non-resident trade in Swedish shares data.List<ResponseModel>getNonResidentTradeInSwedishShares(Collection<String> nonResidentTrades, Collection<String> swedishShares, Collection<String> months)Fetch all non-resident trade in Swedish shares data which match the input constraints.List<ResponseModel>getSwedishPortfolioHoldingsOfForeignSecurities()Fetch all Swedish portfolio holdings of foreign securities data.List<ResponseModel>getSwedishPortfolioHoldingsOfForeignSecurities(Collection<String> countries, Collection<String> securities, Collection<String> halfYears)Fetch all Swedish portfolio holdings of foreign securities 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
-
FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient
public FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient()
Default constructor.
-
FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient
public FinancialMarketsBalanceOfPaymentsPortfolioInvestmentClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getNetFlowsYears
public List<ResponseModel> getNetFlowsYears()
Fetch all net flows years data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNetFlowsYears(Collection, Collection, Collection)
-
getNetFlowsYears
public List<ResponseModel> getNetFlowsYears(Collection<String> currencies, Collection<String> items, Collection<Integer> years)
Fetch all net flows years data which match the input constraints.
- Parameters:
currencies- the currenciesitems- the itemsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getNonResidentTradeInSwedishShares
public List<ResponseModel> getNonResidentTradeInSwedishShares()
Fetch all non-resident trade in Swedish shares data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNonResidentTradeInSwedishShares(Collection, Collection, Collection)
-
getNonResidentTradeInSwedishShares
public List<ResponseModel> getNonResidentTradeInSwedishShares(Collection<String> nonResidentTrades, Collection<String> swedishShares, Collection<String> months)
Fetch all non-resident trade in Swedish shares data which match the input constraints.
- Parameters:
nonResidentTrades- the non-resident tradesswedishShares- the Swedish sharesmonths- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getNonResidentHoldingsOfSwedishInterestBearingSecurities
public List<ResponseModel> getNonResidentHoldingsOfSwedishInterestBearingSecurities()
Fetch all non-resident holdings of Swedish interest-bearing securities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNonResidentHoldingsOfSwedishInterestBearingSecurities(Collection, Collection, Collection, Collection)
-
getNonResidentHoldingsOfSwedishInterestBearingSecurities
public List<ResponseModel> getNonResidentHoldingsOfSwedishInterestBearingSecurities(Collection<String> holdings, Collection<String> sectors, Collection<String> maturities, Collection<String> months)
Fetch all non-resident holdings of Swedish interest-bearing securities data which match the input constraints.
- Parameters:
holdings- the holdingssectors- the sectorsmaturities- the maturitiesmonths- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getNetFlowsQuarters
public List<ResponseModel> getNetFlowsQuarters()
Fetch all net flows quarters data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNetFlowsQuarters(Collection, Collection, Collection)
-
getNetFlowsQuarters
public List<ResponseModel> getNetFlowsQuarters(Collection<String> currencies, Collection<String> items, Collection<String> quarters)
Fetch all net flows quarters data which match the input constraints.
- Parameters:
currencies- the currenciesitems- the itemsquarters- the quarters- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getSwedishPortfolioHoldingsOfForeignSecurities
public List<ResponseModel> getSwedishPortfolioHoldingsOfForeignSecurities()
Fetch all Swedish portfolio holdings of foreign securities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getSwedishPortfolioHoldingsOfForeignSecurities(Collection, Collection, Collection)
-
getSwedishPortfolioHoldingsOfForeignSecurities
public List<ResponseModel> getSwedishPortfolioHoldingsOfForeignSecurities(Collection<String> countries, Collection<String> securities, Collection<String> halfYears)
Fetch all Swedish portfolio holdings of foreign securities data which match the input constraints.
- Parameters:
countries- the countriessecurities- the securitieshalfYears- the half 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
-
-