Package com.github.dannil.scbjavaclient.client.publicfinances.annualaccounts.statementaccountsmunicipality
Class PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.publicfinances.annualaccounts.statementaccountsmunicipality.PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient
-
public class PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient extends AbstractClient
Client which handles public finances annual accounts statement accounts municipality data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient()Default constructor.PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getCostsAndIncomes()Fetch all costs and incomes data.List<ResponseModel>getCostsAndIncomes(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)Fetch all costs and incomes data which match the input constraints.List<ResponseModel>getCostsOfIndividualAndFamilyCare()Fetch all costs of individual and family care data.List<ResponseModel>getCostsOfIndividualAndFamilyCare(Collection<String> regions, Collection<Integer> cares, Collection<Integer> years)Fetch all costs of individual and family care data which match the input constraints.List<ResponseModel>getGrants()Fetch all grants data.List<ResponseModel>getGrants(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)Fetch all grants data which match the input constraints.List<ResponseModel>getPurchaseOfMainActivities()Fetch all purchase of main activities data.List<ResponseModel>getPurchaseOfMainActivities(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)Fetch all purchase of main activities data which match the input constraints.List<ResponseModel>getSomeIncomes()Fetch all some incomes data.List<ResponseModel>getSomeIncomes(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)Fetch all some incomes 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
-
PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient
public PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient()
Default constructor.
-
PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient
public PublicFinancesAnnualAccountsStatementAccountsMunicipalityClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getCostsAndIncomes
public List<ResponseModel> getCostsAndIncomes()
Fetch all costs and incomes data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getCostsAndIncomes(Collection, Collection, Collection)
-
getCostsAndIncomes
public List<ResponseModel> getCostsAndIncomes(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)
Fetch all costs and incomes data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getPurchaseOfMainActivities
public List<ResponseModel> getPurchaseOfMainActivities()
Fetch all purchase of main activities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getPurchaseOfMainActivities(Collection, Collection, Collection)
-
getPurchaseOfMainActivities
public List<ResponseModel> getPurchaseOfMainActivities(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)
Fetch all purchase of main activities data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getCostsOfIndividualAndFamilyCare
public List<ResponseModel> getCostsOfIndividualAndFamilyCare()
Fetch all costs of individual and family care data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getCostsOfIndividualAndFamilyCare(Collection, Collection, Collection)
-
getCostsOfIndividualAndFamilyCare
public List<ResponseModel> getCostsOfIndividualAndFamilyCare(Collection<String> regions, Collection<Integer> cares, Collection<Integer> years)
Fetch all costs of individual and family care data which match the input constraints.
- Parameters:
regions- the regionscares- the caresyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getGrants
public List<ResponseModel> getGrants()
Fetch all grants data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getGrants(Collection, Collection, Collection)
-
getGrants
public List<ResponseModel> getGrants(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)
Fetch all grants data which match the input constraints.
- Parameters:
regions- the regionsactivities- the activitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getSomeIncomes
public List<ResponseModel> getSomeIncomes()
Fetch all some incomes data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getSomeIncomes(Collection, Collection, Collection)
-
getSomeIncomes
public List<ResponseModel> getSomeIncomes(Collection<String> regions, Collection<Integer> activities, Collection<Integer> years)
Fetch all some incomes 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
-
-