Class TaxIdentifierResponse


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class TaxIdentifierResponse
    extends Object
    Represents the response for a tax identifier validation request.
    • Constructor Detail

      • TaxIdentifierResponse

        public TaxIdentifierResponse()
    • 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)
      • 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 TaxIdentifierResponse
      • fromJson

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

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