Class TaxIdentifierSchemaByCountry200Response


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

      • TaxIdentifierSchemaByCountry200Response

        public TaxIdentifierSchemaByCountry200Response()
    • Method Detail

      • getCountryCode

        @Nonnull
        public String getCountryCode()
        The two-letter ISO-3166 country code of the tax identifier.
        Returns:
        countryCode
      • setCountryCode

        public void setCountryCode​(String countryCode)
      • getSchema

        @Nonnull
        public Object getSchema()
        The JSON Schema definition, following Draft-07 specification, used to validate tax identifier data.
        Returns:
        schema
      • setSchema

        public void setSchema​(Object schema)
      • 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 TaxIdentifierSchemaByCountry200Response
      • fromJson

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

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