Class W8BenFormMinimalRequest


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

      • W8BenFormMinimalRequest

        public W8BenFormMinimalRequest()
    • 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)
      • getReferenceNumber

        @Nullable
        public String getReferenceNumber()
        A reference number for the form.
        Returns:
        referenceNumber
      • setReferenceNumber

        public void setReferenceNumber​(String referenceNumber)
      • 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 W8BenFormMinimalRequest
      • fromJson

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

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