Class FinancialReport


  • public class FinancialReport
    extends Object
    FinancialReport
    • Constructor Detail

      • FinancialReport

        public FinancialReport()
    • Method Detail

      • annualTurnover

        public FinancialReport annualTurnover​(String annualTurnover)
        The annual turnover of the business.
        Parameters:
        annualTurnover - The annual turnover of the business.
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getAnnualTurnover

        public String getAnnualTurnover()
        The annual turnover of the business.
        Returns:
        annualTurnover The annual turnover of the business.
      • setAnnualTurnover

        public void setAnnualTurnover​(String annualTurnover)
        The annual turnover of the business.
        Parameters:
        annualTurnover - The annual turnover of the business.
      • balanceSheetTotal

        public FinancialReport balanceSheetTotal​(String balanceSheetTotal)
        The balance sheet total of the business.
        Parameters:
        balanceSheetTotal - The balance sheet total of the business.
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getBalanceSheetTotal

        public String getBalanceSheetTotal()
        The balance sheet total of the business.
        Returns:
        balanceSheetTotal The balance sheet total of the business.
      • setBalanceSheetTotal

        public void setBalanceSheetTotal​(String balanceSheetTotal)
        The balance sheet total of the business.
        Parameters:
        balanceSheetTotal - The balance sheet total of the business.
      • currencyOfFinancialData

        public FinancialReport currencyOfFinancialData​(String currencyOfFinancialData)
        The currency used for the annual turnover, balance sheet total, and net assets.
        Parameters:
        currencyOfFinancialData - The currency used for the annual turnover, balance sheet total, and net assets.
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getCurrencyOfFinancialData

        public String getCurrencyOfFinancialData()
        The currency used for the annual turnover, balance sheet total, and net assets.
        Returns:
        currencyOfFinancialData The currency used for the annual turnover, balance sheet total, and net assets.
      • setCurrencyOfFinancialData

        public void setCurrencyOfFinancialData​(String currencyOfFinancialData)
        The currency used for the annual turnover, balance sheet total, and net assets.
        Parameters:
        currencyOfFinancialData - The currency used for the annual turnover, balance sheet total, and net assets.
      • dateOfFinancialData

        public FinancialReport dateOfFinancialData​(String dateOfFinancialData)
        The date the financial data were provided, in YYYY-MM-DD format.
        Parameters:
        dateOfFinancialData - The date the financial data were provided, in YYYY-MM-DD format.
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getDateOfFinancialData

        public String getDateOfFinancialData()
        The date the financial data were provided, in YYYY-MM-DD format.
        Returns:
        dateOfFinancialData The date the financial data were provided, in YYYY-MM-DD format.
      • setDateOfFinancialData

        public void setDateOfFinancialData​(String dateOfFinancialData)
        The date the financial data were provided, in YYYY-MM-DD format.
        Parameters:
        dateOfFinancialData - The date the financial data were provided, in YYYY-MM-DD format.
      • employeeCount

        public FinancialReport employeeCount​(String employeeCount)
        The number of employees of the business.
        Parameters:
        employeeCount - The number of employees of the business.
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getEmployeeCount

        public String getEmployeeCount()
        The number of employees of the business.
        Returns:
        employeeCount The number of employees of the business.
      • setEmployeeCount

        public void setEmployeeCount​(String employeeCount)
        The number of employees of the business.
        Parameters:
        employeeCount - The number of employees of the business.
      • netAssets

        public FinancialReport netAssets​(String netAssets)
        The net assets of the business.
        Parameters:
        netAssets - The net assets of the business.
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getNetAssets

        public String getNetAssets()
        The net assets of the business.
        Returns:
        netAssets The net assets of the business.
      • setNetAssets

        public void setNetAssets​(String netAssets)
        The net assets of the business.
        Parameters:
        netAssets - The net assets of the business.
      • equals

        public boolean equals​(Object o)
        Return true if this FinancialReport object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • fromJson

        public static FinancialReport fromJson​(String jsonString)
                                        throws com.fasterxml.jackson.core.JsonProcessingException
        Create an instance of FinancialReport given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of FinancialReport
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException - if the JSON string is invalid with respect to FinancialReport
      • toJson

        public String toJson()
                      throws com.fasterxml.jackson.core.JsonProcessingException
        Convert an instance of FinancialReport to an JSON string
        Returns:
        JSON string
        Throws:
        com.fasterxml.jackson.core.JsonProcessingException