Class Check.Request

  • Enclosing class:
    Check

    public static final class Check.Request
    extends Object
    • Method Detail

      • toJson

        public String toJson()
      • reportNames

        public Check.Request reportNames​(List<String> reportNames)
        An array of report names (strings).
        Parameters:
        reportNames - An array of report names (strings).
        Returns:
        The Check request object.
      • reportNames

        public Check.Request reportNames​(String... reportNames)
        An array of report names (strings).
        Parameters:
        reportNames - An array of report names (strings).
        Returns:
        The Check request object
      • documentIds

        public Check.Request documentIds​(List<String> documentIds)
        An array of document ids (strings).
        Parameters:
        documentIds - An array of document ids (strings).
        Returns:
        The Check request object.
      • documentIds

        public Check.Request documentIds​(String... documentIds)
        An array of document ids (strings).
        Parameters:
        documentIds - An array of document ids (strings).
        Returns:
        The Check request object
      • tags

        public Check.Request tags​(List<String> tags)
        Array of tags being assigned to this check.
        Parameters:
        tags - Array of tags being assigned to this check.
        Returns:
        The Check request object.
      • tags

        public Check.Request tags​(String... tags)
        Array of tags being assigned to this check.
        Parameters:
        tags - Array of tags being assigned to this check.
        Returns:
        The Check request object
      • applicantProvidesData

        public Check.Request applicantProvidesData​(Boolean applicantProvidesData)
        Send an applicant form to applicant to complete to proceed with check. Defaults to false.
        Parameters:
        applicantProvidesData - Send an applicant form to applicant to complete to proceed with check. Defaults to false.
        Returns:
        The Check request object.
      • suppressFormEmails

        public Check.Request suppressFormEmails​(Boolean suppressFormEmails)
        For checks where `applicant_provides_data` is `true`, applicant form will not be automatically sent if `suppress_form_emails` is set to `true`. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false.
        Parameters:
        suppressFormEmails - For checks where `applicant_provides_data` is `true`, applicant form will not be automatically sent if `suppress_form_emails` is set to `true`. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false.
        Returns:
        The Check request object.
      • asynchronous

        public Check.Request asynchronous​(Boolean asynchronous)
        Defaults to `true`. Write-only. If set to `false`, you will only receive a response when all reports in your check have completed.
        Parameters:
        asynchronous - Defaults to `true`. Write-only. If set to `false`, you will only receive a response when all reports in your check have completed.
        Returns:
        The Check request object.
      • applicantId

        public Check.Request applicantId​(String applicantId)
        The ID of the applicant to do the check on.
        Parameters:
        applicantId - The ID of the applicant to do the check on.
        Returns:
        The Check request object.
      • getReportNames

        public String[] getReportNames()
        An array of report names (strings).
        Returns:
        An array of report names (strings).
      • getDocumentIds

        public String[] getDocumentIds()
        An array of document ids (strings).
        Returns:
        An array of document ids (strings).
      • getTags

        public String[] getTags()
        Array of tags being assigned to this check.
        Returns:
        Array of tags being assigned to this check.
      • getApplicantProvidesData

        public Boolean getApplicantProvidesData()
        Send an applicant form to applicant to complete to proceed with check. Defaults to false.
        Returns:
        Send an applicant form to applicant to complete to proceed with check. Defaults to false.
      • getSuppressFormEmails

        public Boolean getSuppressFormEmails()
        For checks where `applicant_provides_data` is `true`, applicant form will not be automatically sent if `suppress_form_emails` is set to `true`. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false.
        Returns:
        For checks where `applicant_provides_data` is `true`, applicant form will not be automatically sent if `suppress_form_emails` is set to `true`. You can manually send the form at any time after the check has been created, using the link found in the form_uri attribute of the check object. Write-only. Defaults to false.
      • getAsynchronous

        public Boolean getAsynchronous()
        Defaults to `true`. Write-only. If set to `false`, you will only receive a response when all reports in your check have completed.
        Returns:
        Defaults to `true`. Write-only. If set to `false`, you will only receive a response when all reports in your check have completed.
      • getApplicantId

        public String getApplicantId()
        The ID of the applicant to do the check on.
        Returns:
        The ID of the applicant to do the check on.