Package com.github.dannil.scbjavaclient.client.goodsandservices.foreigntradegoods.economicindicators
Class GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.goodsandservices.foreigntradegoods.economicindicators.GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient
-
public class GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient extends AbstractClient
Client which handles goods and services foreign trade goods economic indicators data fetching.
- Since:
- 0.7.0
-
-
Constructor Summary
Constructors Constructor Description GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient()Default constructor.GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getImportsAndExportsOfGoods()Fetch all imports and exports of goods data.List<ResponseModel>getImportsAndExportsOfGoods(Collection<String> economicIndicators, Collection<String> months)Fetch all imports and exports of goods data which match the input constraints.List<ResponseModel>getTrendsInVolumeOfExportsAndImportsOfGoods()Fetch all trends in volume of exports and imports of goods data.List<ResponseModel>getTrendsInVolumeOfExportsAndImportsOfGoods(Collection<String> economicIndicators, Collection<String> quarters)Fetch all trends in volume of exports and imports of goods 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
-
GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient
public GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient()
Default constructor.
-
GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient
public GoodsAndServicesForeignTradeGoodsEconomicIndicatorsClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getImportsAndExportsOfGoods
public List<ResponseModel> getImportsAndExportsOfGoods()
Fetch all imports and exports of goods data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getImportsAndExportsOfGoods(Collection, Collection)
-
getImportsAndExportsOfGoods
public List<ResponseModel> getImportsAndExportsOfGoods(Collection<String> economicIndicators, Collection<String> months)
Fetch all imports and exports of goods data which match the input constraints.
- Parameters:
economicIndicators- the economic indicatorsmonths- the months- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getTrendsInVolumeOfExportsAndImportsOfGoods
public List<ResponseModel> getTrendsInVolumeOfExportsAndImportsOfGoods()
Fetch all trends in volume of exports and imports of goods data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getImportsAndExportsOfGoods(Collection, Collection)
-
getTrendsInVolumeOfExportsAndImportsOfGoods
public List<ResponseModel> getTrendsInVolumeOfExportsAndImportsOfGoods(Collection<String> economicIndicators, Collection<String> quarters)
Fetch all trends in volume of exports and imports of goods data which match the input constraints.
- Parameters:
economicIndicators- the economic 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
-
-