Package com.github.dannil.scbjavaclient.client.financialmarkets.balanceofpayments.economicindicators
Class FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.financialmarkets.balanceofpayments.economicindicators.FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient
-
public class FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient extends AbstractClient
Client which handles financial markets balance of payments economic indicators data fetching.
- Since:
- 0.4.0
-
-
Constructor Summary
Constructors Constructor Description FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient()Default constructor.FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getBalanceOfPaymentsNet()Fetch all balance of payments net data.List<ResponseModel>getBalanceOfPaymentsNet(Collection<String> indicators, Collection<String> quarters)Fetch all balance of payments net 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
-
FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient
public FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient()
Default constructor.
-
FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient
public FinancialMarketsBalanceOfPaymentsEconomicIndicatorsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getBalanceOfPaymentsNet
public List<ResponseModel> getBalanceOfPaymentsNet()
Fetch all balance of payments net data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getBalanceOfPaymentsNet(Collection, Collection)
-
getBalanceOfPaymentsNet
public List<ResponseModel> getBalanceOfPaymentsNet(Collection<String> indicators, Collection<String> quarters)
Fetch all balance of payments net data which match the input constraints.
- Parameters:
indicators- the indicatorsquarters- 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
-
-