Class PublicFinancesAnnualAccountsStatementAccountsCountyClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.publicfinances.annualaccounts.statementaccountscounty.PublicFinancesAnnualAccountsStatementAccountsCountyClient
-
public class PublicFinancesAnnualAccountsStatementAccountsCountyClient extends AbstractClient
Client which handles public finances annual accounts statement accounts county data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description PublicFinancesAnnualAccountsStatementAccountsCountyClient()Default constructor.PublicFinancesAnnualAccountsStatementAccountsCountyClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getContributions()Fetch all contributions data.List<ResponseModel>getContributions(Collection<String> regions, Collection<String> activities, Collection<Integer> years)Fetch all contributions data which match the input constraints.List<ResponseModel>getExpensesAndRevenues()Fetch all expenses and revenues data.List<ResponseModel>getExpensesAndRevenues(Collection<String> regions, Collection<String> activities, Collection<Integer> years)Fetch all expenses and revenues data which match the input constraints.List<ResponseModel>getIncomeAndCosts()Fetch all income and costs data.List<ResponseModel>getIncomeAndCosts(Collection<String> regions, Collection<String> activities, Collection<Integer> years)Fetch all income and costs data which match the input constraints.List<ResponseModel>getInvestments()Fetch all income and costs data.List<ResponseModel>getInvestments(Collection<String> regions, Collection<String> activities, Collection<Integer> years)Fetch all income and costs data which match the input constraints.List<ResponseModel>getNetCosts()Fetch all net costs data.List<ResponseModel>getNetCosts(Collection<String> regions, Collection<String> activities, Collection<Integer> years)Fetch all net costs data which match the input constraints.List<ResponseModel>getPurchasesAndSales()Fetch all purchases and sales data.List<ResponseModel>getPurchasesAndSales(Collection<String> regions, Collection<String> activities, Collection<Integer> years)Fetch all purchases and sales 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
-
PublicFinancesAnnualAccountsStatementAccountsCountyClient
public PublicFinancesAnnualAccountsStatementAccountsCountyClient()
Default constructor.
-
PublicFinancesAnnualAccountsStatementAccountsCountyClient
public PublicFinancesAnnualAccountsStatementAccountsCountyClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getExpensesAndRevenues
public List<ResponseModel> getExpensesAndRevenues()
Fetch all expenses and revenues data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getExpensesAndRevenues(Collection, Collection, Collection)
-
getExpensesAndRevenues
public List<ResponseModel> getExpensesAndRevenues(Collection<String> regions, Collection<String> activities, Collection<Integer> years)
Fetch all expenses and revenues data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getNetCosts
public List<ResponseModel> getNetCosts()
Fetch all net costs data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getNetCosts(Collection, Collection, Collection)
-
getNetCosts
public List<ResponseModel> getNetCosts(Collection<String> regions, Collection<String> activities, Collection<Integer> years)
Fetch all net costs data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getPurchasesAndSales
public List<ResponseModel> getPurchasesAndSales()
Fetch all purchases and sales data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPurchasesAndSales(Collection, Collection, Collection)
-
getPurchasesAndSales
public List<ResponseModel> getPurchasesAndSales(Collection<String> regions, Collection<String> activities, Collection<Integer> years)
Fetch all purchases and sales data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getContributions
public List<ResponseModel> getContributions()
Fetch all contributions data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getContributions(Collection, Collection, Collection)
-
getContributions
public List<ResponseModel> getContributions(Collection<String> regions, Collection<String> activities, Collection<Integer> years)
Fetch all contributions data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getIncomeAndCosts
public List<ResponseModel> getIncomeAndCosts()
Fetch all income and costs data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getIncomeAndCosts(Collection, Collection, Collection)
-
getIncomeAndCosts
public List<ResponseModel> getIncomeAndCosts(Collection<String> regions, Collection<String> activities, Collection<Integer> years)
Fetch all income and costs data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getInvestments
public List<ResponseModel> getInvestments()
Fetch all income and costs data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getInvestments(Collection, Collection, Collection)
-
getInvestments
public List<ResponseModel> getInvestments(Collection<String> regions, Collection<String> activities, Collection<Integer> years)
Fetch all income and costs data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the 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
-
-