Class PublicFinancesAnnualAccountsBalanceSheetCountyClient
- java.lang.Object
-
- com.github.dannil.scbjavaclient.client.AbstractClient
-
- com.github.dannil.scbjavaclient.client.publicfinances.annualaccounts.balancesheetcounty.PublicFinancesAnnualAccountsBalanceSheetCountyClient
-
public class PublicFinancesAnnualAccountsBalanceSheetCountyClient extends AbstractClient
Client which handles public finances annual accounts balance sheet county data fetching.
- Since:
- 0.3.0
-
-
Constructor Summary
Constructors Constructor Description PublicFinancesAnnualAccountsBalanceSheetCountyClient()Default constructor.PublicFinancesAnnualAccountsBalanceSheetCountyClient(Locale locale)Overloaded constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ResponseModel>getBalanceSheet()Fetch all balance sheet data.List<ResponseModel>getBalanceSheet(Collection<String> regions, Collection<String> balanceSheets, Collection<Integer> years)Fetch all balance sheet data which match the input constraints.List<ResponseModel>getContingentLiabilities()Fetch all contingent liabilities data.List<ResponseModel>getContingentLiabilities(Collection<String> regions, Collection<String> contingentLiabilities, Collection<Integer> years)Fetch all contingent liabilities data which match the input constraints.List<ResponseModel>getCosts()Fetch all costs data.List<ResponseModel>getCosts(Collection<String> regions, Collection<String> items, Collection<Integer> years)Fetch all costs data which match the input constraints.List<ResponseModel>getIncomeStatements()Fetch all income statements data.List<ResponseModel>getIncomeStatements(Collection<String> regions, Collection<String> incomeStatements, Collection<Integer> years)Fetch all income statements data which match the input constraints.List<ResponseModel>getRevenue()Fetch all revenue data.List<ResponseModel>getRevenue(Collection<String> regions, Collection<String> items, Collection<Integer> years)Fetch all revenue 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
-
PublicFinancesAnnualAccountsBalanceSheetCountyClient
public PublicFinancesAnnualAccountsBalanceSheetCountyClient()
Default constructor.
-
PublicFinancesAnnualAccountsBalanceSheetCountyClient
public PublicFinancesAnnualAccountsBalanceSheetCountyClient(Locale locale)
Overloaded constructor.
- Parameters:
locale- theLocalefor this client
-
-
Method Detail
-
getContingentLiabilities
public List<ResponseModel> getContingentLiabilities()
Fetch all contingent liabilities data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getContingentLiabilities(Collection, Collection, Collection)
-
getContingentLiabilities
public List<ResponseModel> getContingentLiabilities(Collection<String> regions, Collection<String> contingentLiabilities, Collection<Integer> years)
Fetch all contingent liabilities data which match the input constraints.
- Parameters:
regions- the regionscontingentLiabilities- the contingent liabilitiesyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getRevenue
public List<ResponseModel> getRevenue()
Fetch all revenue data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getRevenue(Collection, Collection, Collection)
-
getRevenue
public List<ResponseModel> getRevenue(Collection<String> regions, Collection<String> items, Collection<Integer> years)
Fetch all revenue data which match the input constraints.
- Parameters:
regions- the regionsitems- the itemsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getCosts
public List<ResponseModel> getCosts()
Fetch all costs data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getCosts(Collection, Collection, Collection)
-
getCosts
public List<ResponseModel> getCosts(Collection<String> regions, Collection<String> items, Collection<Integer> years)
Fetch all costs data which match the input constraints.
- Parameters:
regions- the regionsitems- the itemsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getIncomeStatements
public List<ResponseModel> getIncomeStatements()
Fetch all income statements data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getIncomeStatements(Collection, Collection, Collection)
-
getIncomeStatements
public List<ResponseModel> getIncomeStatements(Collection<String> regions, Collection<String> incomeStatements, Collection<Integer> years)
Fetch all income statements data which match the input constraints.
- Parameters:
regions- the regionsincomeStatements- the income statementsyears- the years- Returns:
- the data wrapped in a list of
ResponseModelobjects
-
getBalanceSheet
public List<ResponseModel> getBalanceSheet()
Fetch all balance sheet data.
- Returns:
- the data wrapped in a list of
ResponseModelobjects - See Also:
getBalanceSheet(Collection, Collection, Collection)
-
getBalanceSheet
public List<ResponseModel> getBalanceSheet(Collection<String> regions, Collection<String> balanceSheets, Collection<Integer> years)
Fetch all balance sheet data which match the input constraints.
- Parameters:
regions- the regionsbalanceSheets- the balance sheetsyears- 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
-
-