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 the Base64 binary format.
        Returns:
        content
      • setContent

        public void setContent​(byte[] content)
      • getContentType

        public String getContentType()
        The content type of the tax form.
        Returns:
        contentType
      • setContentType

        public void setContentType​(String contentType)
      • getInvalidFields

        public List<ErrorFieldType> getInvalidFields()
        Contains field validation errors that would prevent requests from being processed.
        Returns:
        invalidFields
      • getPspReference

        public String getPspReference()
        The reference of a request. Can be used to uniquely identify the request.
        Returns:
        pspReference
      • setPspReference

        public void setPspReference​(String pspReference)
      • getResultCode

        public String getResultCode()
        The result code.
        Returns:
        resultCode
      • setResultCode

        public void setResultCode​(String resultCode)
      • 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