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)
      • 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)
      • getDoingBusinessAs

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

        public void setDoingBusinessAs​(String doingBusinessAs)
      • getName

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

        public void setName​(String name)
      • getPrincipalPlaceOfBusiness

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

        public void setPrincipalPlaceOfBusiness​(Address principalPlaceOfBusiness)
      • getRegisteredAddress

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

        public void setRegisteredAddress​(Address registeredAddress)
      • getRegistrationNumber

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

        public void setRegistrationNumber​(String registrationNumber)
      • getVatAbsenceReason

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

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

        public void setVatNumber​(String 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