Class Organization


  • public class Organization
    extends Object
    Organization
    • Constructor Detail

      • Organization

        public Organization()
    • Method Detail

      • countryOfGoverningLaw

        public Organization countryOfGoverningLaw​(String countryOfGoverningLaw)
        The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.
        Parameters:
        countryOfGoverningLaw -
        Returns:
        the current Organization instance, allowing for method chaining
      • getCountryOfGoverningLaw

        public String getCountryOfGoverningLaw()
        The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.
        Returns:
        countryOfGoverningLaw
      • setCountryOfGoverningLaw

        public void setCountryOfGoverningLaw​(String countryOfGoverningLaw)
        The two-character [ISO 3166-1 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) country code of the governing country.
        Parameters:
        countryOfGoverningLaw -
      • dateOfIncorporation

        public Organization dateOfIncorporation​(String dateOfIncorporation)
        The date when the organization was incorporated in YYYY-MM-DD format.
        Parameters:
        dateOfIncorporation -
        Returns:
        the current Organization instance, allowing for method chaining
      • 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 -
      • description

        public Organization description​(String description)
        Your description for the organization.
        Parameters:
        description -
        Returns:
        the current Organization instance, allowing for method chaining
      • getDescription

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

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

        public Organization doingBusinessAs​(String doingBusinessAs)
        The organization's trading name, if different from the registered legal name.
        Parameters:
        doingBusinessAs -
        Returns:
        the current Organization instance, allowing for method chaining
      • 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 -
      • email

        public Organization email​(String email)
        The email address of the legal entity.
        Parameters:
        email -
        Returns:
        the current Organization instance, allowing for method chaining
      • 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 -
      • legalName

        public Organization legalName​(String legalName)
        The organization's legal name.
        Parameters:
        legalName -
        Returns:
        the current Organization instance, allowing for method chaining
      • getLegalName

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

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

        public Organization phone​(PhoneNumber phone)
        phone
        Parameters:
        phone -
        Returns:
        the current Organization instance, allowing for method chaining
      • getPhone

        public PhoneNumber getPhone()
        phone
        Returns:
        phone
      • setPhone

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

        public Organization principalPlaceOfBusiness​(Address principalPlaceOfBusiness)
        principalPlaceOfBusiness
        Parameters:
        principalPlaceOfBusiness -
        Returns:
        the current Organization instance, allowing for method chaining
      • getPrincipalPlaceOfBusiness

        public Address getPrincipalPlaceOfBusiness()
        principalPlaceOfBusiness
        Returns:
        principalPlaceOfBusiness
      • setPrincipalPlaceOfBusiness

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

        public Organization registeredAddress​(Address registeredAddress)
        registeredAddress
        Parameters:
        registeredAddress -
        Returns:
        the current Organization instance, allowing for method chaining
      • getRegisteredAddress

        public Address getRegisteredAddress()
        registeredAddress
        Returns:
        registeredAddress
      • setRegisteredAddress

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

        public Organization registrationNumber​(String registrationNumber)
        The organization's registration number.
        Parameters:
        registrationNumber -
        Returns:
        the current Organization instance, allowing for method chaining
      • getRegistrationNumber

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

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

        public Organization stockData​(StockData stockData)
        stockData
        Parameters:
        stockData -
        Returns:
        the current Organization instance, allowing for method chaining
      • getStockData

        public StockData getStockData()
        stockData
        Returns:
        stockData
      • setStockData

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

        public Organization taxInformation​(List<TaxInformation> taxInformation)
        The tax information of the organization.
        Parameters:
        taxInformation -
        Returns:
        the current Organization instance, allowing for method chaining
      • 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 -
      • taxReportingClassification

        public Organization taxReportingClassification​(TaxReportingClassification taxReportingClassification)
        taxReportingClassification
        Parameters:
        taxReportingClassification -
        Returns:
        the current Organization instance, allowing for method chaining
      • getTaxReportingClassification

        public TaxReportingClassification getTaxReportingClassification()
        taxReportingClassification
        Returns:
        taxReportingClassification
      • setTaxReportingClassification

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

        public Organization type​(Organization.TypeEnum type)
        Type of organization. Possible values: **associationIncorporated**, **governmentalOrganization**, **listedPublicCompany**, **nonProfit**, **partnershipIncorporated**, **privateCompany**.
        Parameters:
        type -
        Returns:
        the current Organization instance, allowing for method chaining
      • 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 -
      • vatAbsenceReason

        public Organization vatAbsenceReason​(Organization.VatAbsenceReasonEnum vatAbsenceReason)
        The reason the organization has not provided a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Parameters:
        vatAbsenceReason -
        Returns:
        the current Organization instance, allowing for method chaining
      • 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 -
      • vatNumber

        public Organization vatNumber​(String vatNumber)
        The organization's VAT number.
        Parameters:
        vatNumber -
        Returns:
        the current Organization instance, allowing for method chaining
      • getVatNumber

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

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

        public Organization webData​(WebData webData)
        webData
        Parameters:
        webData -
        Returns:
        the current Organization instance, allowing for method chaining
      • getWebData

        public WebData getWebData()
        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