Class W9FormBaseRequest


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

      • W9FormBaseRequest

        public W9FormBaseRequest()
    • Method Detail

      • geteDeliveryConsentedAt

        @Nullable
        public OffsetDateTime geteDeliveryConsentedAt()
        The date when e-delivery was consented.
        Returns:
        eDeliveryConsentedAt
      • seteDeliveryConsentedAt

        public void seteDeliveryConsentedAt​(OffsetDateTime eDeliveryConsentedAt)
      • getSignature

        @Nullable
        public String getSignature()
        The signature of the form.
        Returns:
        signature
      • setSignature

        public void setSignature​(String signature)
      • 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)
      • getEmail

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

        public void setEmail​(String email)
      • 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 W9FormBaseRequest
      • fromJson

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

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