Interface GetVerificationResponse.Builder

  • Method Details

    • verificationType

      GetVerificationResponse.Builder verificationType(String verificationType)

      The type of verification that was requested and processed.

      Parameters:
      verificationType - The type of verification that was requested and processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verificationType

      GetVerificationResponse.Builder verificationType(VerificationType verificationType)

      The type of verification that was requested and processed.

      Parameters:
      verificationType - The type of verification that was requested and processed.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verificationStatus

      GetVerificationResponse.Builder verificationStatus(String verificationStatus)

      The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired.

      Parameters:
      verificationStatus - The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verificationStatus

      GetVerificationResponse.Builder verificationStatus(VerificationStatus verificationStatus)

      The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired.

      Parameters:
      verificationStatus - The current status of the verification process. Possible values include pending, in-progress, completed, failed, or expired.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • verificationStatusReason

      GetVerificationResponse.Builder verificationStatusReason(String verificationStatusReason)

      Additional information explaining the current verification status, particularly useful when the status indicates a failure or requires additional action.

      Parameters:
      verificationStatusReason - Additional information explaining the current verification status, particularly useful when the status indicates a failure or requires additional action.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verificationResponseDetails

      GetVerificationResponse.Builder verificationResponseDetails(VerificationResponseDetails verificationResponseDetails)

      Detailed response information specific to the type of verification performed, including any verification-specific data or results.

      Parameters:
      verificationResponseDetails - Detailed response information specific to the type of verification performed, including any verification-specific data or results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • verificationResponseDetails

      default GetVerificationResponse.Builder verificationResponseDetails(Consumer<VerificationResponseDetails.Builder> verificationResponseDetails)

      Detailed response information specific to the type of verification performed, including any verification-specific data or results.

      This is a convenience method that creates an instance of the VerificationResponseDetails.Builder avoiding the need to create one manually via VerificationResponseDetails.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to verificationResponseDetails(VerificationResponseDetails).

      Parameters:
      verificationResponseDetails - a consumer that will call methods on VerificationResponseDetails.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • startedAt

      The timestamp when the verification process was initiated.

      Parameters:
      startedAt - The timestamp when the verification process was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • completedAt

      GetVerificationResponse.Builder completedAt(Instant completedAt)

      The timestamp when the verification process was completed. This field is null if the verification is still in progress.

      Parameters:
      completedAt - The timestamp when the verification process was completed. This field is null if the verification is still in progress.
      Returns:
      Returns a reference to this object so that method calls can be chained together.