Class W8BenEFormMinimalRequest


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

      • W8BenEFormMinimalRequest

        public W8BenEFormMinimalRequest()
    • 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 W8BenEFormMinimalRequest
      • fromJson

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

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