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 -
        Returns:
        the current FinancialReport instance, allowing for method chaining
      • getAnnualTurnover

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

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

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

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

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

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

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

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

        public FinancialReport dateOfFinancialData​(String dateOfFinancialData)
        The date the financial data were provided, in YYYY-MM-DD format.
        Parameters:
        dateOfFinancialData -
        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
      • setDateOfFinancialData

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

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

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

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

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

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

        public void setNetAssets​(String netAssets)
        The net assets of the business.
        Parameters:
        netAssets -
      • 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