Class GetTaxFormResponse


  • public class GetTaxFormResponse
    extends Object
    GetTaxFormResponse
    • Constructor Detail

      • GetTaxFormResponse

        public GetTaxFormResponse()
    • Method Detail

      • content

        public GetTaxFormResponse content​(byte[] content)
        The content of the tax form in Base64 format.
        Parameters:
        content - The content of the tax form in Base64 format.
        Returns:
        the current GetTaxFormResponse instance, allowing for method chaining
      • getContent

        public byte[] getContent()
        The content of the tax form in Base64 format.
        Returns:
        content The content of the tax form in Base64 format.
      • setContent

        public void setContent​(byte[] content)
        The content of the tax form in Base64 format.
        Parameters:
        content - The content of the tax form in Base64 format.
      • contentType

        public GetTaxFormResponse contentType​(GetTaxFormResponse.ContentTypeEnum contentType)
        The content type of the tax form. Possible values: * **application/pdf**
        Parameters:
        contentType - The content type of the tax form. Possible values: * **application/pdf**
        Returns:
        the current GetTaxFormResponse instance, allowing for method chaining
      • getContentType

        public GetTaxFormResponse.ContentTypeEnum getContentType()
        The content type of the tax form. Possible values: * **application/pdf**
        Returns:
        contentType The content type of the tax form. Possible values: * **application/pdf**
      • setContentType

        public void setContentType​(GetTaxFormResponse.ContentTypeEnum contentType)
        The content type of the tax form. Possible values: * **application/pdf**
        Parameters:
        contentType - The content type of the tax form. Possible values: * **application/pdf**
      • includeNullValues

        public GetTaxFormResponse includeNullValues​(boolean includeNullValues)
        Configures whether null values are explicitly serialized in the JSON payload. Default is false.
      • isIncludeNullValues

        public boolean isIncludeNullValues()
        Returns whether null values are explicitly serialized in the JSON payload.
      • setIncludeNullValues

        public void setIncludeNullValues​(boolean includeNullValues)
        Sets whether null values should be explicitly serialized in the JSON payload. Default is false.
      • equals

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

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

        public Map<String,​Object> getExplicitNulls()
        Returns a map of properties to be merged into the JSON payload as explicit null values.
      • fromJson

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

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