Class UserAgreementResponse


  • public class UserAgreementResponse
    extends Object
    UserAgreementResponse.
    • Constructor Detail

      • UserAgreementResponse

        public UserAgreementResponse()
    • Method Detail

      • getAccountId

        public String getAccountId()
        The external account number (int) or account ID GUID..
        Returns:
        accountId
      • setAccountId

        public void setAccountId​(String accountId)
        setAccountId.
      • getAgreedOn

        public Object getAgreedOn()
        Date that the client last completed the agreement. This property is null if `agreementUrl` is not null and `status` is not `agreed`..
        Returns:
        agreedOn
      • setAgreedOn

        public void setAgreedOn​(Object agreedOn)
        setAgreedOn.
      • getAgreementId

        public String getAgreementId()
        The agreement ID..
        Returns:
        agreementId
      • setAgreementId

        public void setAgreementId​(String agreementId)
        setAgreementId.
      • getAgreementUrl

        public String getAgreementUrl()
        When not null, an agreement is required for user specified by `clientUserId`. When missing the user specified by `clientUserId` has already agreed and does not require a new acceptance. Use this URL to render the agreement in a web page. .
        Returns:
        agreementUrl
      • setAgreementUrl

        public void setAgreementUrl​(String agreementUrl)
        setAgreementUrl.
      • getClickwrapId

        public String getClickwrapId()
        The ID of the clickwrap..
        Returns:
        clickwrapId
      • setClickwrapId

        public void setClickwrapId​(String clickwrapId)
        setClickwrapId.
      • getClientUserId

        public String getClientUserId()
        A unique value that identifies a user.\\nYou can use anything that your system uses\\nto identify unique users, such as\\nemployee IDs, email addresses, and surrogate keys as the value of `clientUserId`.\\n\\nA clickwrap with a specific `clientUserId` will not appear again\\nonce it has been accepted.\\n\".
        Returns:
        clientUserId
      • setClientUserId

        public void setClientUserId​(String clientUserId)
        setClientUserId.
      • consumerDisclosureEnabled

        public UserAgreementResponse consumerDisclosureEnabled​(Boolean consumerDisclosureEnabled)
        consumerDisclosureEnabled.
        Returns:
        UserAgreementResponse
      • isConsumerDisclosureEnabled

        public Boolean isConsumerDisclosureEnabled()
        **True** if consumer disclosure was required by this agreement..
        Returns:
        consumerDisclosureEnabled
      • setConsumerDisclosureEnabled

        public void setConsumerDisclosureEnabled​(Boolean consumerDisclosureEnabled)
        setConsumerDisclosureEnabled.
      • consumerDisclosureHtml

        public UserAgreementResponse consumerDisclosureHtml​(String consumerDisclosureHtml)
        consumerDisclosureHtml.
        Returns:
        UserAgreementResponse
      • getConsumerDisclosureHtml

        public String getConsumerDisclosureHtml()
        The customer-branded HTML with the Electronic Record and Signature Disclosure information.
        Returns:
        consumerDisclosureHtml
      • setConsumerDisclosureHtml

        public void setConsumerDisclosureHtml​(String consumerDisclosureHtml)
        setConsumerDisclosureHtml.
      • getCreatedOn

        public Object getCreatedOn()
        The date when the clickwrap was created. May be null..
        Returns:
        createdOn
      • setCreatedOn

        public void setCreatedOn​(Object createdOn)
        setCreatedOn.
      • getDataFields

        public List<DataField> getDataFields()
        The list of all the data fields available for the clickwrap (custom fields and standard fields)..
        Returns:
        dataFields
      • setDataFields

        public void setDataFields​(List<DataField> dataFields)
        setDataFields.
      • getDeclinedOn

        public Object getDeclinedOn()
        The date when the user declined the most recent required agreement. This property is valid only when `status` is `declined`. Otherwise it is null..
        Returns:
        declinedOn
      • setDeclinedOn

        public void setDeclinedOn​(Object declinedOn)
        setDeclinedOn.
      • putDocumentDataItem

        public UserAgreementResponse putDocumentDataItem​(String key,
                                                         String documentDataItem)
        putDocumentDataItem.
        Returns:
        UserAgreementResponse
      • getDocumentData

        public Map<String,​String> getDocumentData()
        This property specifies the data used to create a clickwrap with [dynamic content][]. [dynamic content]: /docs/click-api/click101/customize-clickwrap-fields/#embed-clickwraps-that-contain-dynamic-content .
        Returns:
        documentData
      • setDocumentData

        public void setDocumentData​(Map<String,​String> documentData)
        setDocumentData.
      • getDocuments

        public List<Document> getDocuments()
        An array of documents..
        Returns:
        documents
      • setDocuments

        public void setDocuments​(List<Document> documents)
        setDocuments.
      • getMetadata

        public String getMetadata()
        A customer-defined string you can use in requests. This string will appear in the corresponding response..
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(String metadata)
        setMetadata.
      • getReturnUrl

        public String getReturnUrl()
        The URL redirected to after the agreement was completed..
        Returns:
        returnUrl
      • setReturnUrl

        public void setReturnUrl​(String returnUrl)
        setReturnUrl.
      • getSettings

        public DisplaySettings getSettings()
        The display settings for this agreement..
        Returns:
        settings
      • setSettings

        public void setSettings​(DisplaySettings settings)
        setSettings.
      • getStatus

        public String getStatus()
        User agreement status. One of: - `created` - `agreed` - `declined`.
        Returns:
        status
      • setStatus

        public void setStatus​(String status)
        setStatus.
      • getStyle

        public Map<String,​String> getStyle()
        This property specifies the custom style provided when the agreement was created by [customizing the template appearance][]. [customizing the template appearance]: /docs/click-api/click101/customize-elastic-template-appearance/ .
        Returns:
        style
      • setStyle

        public void setStyle​(Map<String,​String> style)
        setStyle.
      • getVersion

        public String getVersion()
        The human-readable semver version string..
        Returns:
        version
      • setVersion

        public void setVersion​(String version)
        setVersion.
      • getVersionId

        public String getVersionId()
        The ID of the version..
        Returns:
        versionId
      • setVersionId

        public void setVersionId​(String versionId)
        setVersionId.
      • getVersionNumber

        public Integer getVersionNumber()
        Version of the clickwrap..
        Returns:
        versionNumber
      • setVersionNumber

        public void setVersionNumber​(Integer versionNumber)
        setVersionNumber.
      • equals

        public boolean equals​(Object o)
        Compares objects.
        Overrides:
        equals in class Object
        Returns:
        true or false depending on comparison result.
      • hashCode

        public int hashCode()
        Returns the HashCode.
        Overrides:
        hashCode in class Object
      • toString

        public String toString()
        Converts the given object to string.
        Overrides:
        toString in class Object