Class GetTaxFormResponse


  • public class GetTaxFormResponse
    extends Object
    GetTaxFormResponse
    • Constructor Detail

      • GetTaxFormResponse

        public GetTaxFormResponse()
    • Method Detail

      • getContent

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

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

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

        public void setContentType​(GetTaxFormResponse.ContentTypeEnum contentType)
        The content type of the tax form. Possible values: * **application/pdf**
        Parameters:
        contentType -
      • 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
      • 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