Class GetTaxFormRequest


  • public class GetTaxFormRequest
    extends Object
    GetTaxFormRequest
    • Constructor Detail

      • GetTaxFormRequest

        public GetTaxFormRequest()
    • Method Detail

      • getAccountHolderCode

        public String getAccountHolderCode()
        The account holder code you provided when you created the account holder.
        Returns:
        accountHolderCode
      • setAccountHolderCode

        public void setAccountHolderCode​(String accountHolderCode)
      • getFormType

        public String getFormType()
        Type of the requested tax form. For example, 1099-K.
        Returns:
        formType
      • setFormType

        public void setFormType​(String formType)
      • getYear

        public Integer getYear()
        Applicable tax year in the YYYY format.
        Returns:
        year
      • setYear

        public void setYear​(Integer year)
      • equals

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

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

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

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