Class SoleProprietorship


  • public class SoleProprietorship
    extends Object
    SoleProprietorship
    • Constructor Detail

      • SoleProprietorship

        public SoleProprietorship()
    • Method Detail

      • 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 -
      • getDateOfIncorporation

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

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

        public String getDoingBusinessAs()
        The registered name, if different from the `name`.
        Returns:
        doingBusinessAs
      • setDoingBusinessAs

        public void setDoingBusinessAs​(String doingBusinessAs)
        The registered name, if different from the `name`.
        Parameters:
        doingBusinessAs -
      • getName

        public String getName()
        The legal name.
        Returns:
        name
      • setName

        public void setName​(String name)
        The legal name.
        Parameters:
        name -
      • 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 -
      • getRegistrationNumber

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

        public void setRegistrationNumber​(String registrationNumber)
        The registration number.
        Parameters:
        registrationNumber -
      • getTaxAbsent

        public Boolean getTaxAbsent()
        The tax information is absent.
        Returns:
        taxAbsent
      • setTaxAbsent

        public void setTaxAbsent​(Boolean taxAbsent)
        The tax information is absent.
        Parameters:
        taxAbsent -
      • getTaxInformation

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

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

        public SoleProprietorship.VatAbsenceReasonEnum getVatAbsenceReason()
        The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Returns:
        vatAbsenceReason
      • setVatAbsenceReason

        public void setVatAbsenceReason​(SoleProprietorship.VatAbsenceReasonEnum vatAbsenceReason)
        The reason for not providing a VAT number. Possible values: **industryExemption**, **belowTaxThreshold**.
        Parameters:
        vatAbsenceReason -
      • getVatNumber

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

        public void setVatNumber​(String vatNumber)
        The VAT number.
        Parameters:
        vatNumber -
      • equals

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

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

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

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