Class Organization


  • public class Organization
    extends Object
    Organization
    • Constructor Detail

      • Organization

        public Organization()
    • Method Detail

      • dateOfIncorporation

        public Organization dateOfIncorporation​(String dateOfIncorporation)
      • getDateOfIncorporation

        public String getDateOfIncorporation()
        The date when the organization was incorporated in YYYY-MM-DD format.
        Returns:
        dateOfIncorporation
      • setDateOfIncorporation

        public void setDateOfIncorporation​(String dateOfIncorporation)
        The date when the organization was incorporated in YYYY-MM-DD format.
        Parameters:
        dateOfIncorporation -
      • getDescription

        public String getDescription()
        Your description for the organization.
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
        Your description for the organization.
        Parameters:
        description -
      • getDoingBusinessAs

        public String getDoingBusinessAs()
        The organization's trading name, if different from the registered legal name.
        Returns:
        doingBusinessAs
      • setDoingBusinessAs

        public void setDoingBusinessAs​(String doingBusinessAs)
        The organization's trading name, if different from the registered legal name.
        Parameters:
        doingBusinessAs -
      • getEmail

        public String getEmail()
        The email address of the legal entity.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
        The email address of the legal entity.
        Parameters:
        email -
      • getLegalName

        public String getLegalName()
        The organization's legal name.
        Returns:
        legalName
      • setLegalName

        public void setLegalName​(String legalName)
        The organization's legal name.
        Parameters:
        legalName -
      • getPhone

        public PhoneNumber getPhone()
        Get phone
        Returns:
        phone
      • setPhone

        public void setPhone​(PhoneNumber phone)
        phone
        Parameters:
        phone -
      • principalPlaceOfBusiness

        public Organization principalPlaceOfBusiness​(Address principalPlaceOfBusiness)
      • getPrincipalPlaceOfBusiness

        public Address getPrincipalPlaceOfBusiness()
        Get principalPlaceOfBusiness
        Returns:
        principalPlaceOfBusiness
      • setPrincipalPlaceOfBusiness

        public void setPrincipalPlaceOfBusiness​(Address principalPlaceOfBusiness)
        principalPlaceOfBusiness
        Parameters:
        principalPlaceOfBusiness -
      • getRegisteredAddress

        public Address getRegisteredAddress()
        Get registeredAddress
        Returns:
        registeredAddress
      • setRegisteredAddress

        public void setRegisteredAddress​(Address registeredAddress)
        registeredAddress
        Parameters:
        registeredAddress -
      • registrationNumber

        public Organization registrationNumber​(String registrationNumber)
      • getRegistrationNumber

        public String getRegistrationNumber()
        The organization's registration number.
        Returns:
        registrationNumber
      • setRegistrationNumber

        public void setRegistrationNumber​(String registrationNumber)
        The organization's registration number.
        Parameters:
        registrationNumber -
      • getStockData

        public StockData getStockData()
        Get stockData
        Returns:
        stockData
      • setStockData

        public void setStockData​(StockData stockData)
        stockData
        Parameters:
        stockData -
      • getTaxInformation

        public List<TaxInformation> getTaxInformation()
        The tax information of the organization.
        Returns:
        taxInformation
      • setTaxInformation

        public void setTaxInformation​(List<TaxInformation> taxInformation)
        The tax information of the organization.
        Parameters:
        taxInformation -
      • getTaxReportingClassification

        public TaxReportingClassification getTaxReportingClassification()
        Get taxReportingClassification
        Returns:
        taxReportingClassification
      • setTaxReportingClassification

        public void setTaxReportingClassification​(TaxReportingClassification taxReportingClassification)
        taxReportingClassification
        Parameters:
        taxReportingClassification -
      • getType

        public Organization.TypeEnum getType()
        Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.
        Returns:
        type
      • setType

        public void setType​(Organization.TypeEnum type)
        Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.
        Parameters:
        type -
      • getVatAbsenceReason

        public Organization.VatAbsenceReasonEnum getVatAbsenceReason()
        The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Returns:
        vatAbsenceReason
      • setVatAbsenceReason

        public void setVatAbsenceReason​(Organization.VatAbsenceReasonEnum vatAbsenceReason)
        The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Parameters:
        vatAbsenceReason -
      • getVatNumber

        public String getVatNumber()
        The organization's VAT number.
        Returns:
        vatNumber
      • setVatNumber

        public void setVatNumber​(String vatNumber)
        The organization's VAT number.
        Parameters:
        vatNumber -
      • getWebData

        public WebData getWebData()
        Get webData
        Returns:
        webData
      • setWebData

        public void setWebData​(WebData webData)
        webData
        Parameters:
        webData -
      • equals

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

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

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

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