Class GoodsAndServicesClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.AbstractContainerClient
-
- com.github.dannil.scbjavaclient.client.goodsandservices.GoodsAndServicesClient
-
public class GoodsAndServicesClient extends AbstractContainerClient
Client which handles goods and services data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description GoodsAndServicesClient()Default constructor.GoodsAndServicesClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GoodsAndServicesFoodSalesClientfoodSales()Retrieve the client for interacting with goods and services food sales data.GoodsAndServicesForeignTradeGoodsClientforeignTradeGoods()Retrieve the client for interacting with goods and services foreign trade goods data.URLEndpointgetUrl()Returns the URL endpoint which this client represents.-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractContainerClient
addClient, getClient, setLocale
-
Methods inherited from class com.github.dannil.scbjavaclient.client.AbstractClient
doGetRequest, doPostRequest, getCommunicationProtocol, getLocale, getLocalizationLocale, getResponseModels, getResponseModels, getRootUrl, setCommunicationProtocol, setLocalizationLocale
-
-
-
-
Constructor Detail
-
GoodsAndServicesClient
public GoodsAndServicesClient()
Default constructor. Initializes values and creates sub-clients.
-
GoodsAndServicesClient
public GoodsAndServicesClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
foodSales
public GoodsAndServicesFoodSalesClient foodSales()
Retrieve the client for interacting with goods and services food sales data.
- Returns:
- a client for goods and services food sales data
-
foreignTradeGoods
public GoodsAndServicesForeignTradeGoodsClient foreignTradeGoods()
Retrieve the client for interacting with goods and services foreign trade goods data.
- Returns:
- a client for goods and services foreign trade goods data
-
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
-
-