Class W9FormMinimalRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.7.0")
    public class W9FormMinimalRequest
    extends Object
    W9FormMinimalRequest
    • Constructor Detail

      • W9FormMinimalRequest

        public W9FormMinimalRequest()
    • Method Detail

      • getEmail

        @Nonnull
        public String getEmail()
        The email address of the individual associated with the form.
        Returns:
        email
      • setEmail

        public void setEmail​(String email)
      • getName

        @Nonnull
        public String getName()
        The name of the individual or entity associated with the form.
        Returns:
        name
      • setName

        public void setName​(String name)
      • getAccountNumber

        @Nullable
        public String getAccountNumber()
        The account number associated with the form.
        Returns:
        accountNumber
      • setAccountNumber

        public void setAccountNumber​(String accountNumber)
      • getCompanyId

        @Nonnull
        public String getCompanyId()
        The ID of the associated company.
        Returns:
        companyId
      • setCompanyId

        public void setCompanyId​(String companyId)
      • getReferenceId

        @Nullable
        public String getReferenceId()
        A reference identifier for the form.
        Returns:
        referenceId
      • setReferenceId

        public void setReferenceId​(String referenceId)
      • 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 W9FormMinimalRequest
      • fromJson

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

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