Class TaxIdentifierResponseValue


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class TaxIdentifierResponseValue
    extends Object
    TaxIdentifierResponseValue
    • Constructor Detail

      • TaxIdentifierResponseValue

        public TaxIdentifierResponseValue()
    • Method Detail

      • getIdentifierType

        @Nullable
        public String getIdentifierType()
        Type of the identifier.
        Returns:
        identifierType
      • setIdentifierType

        public void setIdentifierType​(String identifierType)
      • getIdentifier

        @Nullable
        public String getIdentifier()
        The tax identifier of the company.
        Returns:
        identifier
      • setIdentifier

        public void setIdentifier​(String identifier)
      • getExtensions

        @Nullable
        public Object getExtensions()
        Optional field containing additional company-related information such as companyName, companyAddress, blockListed, tradeName, and taxPayerType. It may also include other details specific to the given tax authority. Refer to the GET /tax-identifiers/schema API endpoint for the full response structure for a given country.
        Returns:
        extensions
      • setExtensions

        public void setExtensions​(Object extensions)
      • hashCode

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

        public static void validateJsonElement​(com.google.gson.JsonElement jsonElement)
                                        throws IOException
        Validates the JSON Element and throws an exception if issues found
        Parameters:
        jsonElement - JSON Element
        Throws:
        IOException - if the JSON Element is invalid with respect to TaxIdentifierResponseValue
      • fromJson

        public static TaxIdentifierResponseValue fromJson​(String jsonString)
                                                   throws IOException
        Create an instance of TaxIdentifierResponseValue given an JSON string
        Parameters:
        jsonString - JSON string
        Returns:
        An instance of TaxIdentifierResponseValue
        Throws:
        IOException - if the JSON string is invalid with respect to TaxIdentifierResponseValue
      • toJson

        public String toJson()
        Convert an instance of TaxIdentifierResponseValue to an JSON string
        Returns:
        JSON string