Class TaxReportingClassification


  • public class TaxReportingClassification
    extends Object
    TaxReportingClassification
    • Constructor Detail

      • TaxReportingClassification

        public TaxReportingClassification()
    • Method Detail

      • businessType

        public TaxReportingClassification businessType​(TaxReportingClassification.BusinessTypeEnum businessType)
        The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**.
        Parameters:
        businessType -
        Returns:
        the current TaxReportingClassification instance, allowing for method chaining
      • getBusinessType

        public TaxReportingClassification.BusinessTypeEnum getBusinessType()
        The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**.
        Returns:
        businessType
      • setBusinessType

        public void setBusinessType​(TaxReportingClassification.BusinessTypeEnum businessType)
        The organization's business type. Possible values: **other**, **listedPublicCompany**, **subsidiaryOfListedPublicCompany**, **governmentalOrganization**, **internationalOrganization**, **financialInstitution**.
        Parameters:
        businessType -
      • financialInstitutionNumber

        public TaxReportingClassification financialInstitutionNumber​(String financialInstitutionNumber)
        The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**.
        Parameters:
        financialInstitutionNumber -
        Returns:
        the current TaxReportingClassification instance, allowing for method chaining
      • getFinancialInstitutionNumber

        public String getFinancialInstitutionNumber()
        The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**.
        Returns:
        financialInstitutionNumber
      • setFinancialInstitutionNumber

        public void setFinancialInstitutionNumber​(String financialInstitutionNumber)
        The Global Intermediary Identification Number (GIIN) required for FATCA. Only required if the organization is a US financial institution and the `businessType` is **financialInstitution**.
        Parameters:
        financialInstitutionNumber -
      • mainSourceOfIncome

        public TaxReportingClassification mainSourceOfIncome​(TaxReportingClassification.MainSourceOfIncomeEnum mainSourceOfIncome)
        The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**.
        Parameters:
        mainSourceOfIncome -
        Returns:
        the current TaxReportingClassification instance, allowing for method chaining
      • getMainSourceOfIncome

        public TaxReportingClassification.MainSourceOfIncomeEnum getMainSourceOfIncome()
        The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**.
        Returns:
        mainSourceOfIncome
      • setMainSourceOfIncome

        public void setMainSourceOfIncome​(TaxReportingClassification.MainSourceOfIncomeEnum mainSourceOfIncome)
        The organization's main source of income. Only required if `businessType` is **other**. Possible values: **businessOperation**, **realEstateSales**, **investmentInterestOrRoyalty**, **propertyRental**, **other**.
        Parameters:
        mainSourceOfIncome -
      • type

        public TaxReportingClassification type​(TaxReportingClassification.TypeEnum type)
        The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**.
        Parameters:
        type -
        Returns:
        the current TaxReportingClassification instance, allowing for method chaining
      • getType

        public TaxReportingClassification.TypeEnum getType()
        The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**.
        Returns:
        type
      • setType

        public void setType​(TaxReportingClassification.TypeEnum type)
        The tax reporting classification type. Possible values: **nonFinancialNonReportable**, **financialNonReportable**, **nonFinancialActive**, **nonFinancialPassive**.
        Parameters:
        type -
      • equals

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

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

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

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